Skip to main content

Enumeration: ActivityIdConflictPolicy

enums.v1.ActivityIdConflictPolicy

Defines what to do when trying to start an activity with the same ID as a running activity. Note that it is never valid to have two running instances of the same activity ID.

See ActivityIdReusePolicy for handling activity ID duplication with a closed activity.

Enumeration Members

ACTIVITY_ID_CONFLICT_POLICY_FAIL

ACTIVITY_ID_CONFLICT_POLICY_FAIL = 1

Don't start a new activity; instead return ActivityExecutionAlreadyStarted error.


ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED

ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED = 0

ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED value


ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING

ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING = 2

Don't start a new activity; instead return a handle for the running activity.