How do I troubleshoot a loop or parallel branch that produces incomplete results?
Incomplete results from a loop or parallel branch are typically caused by an empty collection, an incorrect loop condition, a branch that was never reached, an iteration output mismatch, or a downstream aggregation issue.
- Go to AI Agent Studio and open the
Workflows
tab. - Select Edit
to modify a workflow. - From the toolbar, select Debug
. - Enter a prompt in Ask Oracle and submit it to run the workflow.
- Inspect the loop collection, while condition, or parallel branch outcomes.
- Confirm that each expected branch or iteration ran successfully.
- Inspect the outputs of the nested nodes within each branch or iteration.
- Verify that downstream nodes receive the expected combined or per-branch data.
- Test the workflow with empty, single-item, and multi-item inputs to ensure it behaves correctly in all scenarios.