Flexible and reusable data model in Pega
Hello Pega Community,
We would like to have a very flexible and reusable data model in Pega.
Request - This entity captures requests
RequestType - This entity captures different request types
Attribute - This entity captures attributes that will be used by requests of different request types
AttributeValue - This entity captures values assigned to specific attributes
RequestTypeAttributeValue - This entity captures which attributes with pre-configured values can used for a specific request type
RequestAttributeValue - This entity captures association of attributes with pre-configured values to requests
There will be other entities such as Service or Party and these will reuse the attribute from the Attribute entity.
When a user is populating a request of a specific type, he should be able to see which attributes and values are available for this request. Then a user will then select the required values and submit the request. The attributes with values for a submitted request will be captured in RequestAttributeValue entity.
Hello Pega Community,
We would like to have a very flexible and reusable data model in Pega.
Request - This entity captures requests
RequestType - This entity captures different request types
Attribute - This entity captures attributes that will be used by requests of different request types
AttributeValue - This entity captures values assigned to specific attributes
RequestTypeAttributeValue - This entity captures which attributes with pre-configured values can used for a specific request type
RequestAttributeValue - This entity captures association of attributes with pre-configured values to requests
There will be other entities such as Service or Party and these will reuse the attribute from the Attribute entity.
When a user is populating a request of a specific type, he should be able to see which attributes and values are available for this request. Then a user will then select the required values and submit the request. The attributes with values for a submitted request will be captured in RequestAttributeValue entity.
Do you see any issues with implementing something like this in Pega? To do this at the moment I'm consider using Declare Expressions (http://myknowpega.com/2017/05/17/declare-expressions/) or an approach explained here - https://community1.pega.com/community/product-support/question/need-set-value-property-another-propertys-value
Thanks in advance.