[][src]Struct camunda_client::models::process_instance_modification_instruction_dto::ProcessInstanceModificationInstructionDto

pub struct ProcessInstanceModificationInstructionDto {
    pub _type: Type,
    pub variables: Option<TriggerVariableValueDto>,
    pub activity_id: Option<String>,
    pub transition_id: Option<String>,
    pub activity_instance_id: Option<String>,
    pub transition_instance_id: Option<String>,
    pub ancestor_activity_instance_id: Option<String>,
    pub cancel_current_active_activity_instances: Option<bool>,
}

Fields

_type: Type

Mandatory. One of the following values: cancel, startBeforeActivity, startAfterActivity, startTransition. * A cancel instruction requests cancellation of a single activity instance or all instances of one activity. * A startBeforeActivity instruction requests to enter a given activity. * A startAfterActivity instruction requests to execute the single outgoing sequence flow of a given activity. * A startTransition instruction requests to execute a specific sequence flow.

variables: Option<TriggerVariableValueDto>activity_id: Option<String>

Can be used with instructions of types startTransition. Specifies the sequence flow to start.

transition_id: Option<String>

Can be used with instructions of types startTransition. Specifies the sequence flow to start.

activity_instance_id: Option<String>

Can be used with instructions of type cancel. Specifies the activity instance to cancel. Valid values are the activity instance IDs supplied by the Get Activity Instance request.

transition_instance_id: Option<String>

Can be used with instructions of type cancel. Specifies the transition instance to cancel. Valid values are the transition instance IDs supplied by the Get Activity Instance request.

ancestor_activity_instance_id: Option<String>

Can be used with instructions of type startBeforeActivity, startAfterActivity, and startTransition. Valid values are the activity instance IDs supplied by the Get Activity Instance request. If there are multiple parent activity instances of the targeted activity, this specifies the ancestor scope in which hierarchy the activity/transition is to be instantiated. Example: When there are two instances of a subprocess and an activity contained in the subprocess is to be started, this parameter allows to specifiy under which subprocess instance the activity should be started.

cancel_current_active_activity_instances: Option<bool>

Can be used with instructions of type cancel. Prevents the deletion of new created activity instances.

Implementations

impl ProcessInstanceModificationInstructionDto[src]

Trait Implementations

impl Clone for ProcessInstanceModificationInstructionDto[src]

impl Debug for ProcessInstanceModificationInstructionDto[src]

impl<'de> Deserialize<'de> for ProcessInstanceModificationInstructionDto[src]

impl PartialEq<ProcessInstanceModificationInstructionDto> for ProcessInstanceModificationInstructionDto[src]

impl Serialize for ProcessInstanceModificationInstructionDto[src]

impl StructuralPartialEq for ProcessInstanceModificationInstructionDto[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err