Event Handler Condition - Advanced > "Conditionally"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2023 08:16 AM
Does anyone know what the "Event handler condition" should accept as a condition? There is no documentation I can find on this, all of the docs for event handling stop short of explaining this.
What I am looking for is something like this
Thanks, Jim

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 06:36 AM
Hi Jim,
That field is expecting a formula, which you can find a list of here: https://docs.servicenow.com/bundle/sandiego-application-development/page/administer/ui-builder/task/...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 11:42 AM
Hi Brad, first off love your YouTube videos. You've helped me more than you know!
So in my example above where I am looking for: @payload.fieldName = 'myFieldName'
How would that translate to the formula.
[@payload.fieldName][ALL_EQ][myFieldName] ???
I am assuming it would be the "All Equal" formula but I am not clear on the syntax. Going to play around with this a bit but any feedback would be appreciated.
Thanks Again,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2023 11:46 AM
I actually got this to work using "IF((@payload.fieldName == "myFieldName"), true, false)" in the Event Handler Condition box. Basically if the condition was met it executed the event handler.
Brad thanks again for pointing me in the right direction.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2023 12:42 AM
Thanks Jim for your quick answer.