cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic constraint list integrity violation error

abhay1980
Champ in-the-making
Champ in-the-making

We are using dynamic constraint list with the id and name combination. After packet creation if any name change with respctive id and system trying to update existing packet. integrity violation error is coming. Is there any way to differentiate label and value in list

6 REPLIES 6

afaust
Legendary Innovator
Legendary Innovator

Please first provide the name (and ideally link to) the addon you are using for the dynamic constraint list functionality. Since this is not a standard functionality of Alfresco, it is provided by some addon and in order to respond to the question we need to know which one, as they may have different implementations.

abhay1980
Champ in-the-making
Champ in-the-making

afaust
Legendary Innovator
Legendary Innovator

That type of constraint is not a "dynamic" constraint list. It is just a simple, predefined constraint list. And yes, it differentiates between label and value - the label is maintained via localisation of the model. You can see an example in the BPM Model localisation files.

abhay1980
Champ in-the-making
Champ in-the-making

Thank You Axel. This is very helpful. Our dropdown values(ID -Name ) is changing frequently. Could you please suggest some good dynamic constraint list functionality.

afaust
Legendary Innovator
Legendary Innovator

So far I haven't seen "good" functionalities yet. A quick search via Google returns various results, and even a meta list of 5 addons.

With frequently changing drop down values you should be really careful about setting this up as a "constraint". If your list e.g. only includes the "currently selectable" values for UI convenience, then this may result in existing data becoming invalid and causing validation issues if old entries need to be touched again, as their old value may no longer be contained in the list.

douglascrp
World-Class Innovator
World-Class Innovator