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.