12-28-2010 09:08 PM
12-29-2010 03:14 AM
..
<exclusiveGateway id="exclusiveGw" name="Exclusive Gateway" />
<sequenceFlow id="flow2" sourceRef="exclusiveGw" targetRef="approvedTarget">
<conditionExpression xsi:type="tFormalExpression">${approved}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow3" sourceRef="exclusiveGw" targetRef="rejectedTarget">
<conditionExpression xsi:type="tFormalExpression">${!approved}</conditionExpression>
</sequenceFlow>
..
Map<String, Object> variables = new HashMap<String, Object>();
variables.put("approved", Boolean.FALSE);
// Finish the task, passing the approved variable
taskService.completeTask(task.getId(), variables);
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.