The JADE 2022 release meets tomorrow’s business demands.
If Conditions could have access to a reference, so we could create a condition on a particular reference having an id of 'XYZ' or if the reference = object.
At the moment we have to make an Attribute which we set when the reference is set, which we write the condition over.
If the reference is null then the condition would naturally be false.
Currently conditions can only evaluate attributes.
return aColour = "Red"; (assuming aColour is an Attribute of type String)
What we would like is
return myRelatedObject.aColour = "Red";
or
return myRelatedObject = '1234.1'.asObject.Colour;
Obvioulsy if myRelatedObject was null it would return false so the condition wouldn't be meet.
I know that it is not good practice to use hard coded Oids, so am not too worried about that example, but just put it there to demonstrate the idea.
Hi Julian, We have been reviewing your suggestion and we are struggling to get a handle on the feature. Could you please give us a detailed use case that we could work with. Thanks John R.