Package org.camunda.bpm.scenario.act
Interface ConditionalIntermediateEventAction
-
- All Superinterfaces:
Action<ProcessInstanceDelegate>
public interface ConditionalIntermediateEventAction extends Action<ProcessInstanceDelegate>
- Author:
- Martin Schimak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(ProcessInstanceDelegate processInstance)Implement this action with custom code to be executed when the process instance arrives at a conditional intermediate event.
-
-
-
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:
executein interfaceAction<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.
-
-