Identity Attributes Changed

How can we use Identity Attributes Changed trigger in the workflow as we use in IIQ? The trigger should only work when the value is getting changed in one direction not the reverse.

Example:
The trigger should only work when the lifecycle attribute value changes from “active” to “inactive”. But, should not work when the lifecycle attribute value changes from “inactive” to “active”.

Welcome to the developer community Ashish,

Per the documentation

“Identity Attribute Changed events occur when any attributes aggegrated from an authoritative source differ from the current attributes for an identity during an identity refresh.”

If you have specific requirements around what events you want to see, you can build a filter expression that tells the trigger to only send you events that match the filter. In your example, if you only want to receive events when the lifecycle attribute value changes from “active” to “inactive”, you would apply the following filter to your trigger.

$.changes[?(@.attribute == "cloudLifecycleState" && @.oldValue == "active" && @.newValue == "inactive")]

A post was split to a new topic: Workflows: Compare runtime value with attribute in JSONpath expression