Workflow not getting triggered

Hello, I have created a workflow to send email to users once access request completed for Target source using provisioning completed trigger with condition below

$.accountRequests[?(@.accountOperation == “Create” && @.provisioningResult ==“committed” && (@.provisioningTarget ==“Target Name”))]

But WF is not getting triggered.

Hi Sandhya, try to use the below trigger condition

$.accountRequests[?(@.provisioningResult == “committed” && @.provisioningTarget == “Target Name” && @.accountOperation==“Create”)]

Hello Sandhya, have you tried using https://jsonpath.com/. If yes, were you able to get a result from the json path? verifying your trigger here would help you figure out if your filter is correct.

No, its not working with above condition

ok, let me try and come back

I tested via ‘Test Workflow’ and it works…WF doesn’t work after enabling.

can you replace with this and try again by enabling the workflow

$.accountRequests[?(@.accountOperation == 'Create' && (@.provisioningResult =='committed') && (@.provisioningTarget =='Target Name'))]

It worked with this query but with Single quote.

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