Interface ConditionalIntermediateEventAction

    • Method Detail

      • execute

        void execute​(ProcessInstanceDelegate processInstance)
              throws Exception
        Implement this action with custom code to be executed when the process instance arrives at a conditional intermediate event. Note that you do not need to implement this action at all or that you could decide to implement with an empty body, because conditional events will implicitely trigger during scenario execution. However you still may want to intercept that waitstate with an alternative action that happens while you wait here, e.g. a message arriving for an event based sub process.
        Specified by:
        execute in interface Action<ProcessInstanceDelegate>
        Parameters:
        processInstance - the conditional event is defined for.
        Throws:
        Exception - in case your custom code throws checked exceptions. Such exceptions will be wrapped into RuntimeExceptions and rethrown.