@Wid(widfile="DecisionTaskDefinitions.wid",name="DecisionTask",displayName="Decision Task",defaultHandler="mvel: new org.jbpm.process.workitem.bpmn2.DecisionTaskHandler()",documentation="jbpm-workitems-bpmn2/index.html",category="jbpm-workitems-bpmn2",icon="defaultdecisiontaskicon.png",parameters={@WidParameter(name="Namespace",required=true),@WidParameter(name="Model",required=true),@WidParameter(name="Decision")},mavenDepends=@WidMavenDepends(group="org.jbpm",artifact="jbpm-workitems-bpmn2",version="7.59.0-SNAPSHOT"),serviceInfo=@WidService(category="BPMN2",description="Execute business rule or service tasks",keywords="decision,dmn,rule,task",action=@WidAction(title="Execute a DMN decision task"),authinfo=@WidAuth(required=true,params={"groupId","artifactId","version"},paramsdescription={"Group Id","Artifact Id","Version"}))) public class DecisionTaskHandler 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, STATEFUL_TYPE, STATEFULL_TYPE, STATELESS_TYPE
handlingProcessId, handlingStrategy, logThrownException, retries
Constructor and Description |
---|
DecisionTaskHandler(String groupId,
String artifactId,
String version) |
DecisionTaskHandler(String groupId,
String artifactId,
String version,
long scannerInterval) |
DecisionTaskHandler(String groupId,
String artifactId,
String version,
long scannerInterval,
ClassLoader classLoader,
org.kie.api.runtime.manager.RuntimeManager runtimeManager) |
Modifier and Type | Method and Description |
---|---|
String |
getRuleLanguage() |
abortWorkItem, close, executeWorkItem, getKieContainer, handleDMN, handleStatefull, handleStateless, setRuntimeManager
findNodeInstance, handleException, handleException, setLogThrownException
public DecisionTaskHandler(String groupId, String artifactId, String version, long scannerInterval)
public DecisionTaskHandler(String groupId, String artifactId, String version, long scannerInterval, ClassLoader classLoader, org.kie.api.runtime.manager.RuntimeManager runtimeManager)
public String getRuleLanguage()
getRuleLanguage
in class AbstractRuleTaskHandler
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.