Skip to main content

On Run

Last updated 30/03/2026

Overview

The On Run event is a client-side event that executes when the user clicks the Run button for a process or mail merge. It executes immediately before the server-side Do Run event executes, allowing the application to perform last-minute checks, validations, or UI updates before the process executes.

How it Works

When the Run button is clicked:

  1. The On Run event executes on the client.
  2. Any associated logic executes.
  3. If the event completes successfully, Five proceeds to execute the Do Run event if there is one.

Use Cases

  • Prompting a user for confirmation before the process executes
  • Preparing or adjusting data prior to submission so the process executes correctly