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

CRON scheduled workflow with ContinueAsNew #3745

Closed
benkelukas opened this issue Dec 21, 2022 · 3 comments
Closed

CRON scheduled workflow with ContinueAsNew #3745

benkelukas opened this issue Dec 21, 2022 · 3 comments

Comments

@benkelukas
Copy link

Expected Behavior

Hi, I'm trying to use a CRON scheduled workflow together with the Continue-As-New feature.
When I trigger a CRON workflow, inside trigger Continue-As-New a few times, I expect it to schedule a new CRON run after the workflow is finished.

According to #2146 this should work, but it does not for me.

Actual Behavior

The workflow just ends and no new CRON run is scheduled

Steps to Reproduce the Problem

  1. Clone https://github.com/benkelukas/temporal-cron-continue-as-new
  2. Run docker-compose build
  3. Run docker-compose up
  4. Run docker-compose exec app php app.php periodic:start
  5. Wait for 2 Continue-As-New triggers
  6. Observe Workflow being completed and no new CRON run scheduled

Specifications

  • Version: 1.19.0
  • Platform: MacOS
@dnr
Copy link
Member

dnr commented Jan 3, 2023

#2146 wasn't fixed, it was just marked as a dup. To be honest, this is unlikely to be fixed soon. You should try the new Schedules feature instead.

@dnr
Copy link
Member

dnr commented Jan 3, 2023

Duplicate of #746

@dnr dnr marked this as a duplicate of #746 Jan 3, 2023
@dnr dnr closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2023
@benkelukas
Copy link
Author

Ah, alright, understood. Thanks for getting back to me and recommending a way forward! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants