I am trying to implement a workflow where the trigger used is provisioning completed. The use case is if the operation if Add then do something else if operation is Remove then do something. To configure this I have used compare strings operator and updated the Value 1 and Value 2 as mentioned in the image. Irrespective of the operation in the attributeRequest, the workflow is going with the false condition. Like when I try to request an AD group, the operation is Add but still it flowing through the false condition. Can someone pls help me what’s the problem here
I tried removing the quotes, no luck. But when tried to get the first element from the array, it is working fine. $.trigger.accountRequests[0].attributeRequests[0].operation . The catch here is Incase the user requests multiple accounts, then this filter wont help me
Can you try passing in the accountRequests array as an input to a loop, and then within each object try object operation comparison? My guess is the comparison is failing because of the whole array thing being compared with a string. Also lose the quotes on “add” in your screenshot.