Class TerminateEventDefinition

    • Field Detail

      • terminateAll

        protected boolean terminateAll
        When true, this event will terminate all parent process instances (in the case of using call activity), thus ending the whole process instance. By default false (BPMN spec compliant): the parent scope is terminated (subprocess: embedded or call activity)
      • terminateMultiInstance

        protected boolean terminateMultiInstance
        When true (and used within a multi instance), this event will terminate all multi instance instances of the embedded subprocess/call activity this event is used in. In case of nested multi instance, only the first parent multi instance structure will be destroyed. In case of 'true' and not being in a multi instance construction: executes the default behavior. Note: if terminate all is set to true, this will have precedence over this.
    • Constructor Detail

      • TerminateEventDefinition

        public TerminateEventDefinition()
    • Method Detail

      • isTerminateAll

        public boolean isTerminateAll()
      • setTerminateAll

        public void setTerminateAll​(boolean terminateAll)
      • isTerminateMultiInstance

        public boolean isTerminateMultiInstance()
      • setTerminateMultiInstance

        public void setTerminateMultiInstance​(boolean terminateMultiInstance)