-
Notifications
You must be signed in to change notification settings - Fork 2
Description
The state language docs define the Wait State spec. AWS step functions seem to extend this spec with the ability to register a callback. Is there an example where a globus flow has a wait and registers a callback?
Use Case:
The flow submits a job to a slurm scheduler for either immediate or future execution, pending resource availability. The Wait State needs to wait for an indeterminate amount of time before executing the next step in the flow (likely a choice step to parse job success)
Work Around:
A times wait state that calls a compute endpoint that polls for the current job status, sends that status to a parser, and then either returns to the wait state or continues to the next step in the flow. This is not ideal as a large percentage of the logging output becomes wait-choice-repeat logging.