Workflow Debugging & Testing
Foundry provides tools to debug and test Fusion SOAR workflows during development.
Testing a workflow
Section titled “Testing a workflow”- In the workflow builder, click Test or Execute.
- Provide any required trigger inputs.
- The workflow executes and displays the result of each action step.
For on-demand workflows, you can supply test input directly. For event-driven workflows, you can simulate events using test data.
Debugging execution
Section titled “Debugging execution”After a workflow executes, review the execution log:
- Each action step shows its input, output, and status (success/failure).
- Conditional branches show which path was taken and why.
- Loop iterations show each iteration’s input and output.
- Error details include the HTTP status code, error message, and the full request/response payload.
Common issues
Section titled “Common issues”| Issue | Cause | Resolution |
|---|---|---|
| Action returns unexpected empty results | Schema validation is filtering out fields | Try schemaless mode |
| Function timeout | Function exceeds 60-second limit | Optimize the function or break into smaller steps |
| API integration returns 401 | Credentials expired or incorrect | Reconfigure the integration’s authentication |
| Loop doesn’t terminate | Missing or incorrect termination condition | Add an explicit loop counter or check the condition logic |
| Variable not found | Referencing a field from a previous action incorrectly | Use the data panel to find the correct field path |
Viewing workflow data
Section titled “Viewing workflow data”The Data panel in the workflow builder shows all available data from previous steps. Use this to find the correct field paths for conditions and action inputs.
Click on any completed action step to see its output in the data panel. Field paths follow the format:
data['actionName.fieldName']