Liferay tutorial
Liferay training
JBPM-3 Integration with Liferay 6
To integratre jbpm with liferay 6, only jbpm component is requiered. The workflow portlet is availabe with liferay 6.
Following are the stpes involved :
1. Get the source for jbpm from svn: http://svn.liferay.com/repos/public/plugins/trunk/webs/jbpm-web (user guest with empty password), to you plugins sdk->webs.
2. Perform ant build-samples from jbpm-web.
3. copy the .jar file created in /../liferay-plugins-sdk-6.0.5/webs/jbpm-web/samples, to /../liferay-plugins-sdk-6.0.5/webs/jbpm-web/docroot/WEB-INF/lib.
4. Perform ant deploy in the jbpm-web. Now the war file will be created in the dist folder of plugins sdk, and in the deploy folder of liferay-portal-6.
5. After performing the following steps start the liferay-tomcat server,and perform the following.
Steps for liferay 6
1. Sign in as test@liferay.com password test.
2. Select the control tab from the manage menu available at the top.
3. Select the Workflow from the control panel,and add a definition.
4.definition click on browse and select /.../liferay-portal-6.0.5/tomcat-6.0.26/webapps/jbpm-web/WEB-INF/lib/Single Approver.jar.
5. Default Configuration tab and select the Single Approver from the drop down for the web content resource.
6. Create a new organization with a name as Sample Organization.
7. Create a new role name Sample Creator and select define permission from the action and add a new permision web content.
8. Create 3 user's sampleadmin samplecreator and samplereviewer.
9. Assign role administrator to sampleadmin and Sample Creator to samplecreator and Organization Content reviewer to samplereviewer.
10. in as samplecreator and go to the Sample Organization and then from the control panel select the web contet and add a new web content,after adding the content click on Submit For Publication as you will click you will find a pending stauts for the webcontent which you have added.
11. Now sign in as a sampleareviewer go to Sample Organization from the control panel select My Workflow Tasks. You will see the web content you added as a samplecreator in the Assigned To My Roles section in the pending tab
12. Now click on action button and select Assign to Me. Now you will see that the content is in Assigned to Me section ,Now click the action button, from here you can approve or reject the webcontent.
13. Once you approve or reject the web content you will find the content in the completed tab.
14. If you have approved the web content then u can see the web content in the asset publisher portlet of the Sample Organization.
Attune Infocom Pvt. Ltd.
Mansuri Society,
Beside Adani Vidyamandir, Sarkhej Gandhinagar Hwy,
Makarba,
Ahmedabad - 380 051.
Email: contact@attuneinfocom.com
Beside Adani Vidyamandir, Sarkhej Gandhinagar Hwy,
Makarba,
Ahmedabad - 380 051.
Email: contact@attuneinfocom.com
Telephone: +91-79-40047258





















I Got some compilation problems when i did the "ant deploy" with the WorkflowTaskManagerImpl class...
ReplyDeleteI solve that downloading the source from this path instead: svn co -r 60119 http://svn.liferay.com/repos/public/plugins/trunk/webs/jbpm-web jbpm-web
And I did the process again and everything work fine now :D
This comment has been removed by the author.
ReplyDeletewhen i go to the this link
ReplyDeletehttp://svn.liferay.com/repos/public/plugins/trunk/webs/jbpm-web jbpm-web
this error will appear:
"Not Found
The requested URL /repos/public/plugins/trunk/webs/jbpm-web jbpm-web was not found on this server."
?
i want to use jbpm5 in liferay , Please help me!!!
ReplyDeleteHi, thank you for this tutorial.
ReplyDeleteThe link "http://svn.liferay.com/repos/public/plugins/trunk/webs/jbpm-web jbpm-web" to download the plugin jbpm3 for liferay does not work. Have you another link please? it'is so important for my work, i haved searched on the web but there is no available link.
Thanks for your Help.
Zahir
the link has changed : http://svn.liferay.com/repos/public/plugins/branches/6.0.x/webs/jbpm-web (user guest with empty password)
ReplyDeleteLiferay training
Delete.
.
.
.
.
.
.
.
Appreciation to my father who shared with me regarding this blog, this web site is really amazing.
ReplyDeletemy web-site ... klimatyzacja