Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support DelayStart option in ChildWorkflowOptions #1297

Open
skheria opened this issue Nov 22, 2023 · 0 comments
Open

Support DelayStart option in ChildWorkflowOptions #1297

skheria opened this issue Nov 22, 2023 · 0 comments
Labels
customer customer requested feature new feature request up-for-grabs Issues that are good entry points for those new to Cadence that want to contribute

Comments

@skheria
Copy link

skheria commented Nov 22, 2023

Is your feature request related to a problem? Please describe.
I have a use-case where I want my current workflow to trigger another workflow but with a start delay of say 24hours. I wanted to trigger the second workflow as a child-workflow so that we are not losing association between parent-wf & child-wf. This DelayStart option is available in StartWorkflowOptions but its not available in ChildWorkflowOptions.

To solve my problem, in the interim with currently available support, I created an activity to trigger a new workflow (using StartWorkflow function) but this was an overhead as that activity is not adding any value.

Proposed Solution
Give support of DelayStart for ChildWorkflows via ChildWorkflowOptions. I believe since we have ParentClosePolicyAbandon option for ParentClosePolicy, it should be okay to have childWorkflows in-fight (possible when using DelayStart) even after parent workflow has got completed/terminated/cancelled.

@skheria skheria changed the title DelayStart option in ChildWorkflowOptions Support DelayStart option in ChildWorkflowOptions Nov 22, 2023
@ibarrajo ibarrajo added customer customer requested feature new feature request up-for-grabs Issues that are good entry points for those new to Cadence that want to contribute labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer customer requested feature new feature request up-for-grabs Issues that are good entry points for those new to Cadence that want to contribute
Projects
None yet
Development

No branches or pull requests

2 participants