Self Checks
Dify version
1.13.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
- Open a workflow that contains a
loop node or an iteration node.
- Run the workflow and open the run tracing panel while the loop or iteration is producing multiple records.
- Expand the tracing records for the loop or iteration node. (You might need to refresh the page first for the collapsed tracing items to show)
- Continue observing the latest in-progress tracing item as new loop / iteration records are created.
Loop node glitch screenshot:

DSL to reproduce:
loop display problem.yml
Iteration node glitch screenshot:

DSL to reproduce:
iteration display problem.yml
✔️ Expected Behavior
The newest tracing item should be displayed under the latest loop or iteration record that is currently running.
For example, if the workflow is already on Iteration 12 or Loop 12, the active tracing item should appear inside that latest record instead of staying attached to Iteration 1 or Loop 1.
❌ Actual Behavior
The latest tracing item is always displayed inside the first loop / iteration record in the tracing panel, even when execution has already advanced to a later record.
This makes the tracing view misleading because the active item visually appears to belong to the first iteration / loop entry instead of the latest one that is actually running.
Self Checks
Dify version
1.13.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
loopnode or aniterationnode.Loop node glitch screenshot:

DSL to reproduce:
loop display problem.yml
Iteration node glitch screenshot:

DSL to reproduce:
iteration display problem.yml
✔️ Expected Behavior
The newest tracing item should be displayed under the latest loop or iteration record that is currently running.
For example, if the workflow is already on
Iteration 12orLoop 12, the active tracing item should appear inside that latest record instead of staying attached toIteration 1orLoop 1.❌ Actual Behavior
The latest tracing item is always displayed inside the first loop / iteration record in the tracing panel, even when execution has already advanced to a later record.
This makes the tracing view misleading because the active item visually appears to belong to the first iteration / loop entry instead of the latest one that is actually running.