A test run lets you simulate an action type in Ontology Manager before end users can apply it. When you submit a test run, Foundry evaluates the action against the parameter values you provide and returns the edits the action would make, along with a detailed execution breakdown.
The edits produced by a test run are not applied to your Ontology. A test run is a safe way to view the edits an action would make and how it would execute, without changing any data.
Test runs are available from the Test run tab of the action form preview in the action type editor.
The results of the test run appear in the action form preview once the run completes.
A test run evaluates the action type on your current Ontology branch and executes with your permissions, enforcing the same object security and submission criteria as a regular action submission. You can run a test if you are able to view the action type configuration in Ontology Manager.
Test runs are unavailable while an action type has unsaved edits. Save your changes before running a test so that the test evaluates the saved configuration.
A completed test run presents its results across two tabs.
The Proposed changes tab lists the edits the action would make to the Ontology, including created, modified, and deleted objects and links. Property changes are shown as a comparison between the current and proposed values. If the action would not produce any edits, the tab displays No proposed changes.
The Details tab explains how the action was evaluated and what would happen beyond the direct edits:
If the action fails, the Details tab separates errors into two categories:
A test run only performs the work needed to determine the action's result. Side effects that would take effect after the action is applied are skipped. When your action type contains any of the following, the action form preview notifies you that they will be skipped:
To produce an accurate result, a test run executes the functions and calls that the action needs to reach its outcome. This includes functions used in the action's rules, functions that generate a notification's body or recipients, functions that generate a webhook payload, writeback webhooks, and functions that access external resources. Only the calls required to determine the action's result are made.
Because external calls are executed, they can affect external systems. When your action type includes any of them, Foundry lists the execution sources and prompts you to Confirm the external call before the test run proceeds. The calls execute only after you acknowledge them.