feature: add a default branch when a suspended flow timeout
@rubenfiszel is already working on this.
Since Apr 12, 2024.
Assessment
This issue has not been assessed yet.
Description
Hi,
When a suspended flow times out, the flow is automatically cancelled. It would be great to be able to automatically resume the flow after a specific timeout and specify the args values.
For example, let's imagine that I'm sending a welcome email to a user with a link to a blog article. If the user clicks on the link in the email, it will call the resume url with an argument "clickedArticleId" and I can send her a second email with more articles on the subject. If however after 5 days, the user didn't open / click in the email then I would like to resume the flow with "clickedArticleId = null" and send her another type of email with other subjects.
Right now, I've created another flow with just a sleep function. Before the flow is suspended, it calls this second flow with the resume url. The second flow sleeps for some time and then call the resume url to resume the first flow.
It works but it's not very user friendly. It would be better to chose between automatically resume other automatically cancel a suspended flow after a specific timeout.
Best,
JB
- Dominant language
- Rust
- Stars
- 18k
- Forks
- 1.1k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 328
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from windmill-labs/windmill
-
webmux_oneshot
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
windmill-labs/windmill#10877 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
windmill-labs/windmill#11234 ·
-
bug webmux_oneshot
windmill-labs/windmill#11219 · 1 assignee ·
-
bug
windmill-labs/windmill#11196 · 1 assignee ·
-
windmill-labs/windmill#11002 · 1 assignee ·
All issues in windmill-labs/windmill
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100