The workflow portlet is available in the LR-plugins. It has been moved here.
You can do an svn checkout from
hereCreate users(requestor and approver) using the Enterprise Admin.
Make note of their userIds and companyIds.
Assuming you make use of the holiday_definition Business Process, modify the BP accordingly. For testing I used the same user as requestor and approver.
Use this as a sample.
1
2
3<swimlane name="requestor" >
4<assignment class="com.liferay.jbpm.handler.IdentityAssignmentHandler" config-type="field">
5 <type>user</type>
6 <companyId>10109</companyId>
7 <id>10134</id>
8 </assignment>
9</swimlane>
10 <swimlane name="approver">
11 <assignment class="com.liferay.jbpm.handler.IdentityAssignmentHandler" config-type="field">
12 <type>user</type>
13 <companyId>10109</companyId>
14 <id>10134</id>
15 </assignment>
16 </swimlane>
Thats it !!!