This feature was named "Test mode" until June 2023.
The Execution panel allows you to test a pipeline or capsule in the test environment while designing the flow. It uses test values from Globals, Accounts, Relationship, and Multi-Instance services, enabling you to validate the implementation logic and debug the flow in real-time.
You can access the Execution panel from the lower-left corner of the Canvas or by using the Cmd (CTRL) + D shortcut. The panel is divided into three tabs:
Test: Input test data and run the execution.
Messages: Review the results of each connector’s execution individually.
Logs: View informational, error, and warning logs related to the execution.
Test
The Test tab allows you to input data, execute a test, and review the results.
Parameters column (only for capsules)
The Parameters column appears when running an execution in a capsule. Here, you should input the parameters and account values based on the capsule's configuration. This simulates a real execution, providing the same workflow that future users will experience.
Payload column
The Payload column is where you enter input data for the test. Once the data is entered, you can:
Select a specific instance
When a pipeline is configured as multi-instance, the Multi-instance dropdown is displayed. You must choose the instance for the test. For more details, see the Multi-Instance documentation.
Save the payload
You can save the entered payload for future use in the pipeline you are building:
Click Save as Payload to save it. Payloads are saved per pipeline, so they can’t be accessed across different pipelines.
Once saved, you can access your payloads by clicking Payloads, where you can also select, delete or save additional payloads.
Payloads can’t be edited after saving. If you make changes, you will need to save it as a new payload.
Format the JSON
For readability, use the magic wand icon in the upper-right corner of the Payload column to automatically format the JSON.
Output column
Once the test is executed, the results are shown in the Output column. You can:
Download or copy the output
At the top-right corner, there are buttons to:
Download the JSON output as a file.
Copy the output to your clipboard.
Search for JSONPath
At the bottom of the Output column, you can apply a JSONPath expression to filter specific elements from the JSON output.
Messages
The Messages tab shows the execution result of each connector in the pipeline. Each connector receives the payload from the previous connector, processes it based on its function, and generates a new payload in response.
List of messages
The left column of the Messages tab displays the first 5,000 messages. This list includes:
Name: The message name, which corresponds to the Step Name of the connector.
Time: The execution time of the connector in milliseconds.
To find a specific message, use the Search for messages field below the list. You can search by the full or partial message name, or by a connector parameter.
Message preview
When you select a message, its preview appears in the right column. In this preview, you can:
Download or copy the message preview
At the top-right corner, there are buttons to:
Download the JSON of the message preview as a file.
Copy the message preview to your clipboard.
Search for JSONPath
At the bottom of the message preview, you can apply a JSONPath expression to filter specific elements from the JSON message.
Logs
The Logs tab contains information about the event logs that occur during the execution of a pipeline in the Execution panel.
List of logs
The log list displays the following details:
Log type: The classification of the log, indicated by an icon. The available types are:
Info: Informational logs.
Error: Logs that capture errors during execution.
Warning: Logs that indicate warnings.
Timestamp: The date and time the step was executed in the pipeline.
Log message: The message in each log.
In this tab, you can:
Filter logs by type.
Copy the message from any log.
Search for specific logs by entering part or all of the log message.
Export and import
The Execution panel allows you to export or import an execution.
Export
To download a file with the pipeline configuration and execution data, click Export execution. Ensure that all execution data is fully loaded on the screen before exporting to avoid missing information.
The exported file contains the following data:
pipelineId: The ID of the pipeline.
pipelineName: The name of the pipeline.
currentFlowSpec: The pipeline flow data from Canvas at the time of export, including all connectors and their configurations.
executedFlowSpec: The pipeline flow data as it was at the time of execution, including all connectors and their configurations.
realm: The realm of the pipeline.
execution: The execution data, which includes Payload, Output, Messages, and Logs.
If the pipeline is not executed before exporting, the file will only include pipeline-related information, such as the ID, name, currentFlowSpec, and executedFlowSpec.
Import
To upload a file from your computer containing pipeline configuration and execution data, click Import execution.
Once imported, the execution data will appear in the Execution panel. However, the currentFlowSpec and executedFlowSpec will not be displayed in Canvas.
Additionally, you can only run the execution of an imported file if you are in the same pipeline from which the execution was exported and if the original pipeline flow still exists.
Additional information
Below you will find some important details about the Execution panel and useful keyboard shortcuts.
Execution panel inactivity
If you don’t access the Execution panel for 24 hours, it will become inactive. When you reopen the Canvas, it may take up to 3 minutes for the Execution panel to become active again.
Execution panel timeout
During executions in the Execution panel, if there is no response within 60 seconds, a timeout will occur. However, the execution will continue running in the background for up to 5 minutes. To review the execution: