12-27-2012 05:05 AM
12-27-2012 12:18 PM
12-28-2012 04:40 AM
12-28-2012 07:21 AM
12-28-2012 08:02 AM
<process id="workflow-constants-test" name="process1">
<startEvent id="startevent1" name="Start">
<extensionElements>
<activiti:formProperty id="processVariableId1" name="processVariableName1" type="string" required="false"></activiti:formProperty>
<activiti:formProperty id="processVariableId2" name="processVariableName2" type="string" required="false"></activiti:formProperty>
</extensionElements>
</startEvent>
<userTask id="usertask" name="User Task With fields"></userTask>
<endEvent id="endevent1" name="End"></endEvent>
<serviceTask id="servicetask1" name="Define Constants" activiti:class="com.unisys.holmes2.h2ng.workflow.business.impl.WorkflowConstantSetter">
<extensionElements>
<activiti:field name="constant1Name">
<activiti:string>Constant 1 Value</activiti:string>
</activiti:field>
<activiti:field name="constant2Name">
<activiti:string>Constant 2 Value</activiti:string>
</activiti:field>
</extensionElements>
</serviceTask>
<sequenceFlow id="flow4" name="" sourceRef="startevent1" targetRef="servicetask1"></sequenceFlow>
<sequenceFlow id="flow6" name="" sourceRef="usertask" targetRef="endevent1"></sequenceFlow>
<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
<sequenceFlow id="flow7" name="" sourceRef="servicetask1" targetRef="exclusivegateway1"></sequenceFlow>
<sequenceFlow id="flow8" name="" sourceRef="exclusivegateway1" targetRef="usertask">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${constant1Name == 'Constant 1 Value'}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow9" name="" sourceRef="exclusivegateway1" targetRef="endevent1">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${constant1Name != 'Constant 1 Value'}]]></conditionExpression>
</sequenceFlow>
</process>
12-28-2012 08:12 AM
12-28-2012 09:26 AM
12-28-2012 10:09 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.