Class ProcessInstanceModificationInstructionDto


  • public class ProcessInstanceModificationInstructionDto
    extends Object
    ProcessInstanceModificationInstructionDto
    • Constructor Detail

      • ProcessInstanceModificationInstructionDto

        public ProcessInstanceModificationInstructionDto()
    • Method Detail

      • getType

        public ProcessInstanceModificationInstructionDto.TypeEnum getType()
        **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.
        Returns:
        type
      • getActivityId

        public String getActivityId()
        Can be used with instructions of types `startTransition`. Specifies the sequence flow to start.
        Returns:
        activityId
      • setActivityId

        public void setActivityId​(String activityId)
      • getTransitionId

        public String getTransitionId()
        Can be used with instructions of types `startTransition`. Specifies the sequence flow to start.
        Returns:
        transitionId
      • setTransitionId

        public void setTransitionId​(String transitionId)
      • getActivityInstanceId

        public String getActivityInstanceId()
        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](https://docs.camunda.org/manual/7.18/reference/rest/process-instance/get-activity-instances/).
        Returns:
        activityInstanceId
      • setActivityInstanceId

        public void setActivityInstanceId​(String activityInstanceId)
      • getTransitionInstanceId

        public String getTransitionInstanceId()
        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](https://docs.camunda.org/manual/7.18/reference/rest/process-instance/get-activity-instances/).
        Returns:
        transitionInstanceId
      • setTransitionInstanceId

        public void setTransitionInstanceId​(String transitionInstanceId)
      • getAncestorActivityInstanceId

        public String getAncestorActivityInstanceId()
        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.
        Returns:
        ancestorActivityInstanceId
      • setAncestorActivityInstanceId

        public void setAncestorActivityInstanceId​(String ancestorActivityInstanceId)
      • getCancelCurrentActiveActivityInstances

        public Boolean getCancelCurrentActiveActivityInstances()
        Can be used with instructions of type cancel. Prevents the deletion of new created activity instances.
        Returns:
        cancelCurrentActiveActivityInstances
      • setCancelCurrentActiveActivityInstances

        public void setCancelCurrentActiveActivityInstances​(Boolean cancelCurrentActiveActivityInstances)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object