Could a conditional retry feature be added to the workflow nodes?
- Dominant language
- TypeScript
- Stars
- 156k
- Forks
- 24.6k
- Avg merge
- 20h 50m
- Merged PRs (30d)
- 586
Description
### Self Checks
- [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542).
- [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones.
- [x] I confirm that I am using English to submit this report, otherwise it will be closed.
- [x] Please do not modify this template :) and fill in all the required fields.
### 1. Is this request related to a challenge you're experiencing? Tell me about your story.
Add a conditional retry feature to workflow nodes. For example, allow writing custom functions to decide whether to retry. This could be used to check whether the output is empty, whether the output JSON is correct and can be parsed normally, or whether the output result is complete based on certain markers. In this way, users can decide under which circumstances a retry is needed according to their own requirements, and each node can be defined independently for greater flexibility. I hope such a feature can be added.
### 2. Additional context or comments
_No response_
### 3. Can you help us with this feature?
- [ ] I am interested in contributing to this feature.
Contributor guide
Assessment
This issue has not been assessed yet.