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

Cycle timer event #179

Open
havsar opened this issue Aug 4, 2023 · 4 comments
Open

Cycle timer event #179

havsar opened this issue Aug 4, 2023 · 4 comments

Comments

@havsar
Copy link

havsar commented Aug 4, 2023

Is a cycle timer start event supported?
I tried some samples but it seems like after first execution subsequent ones do not happen.

I found this in another issue but no help: #98 (comment)

@havsar
Copy link
Author

havsar commented Aug 16, 2023

Bump, any solution?

@paed01
Copy link
Owner

paed01 commented Aug 17, 2023

At the moment only non-interrupting boundary events can have cycle timers.

@havsar
Copy link
Author

havsar commented Aug 17, 2023

Is there any other way to achieve the above? How can I run the process in like a cron-like way? Using your suggestion as a workaround or do I have to work around it?

@paed01
Copy link
Owner

paed01 commented May 4, 2024

Have a look at @onify/flow-extensions for cron pattern support. There is no built-in start at cycle in the bpmn-engine, on the other hand you can pick up the timers by using the moddle-context-serializer. I made an example how to extract timers here. Then make your own cycled start function based on extracted timers.

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

No branches or pull requests

2 participants