Configuring Pre-Event Handlers
A Pre-Event Handler checks a selected action before it completes. It can call a URL with event data or evaluate a response query and show a failure message.
In this article you will learn how to configure a Pre-Event Handler
Add a Pre-Event Handler
- Open
Admin >> Workflowand clickAddin Pre-Event Handlers. - Choose the
Actionto check and enter aDescription. - If the handler should run only for certain records, enter a
Filter querythat returns one boolean field namedvalue. - For a URL-based handler, leave
Pre event handler query typeclear and enter itsUrl. - For a query handler, select
Pre event handler query type, enter aResponse query, and write theMessageshown when the query condition fails. - Set
Activeand clickSave.

Verify the behavior
Test the selected action with a safe record that should pass and one that should fail. A URL-based handler sends the action data to the configured endpoint. A query handler uses its response query to decide whether to return success or the configured message.
To change a handler, select it in the Pre-Event Handlers list. Use the active control to disable it when necessary. Integration-managed system handlers show an informational message and cannot be edited in this dialog.