org.camunda.bpm.scenario.act.BusinessRuleTaskAction Maven / Gradle / Ivy
package org.camunda.bpm.scenario.act;
import org.camunda.bpm.scenario.delegate.ExternalTaskDelegate;
/**
* @author Martin Schimak
*/
public interface BusinessRuleTaskAction extends ServiceTaskAction {
/**
* Implement this action with custom code to be executed when the
* process instance arrives at a business rule task (external task
* waitstate).
*
* @param externalTask the business rule task is implemented with.
*
* @throws Exception in case your custom code throws checked exceptions.
* Such exceptions will be wrapped into RuntimeExceptions and rethrown.
*/
@Override
void execute(final ExternalTaskDelegate externalTask) throws Exception;
}