01-28-2011 07:29 AM
<process id="groupApprovalWorkflow">
<startEvent id="startArtworkReview"/>
<sequenceFlow id="startsArtworkReview" sourceRef="startArtworkReview" targetRef="reviewArtwork"/>
<userTask id="reviewArtwork">
<humanPerformer>
<resourceAssignmentExpression>
<formalExpression>${userId}</formalExpression>
</resourceAssignmentExpression>
</humanPerformer>
</userTask>
<sequenceFlow id="endsArtworkReview" sourceRef="reviewArtwork" targetRef="endArtworkReview"/>
<endEvent id="endArtworkReview"/>
<boundaryEvent attachedToRef="reviewArtwork" cancelActivity="false" id="triggerEmailReminder">
<timerEventDefinition>
<timeDuration>${completionDeadline}</timeDuration>
</timerEventDefinition>
</boundaryEvent>
<sequenceFlow id="sendsEmailReminder" sourceRef="triggerEmailReminder" targetRef="sendEmailReminder"/>
<serviceTask id="sendEmailReminder" activiti:class="com.kallik.process.utils.SendEmailReminder"/>
<sequenceFlow id="continuesArtworkReview" sourceRef="sendEmailReminder" targetRef="reviewArtwork"/>
</process>
Map<String, String> form = new HashMap<String, String>();
form.put("userId", userId);
form.put("completionDeadline", "PT30S");
ProcessInstance processInstance = ProcessServices.getFormService().submitStartFormData(processDefinitionId, form);
01-28-2011 07:50 AM
01-28-2011 08:12 AM
01-28-2011 08:32 AM
01-28-2011 10:43 AM
01-28-2011 11:33 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.