Skip to main content
Action execution logs show the exact code and context used during an ION Action run, along with the validation message, the actions that ran, and the target record. Use them to confirm correct behavior and troubleshoot failures while developing an action. Logs are scoped to one event and target combination during a change: when several actions share the same event and target, their execution is grouped into a single log.
Execution logs are kept for 30 days. After that, they are permanently deleted.

Open the logs

You can reach execution logs two ways:
  • From the Actions page: select View Execution Logs in the header to open a table of all execution logs.
  • From a single action: open the action and select the Executions tab, next to Configuration, to see that action’s metrics and its logs only.

Table actions

The Actions column on each row offers View Execution, Copy Link, Download Code, and Quick View.
Actions column menu showing View Execution, Copy Link, Download Code, and Quick View.

The Actions column menu on an execution log row.

Download code and debug locally

Use Download Code to save the executed code as a Python file. To download several at once, select multiple rows and use the action bar at the bottom to get a Zip with one Python file per log.
Selected execution log rows with the bottom action bar to download a Zip of Python files.

Selected execution log rows with the action bar for downloading a Zip of Python files.

With Python 3 installed, run python3 name_of_log_file.py in your terminal to reproduce the action’s exact output. Edit the file and run it again until you get the result you want, then move your changes back into the action.

Quick view

Quick View opens a dialog with the executed code, the timestamp, and high-level metadata.
Quick View dialog showing an execution's code, timestamp, and metadata.

The Quick View dialog with an execution's code, timestamp, and metadata.

The execution log page

Open a log by selecting its timestamp or View Execution. The page shows all metadata along with the code and context that ran.
Execution log page showing metadata, the executed code, and the context.

An execution log page with its metadata, executed code, and context.

Select Show Execution Context to expand the context as formatted JSON.
Execution log page with the execution context expanded as formatted JSON.

An execution log page with the execution context expanded as formatted JSON.

Log fields

Each log contains the code, context, and metadata from the run: