Need help on Accessing attributes from json

Hi,

can someone help me how to access the attributes in Json in workflows, as part of loop iterator. as I am passing trigger changes to the loop context as input and trying to access the changes inside the loop. here are the cases that I am facing issue.

  1. when there is change on one attribute on identity profile - in the trigger step, changes are recorded as String(only specific attribute changes are passed)
  2. when there is change in multiple attributes - in the trigger step, changes are recorded as List(changes for all attributes).

So , in the loop iterator before passing input to the context, how can we evaluate whether trigger changes are list or String and pass only required specific attribute changes to the context as input.

If possible pls help me with the json expression to do that.

any help will be appreciated.

Thanks
Prashanth

Hi Prashanth,

You can try : $.trigger.changes.length() to check whether one attribute is changed or a list of attributes.

Something like below will help your requirement:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.