Basic Step Pattern
Delaying Between Steps
You can delay a job between steps using themoveToDelayed method:
Waiting for Children
A common use case is to add children at runtime and then wait for the children to complete:Chaining Flows
Another use case is to add flows at runtime and then wait for the children to complete:Manually moving jobs using special errors does not increment the
attemptsMade property. This property is incremented on regular job completion or failure (this includes retries using a backoff strategy). To control how many times a job is allowed to start processing, use the maxStartedAttempts option.Related Resources
Flows
Learn about parent-child job dependencies
Job Data
Updating job data during processing
Move To Delayed
API reference for moveToDelayed
Move To Waiting Children
API reference for moveToWaitingChildren
