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.

  1. Go to AI Agent Studio and open the Workflows workflows tab.
  2. Select Edit Edit to modify a workflow.
  3. From the toolbar, select Debug Debug.
  4. Enter a prompt in Ask Oracle and submit it to run the workflow.
  5. Inspect the loop collection, while condition, or parallel branch outcomes.
  6. Confirm that each expected branch or iteration ran successfully.
  7. Inspect the outputs of the nested nodes within each branch or iteration.
  8. Verify that downstream nodes receive the expected combined or per-branch data.
  9. Test the workflow with empty, single-item, and multi-item inputs to ensure it behaves correctly in all scenarios.