03-01-2013 10:38 AM
<serviceTask id="task1" name="Service Task" activiti:delegateExpression="${camel}"></serviceTask>
<sequenceFlow id="flow1" name="Can continue" sourceRef="task1" targetRef="receivetask1">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${result == true}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow2" name="Cannot continue" sourceRef="task1" targetRef="endevent1">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${result != true}]]></conditionExpression>
</sequenceFlow>
Here's a simplified version of the Camel route.
from("activiti:processName:task1")
.beanRef("beanName", "methodName") // returned value will be in the exchange body
.setProperty("result").body();
I'm using Activiti 5.11 and Camel 2.10.3.03-11-2013 08:31 AM
03-27-2013 11:11 AM
06-01-2015 09:13 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.