JADE Environment Development Ideas

What's new in the upcoming JADE release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED SECURITY. SMOOTHER INTEGRATION

The JADE 2022 release meets tomorrow’s business demands.


Start your update to JADE's latest release

Conditions to be able to analyse references

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.

  • Julian Meates
  • Feb 11 2020
  • Needs review
  • Attach files
  • Julian Meates commented
    August 09, 2022 21:37

    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.


  • Admin
    John Richards commented
    August 09, 2022 21:26

    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.