1. Make sure you have deployed kaleo workflow war in your liferay portal.
2. Create the service.xml
3. Build the service
4. Edit the FeedbackLocalServiceImpl class and add the following methods:
5. Make the following entries in liferay-portlet.xml file
6. create the FeedbackAssetRendererFactory class
7. create the FeedbackAssetRenderer class-
8. create the /html/feedback.jsp file.
9. create the FeedbackWorkflowHandler class -
10. We are done with all the changes now, to see our portlet in action go to control panel → Workflow Configuration and set the workflow for your custom portlet.
2. Create the service.xml
3. Build the service
4. Edit the FeedbackLocalServiceImpl class and add the following methods:
5. Make the following entries in liferay-portlet.xml file
6. create the FeedbackAssetRendererFactory class
7. create the FeedbackAssetRenderer class-
8. create the /html/feedback.jsp file.
9. create the FeedbackWorkflowHandler class -
10. We are done with all the changes now, to see our portlet in action go to control panel → Workflow Configuration and set the workflow for your custom portlet.
As per above example
ReplyDeletei am able to configure workflow for custom porlet. but unable to get aproove status while add new record to database..
help me ....thanks advance...!!
Hi Ranjit,
ReplyDeleteWhat issue are you facing? Are you getting any exception?
After adding the new record using FeedbackLocalServiceUtil class, you need to check the My Workflow Tasks portlet in the control panel. Are you able to see the entry there?
Regards,
Harish
how to use the kaleo workflow in the portlet via xml extension but not in single approver of liferay ?
ReplyDelete