javaliferayliferay-7liferay-6.2

How to implement Save As Draft functionality in liferay 7


I have a one HTML JSP form with accordion. I w want to implement a "Save as draft" feature in that form. Can any body help me?


Solution

  • Thanks I got the solution for this and thanks to you for response.

    for this we have to set the status flag in the database. and liferay give the by default this method WorkflowConstant.STATUS_DRAFT by default it will take 2 check your status value if it is same then it will store in db as draft otherwise submitted.enter image description here