@Wid(widfile="BusinessRuleTaskDefinitions.wid",name="BusinessRuleTask",displayName="BusinessRuleTask",defaultHandler="mvel: new org.jbpm.process.workitem.bpmn2.BusinessRuleTaskHandler()",documentation="jbpm-workitems-bpmn2/index.html",category="jbpm-workitems-bpmn2",icon="BusinessRuleTask.png",parameters={@WidParameter(name="KieSessionName",required=true),@WidParameter(name="KieSessionType")},mavenDepends=@WidMavenDepends(group="org.jbpm",artifact="jbpm-workitems-bpmn2",version="7.30.0.Final-redhat-00003"),serviceInfo=@WidService(category="BPMN2",description="Execute business rule or service tasks",keywords="business,rule,task",action=@WidAction(title="Execute a business rule task"),authinfo=@WidAuth(required=true,params={"groupId","artifactId","version"},paramsdescription={"Group Id","Artifact Id","Version"}))) public class BusinessRuleTaskHandler extends AbstractRuleTaskHandler
Session type can be given by KieSessionType data input and session name can be given as KieSessionName property -these apply to DRL only.
Results returned will be then put back into the data outputs.
DRL handling is based on same names for data input and output as that is then used as correlation.
DMN_LANG, DRL_LANG, STATEFULL_TYPE, STATELESS_TYPE
handlingProcessId, handlingStrategy, logThrownException, retries
Constructor and Description |
---|
BusinessRuleTaskHandler(String groupId,
String artifactId,
String version) |
BusinessRuleTaskHandler(String groupId,
String artifactId,
String version,
long scannerInterval) |
Modifier and Type | Method and Description |
---|---|
String |
getRuleLanguage() |
abortWorkItem, close, executeWorkItem, getKieContainer, handleDMN, handleStatefull, handleStateless
findNodeInstance, handleException, handleException, setLogThrownException
public BusinessRuleTaskHandler(String groupId, String artifactId, String version)
public String getRuleLanguage()
getRuleLanguage
in class AbstractRuleTaskHandler
Copyright © 2001–2019 jBPM dev team. All rights reserved.