Retrieving list of currently scheduled workflows #4231
johnwc
started this conversation in
Design & tech
Replies: 1 comment 2 replies
-
Yes. Although a workflow instance itself doesn’t know anything about scheduled execution times, the timer activities create bookmarks that do contain scheduled execution times (although these are not stored in columns). What you could do, therefore, is query all bookmarks of a given activity type (e.g. Timer or Delay or Cron), each of these bookmarks have a serialized state of their payload, which includes the scheduled time stamp. If you did need to be able to query by scheduled time, then you’d have to create a separate database table and basically shadow-copy the information you need into that when bookmarks are being indexed. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@sfmskywalker Internally to Elsa, is there a store that allows to call a method that returns a list of scheduled workflows, with the next expected execution time being one of the properties?
Beta Was this translation helpful? Give feedback.
All reactions