Skip to main content

Enumeration: ScheduleOverlapPolicy

client.ScheduleOverlapPolicy

Policy for overlapping Actions.

Enumeration Members

ALLOW_ALL

ALLOW_ALL = 6

Allow any number of Actions to start immediately.

This is the only policy under which multiple Actions can run concurrently.


BUFFER_ALL

BUFFER_ALL = 3

Allows an unlimited number of Actions to buffer. They are started sequentially.


BUFFER_ONE

BUFFER_ONE = 2

Start another Action as soon as the current Action completes, but only buffer one Action in this way. If another Action is supposed to start, but one Action is running and one is already buffered, then only the buffered one will be started after the running Action finishes.


CANCEL_OTHER

CANCEL_OTHER = 4

Cancels the running Action, and then starts the new Action once the cancelled one completes.


SKIP

SKIP = 1

Don't start a new Action.


TERMINATE_OTHER

TERMINATE_OTHER = 5

Terminate the running Action and start the new Action immediately.


UNSPECIFIED

UNSPECIFIED = 0

Use server default (currently SKIP).

FIXME: remove this field if this issue is implemented: https://github.com/temporalio/temporal/issues/3240