Loop and iteration node have no tracing entry in chatflow but ok in workflow
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.1.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Chatflow - Not OK DSL: Chatflow-NOT OK.txt
Workflow - OK DSL: Workflow-OK.txt
User input: ping
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
@ #16252 issue the same problem of Loop node
The issue you're experiencing with "no tracing entry" for loop and iteration nodes in the chatflow component, while it works fine in the workflow component, could be related to several factors. Here are some potential causes and considerations:
-
Child Node Identification: The tracing mechanism might be failing to correctly identify child nodes within the loop or iteration nodes in the chatflow. This could be due to missing or incorrect
execution_metadata, which is crucial for tracing [1]. -
Error Propagation: If errors in child nodes are not correctly propagated to the parent node, the status of the loop or iteration node may not reflect the actual execution state, leading to a lack of tracing entries [1].
-
Node Processing Functions: Ensure that the functions responsible for processing child nodes, such as
addChildrenToLoopNodeoraddChildrenToIterationNode, are functioning correctly. Any issues here could result in the tracing mechanism not accurately representing the node structure [1]. -
Specific Errors: Check for specific errors or exceptions that might be logged, such as
IteratorVariableNotFoundError,InvalidIteratorValueError, orIterationGraphNotFoundError, which could indicate underlying issues with the loop or iteration nodes [2].
Reviewing these aspects might help identify the root cause of the issue in the chatflow component.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other