Workflow Trigger Filter

Hi Experts,

I’m trying to set the filter on the campaign generated trigger, Below is the filter I’m using, But actually its not working and the workflow is getting executed for all the campaign.

I tried both the triggers given below, but its not working :

$[?($.campaign.name == "Manager Access Campaign")]
$[?($.trigger.campaign.name == "Manager Access Campaign")]
{
  "campaign": {
    "id": "2c91808576f886190176f88cac5a0010",
    "name": "Manager Access Campaign ID",
    "description": "Audit access for all employees.",
    "created": "2021-02-16T03:04:45.815Z",
    "modified": null,
    "deadline": null,
    "type": "MANAGER",
    "campaignOwner": {
      "id": "37f080867702c1910177031320c40n27",
      "displayName": "William Wilson",
      "email": "[email protected]"
    },
    "status": "STAGED"
  }
}

Hi @chandramohans27,

Can you try and validate your filter against this API.

Thanks

2 Likes

Thanks @ashutosh08 It worked.

1 Like

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