Provisioning complete trigger not filtering out

Hi Team,

My provisioning trigger filter is not filtering

Here is the filter:

$.accountRequests[?(@.accountOperation == "Create" && @.provisioningResult == "committed" && (@.provisioningTarget == "source 1" || @.provisioningTarget == "source 2"))]

My input to test the work flow is:

{
  "trackingNumber": "4b4d982dddff4267ab12f0f1e72b5a6d",
  "action": "IdentityRefresh",
  "requester": {
    "id": "d25d3cf03f2d44faacb16346e15",
    "name": "Adam Admin",
    "type": "IDENTITY"
  },
  "recipient": {
    "id": "d25d3cf03f2d44faacbe66e15",
    "name": "Ed Engineer",
    "type": "IDENTITY"
  },
  "errors": [
    "General Error",
    "Connector AD Failed"
  ],
  "warnings": [
    "Notification Skipped due to invalid email"
  ],
  "sources": "xyz",
  "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": "committed’",
      "provisioningTarget": "Oracle",
      "ticketId": "72619262",
      "attributeRequests": [
        {
          "operation": "Add",
          "attributeName": "memberOf",
          "attributeValue": "CN=sales,DC=helpco,DC=com"
        }
      ]
    }
  ]
}

I am assuming that when I give this input the workflow should not move further.
But it looks like it is evaluating the steps further in the flow as well.

What am I missing?

Hi @vbdm - Most likely it is the Workflow test bypassing the filter and triggering it as part of the test. Trigger looks correct and should work as expected.

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