Skip to main content

Interface: ITimeSkippingConfig

common.v1.ITimeSkippingConfig

Properties of a TimeSkippingConfig.

Implemented by

Properties

disableChildPropagation

Optional disableChildPropagation: null | boolean

By default, child workflows inherit the "enabled" flag when they are started. This flag disables that inheritance.


enabled

Optional enabled: null | boolean

Enables or disables time skipping for this workflow execution.


fastForward

Optional fastForward: null | IDuration

Optionally fast-forward the current workflow execution by this duration ahead of current workflow execution time. After the fast-forward completes, time skipping is disabled, and this action is recorded in the WorkflowExecutionTimeSkippingTransitionedEvent. It can be re-enabled by setting enabled to true or setting fast_forward again via UpdateWorkflowExecutionOptions. The current workflow execution is a chain of runs (retries, cron, continue-as-new); child workflows are separate executions, so this fast_forward won't affect them.

For a given workflow execution, only one active fast-forward is allowed at a time. If a new fast-forward is set via UpdateWorkflowExecutionOptions before the previous one completes, the new one will override the previous one. If the fast-forward duration exceeds the remaining execution timeout, time will only be fast-forwarded up to the end of the execution.