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: TypeMandatory. 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§
Trait Implementations§
Source§impl Clone for ProcessInstanceModificationInstructionDto
impl Clone for ProcessInstanceModificationInstructionDto
Source§fn clone(&self) -> ProcessInstanceModificationInstructionDto
fn clone(&self) -> ProcessInstanceModificationInstructionDto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for ProcessInstanceModificationInstructionDto
impl<'de> Deserialize<'de> for ProcessInstanceModificationInstructionDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ProcessInstanceModificationInstructionDto
impl PartialEq for ProcessInstanceModificationInstructionDto
Source§fn eq(&self, other: &ProcessInstanceModificationInstructionDto) -> bool
fn eq(&self, other: &ProcessInstanceModificationInstructionDto) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProcessInstanceModificationInstructionDto
Auto Trait Implementations§
impl Freeze for ProcessInstanceModificationInstructionDto
impl RefUnwindSafe for ProcessInstanceModificationInstructionDto
impl Send for ProcessInstanceModificationInstructionDto
impl Sync for ProcessInstanceModificationInstructionDto
impl Unpin for ProcessInstanceModificationInstructionDto
impl UnwindSafe for ProcessInstanceModificationInstructionDto
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more