temporalio / temporalio/temporal
Cron tailgate-like workflow triggering (start a workflow in some time after it completes and not according to cron schedule) [Java]
@dnr is already working on this.
Since Sep 29, 2021.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Is your feature request related to a problem? Please describe.
Currently there is no way to trigger a workflow in some time. There is support for cron workflows but if the workflow is taking up the whole time bracket then the workflow runs might be immediate.
Describe the solution you'd like
Let's consider a scenario of polling a lot of data from multiple data sources. I start a cron workflow that is supposed to run with a 10 minute interval. Let's say the workflow started it's execution. It completes pulling all the data in 9 minutes. Then cron triggers it again in 1 minute instead of in 10 minutes, which is correct, but not a desired behavior.
Describe alternatives you've considered
Using some other cron or job mechanisms to identify when to start a non cron workflow
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.
Assessment
This issue has not been assessed yet.