Skip to main content

Execute Workflows: Testing and Production Options in Torq

Explore Torq's testing and production workflow execution options.

Updated over 2 weeks ago

After building your workflow logic, you should test it to ensure it behaves as expected. Test runs allow you to simulate real executions, validate logic, and identify issues before impacting production. Once testing is complete, you can publish the workflow to enable execution in the production environment.

How to use

Run a test

  1. Start test run: Click Test Run in the top-right corner of the workflow designer.

  2. Select trigger event: Choose from previous trigger events to simulate realistic input data.

Optimize test execution

During testing, you may want to skip or isolate certain steps to speed up validation or avoid side effects.

  • Mock outputs: Simulate step execution without making actual API calls by returning predefined responses.

  • Run from step: Start execution from a selected step to test a specific part of the workflow without running the entire flow.

Run workflows in production

Once published (read more about workflow states), the workflow executes automatically based on its trigger configuration. Additional execution options:

Monitor workflow executions

You can monitor both test and production runs to track performance and troubleshoot issues.

  • View step failures: Failed steps are highlighted in the execution view.

  • Search steps: Use the toolbar search to quickly locate specific steps.

  • Activity Log: Monitor all workflow executions across the workspace.

  • Run Log: Review recent executions of a specific workflow from the Designer.

The Run Log displays up to 30 executions from the past 7 days. For full history, use the Activity Log.

Did this answer your question?