Hi,
I am fairly new to workflows and am still learning technically but essentially we want to create a workflow in which is triggered when an access request provisioning failure occurs. I am using the following trigger “Provisioning Complete” with the following filter $.accountRequests[?(@.provisioningResult == “FAIL”)] Although when testing this trigger and replacing the JSON input of provisioningResult with SUCCESS, it still manages to trigger the workflow for some reason?
Below is some of the JSON input
“accountRequests”: [
{
“source”: {
“id”: “4e4d982dddff4267ab12f0f1e72b5a6d”,
“name”: “Corporate Active Directory”,
“type”: “SOURCE”
},
“accountId”: “CN=Rob.Robertson,ou=csm,ou=sales,dc=helpco,dc=com”,
“accountOperation”: “Modify”,
“provisioningResult”: “SUCCESS”,
I have also read another post in which the trigger filter $.accountRequests[?(!(@.provisioningResult == “SUCCESS” || @.provisioningResult==“committed”))] was used, but that still always triggers the workflow