Dynamic constraint list integrity violation error

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Dynamic constraint list integrity violation error

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
Highlighted
Master

Re: Dynamic constraint list integrity violation error

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.

Highlighted
Member II

Re: Dynamic constraint list integrity violation error

Highlighted
Master

Re: Dynamic constraint list integrity violation error

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.

Highlighted
Member II

Re: Dynamic constraint list integrity violation error

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.

Highlighted
Master

Re: Dynamic constraint list integrity violation error

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.

Highlighted
Advanced II

Re: Dynamic constraint list integrity violation error