Package org.camunda.bpm.scenario.act
Interface ServiceTaskAction
-
- All Superinterfaces:
Action<ExternalTaskDelegate>
- All Known Subinterfaces:
BusinessRuleTaskAction,MockedCallActivityAction,SendTaskAction
public interface ServiceTaskAction extends Action<ExternalTaskDelegate>
- Author:
- Martin Schimak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(ExternalTaskDelegate externalTask)Implement this action with custom code to be executed when the process instance arrives at a service task (external task waitstate).
-
-
-
Method Detail
-
execute
void execute(ExternalTaskDelegate externalTask) throws Exception
Implement this action with custom code to be executed when the process instance arrives at a service task (external task waitstate).- Specified by:
executein interfaceAction<ExternalTaskDelegate>- Parameters:
externalTask- the service task is implemented with.- Throws:
Exception- in case your custom code throws checked exceptions. Such exceptions will be wrapped into RuntimeExceptions and rethrown.
-
-