We are trying to create Workflows to send an email to the user when a new account is created by IdentityNow for him in a source, so that we can send him the details to access the system.
I have created for this a workflow with Provisioning Completed trigger and the following filter :
‘$[?($.accountRequests[0].source.name == “Source Name” && $.accountRequests[0].accountOperation == “Create” && $.accountRequests[0].provisioningResult == “SUCCESS” )]’
But we are never entering the workflow, I cannot understand why.
Any idea ?
Have you checked your JSON input from the Workflow? It’s possible that the trigger returns more than one account requests and maybe the [0]th one isn’t the Create operation on the source that you are comparing to.
If you remove this filter, are you able to execute the workflow?
I am creating a similar workflow, and it is not trigger for me either when the account is being created. I also changed fixed the formatting it still isn’t working.