Legal and Marketing Approval
Workflow assets must be approved first by Marketing and then by Legal.
1
created
{"transitions":{"Market Review":{"xy":[-46,-12]}},"xy":[62,51]}
true
Market Review
marketing-review
true
update
{"transitions":{"Resubmit":{"bendpoints":[[427,40]],"xy":[-27,11]}},"xy":[530,36]}
Creator Modification Notification
Your asset was rejected by a reviewer, please modify and resubmit.
text
email
user-notification
onAssignment
Resubmit
marketing-review
true
marketing-review
{"transitions":{"Marketing Approved":{"xy":[-1,-29]},"Marketing Denied":{"xy":[-34,-1]}},"xy":[260,36]}
Market Content Review Notification
You have a new asset waiting for your review in the workflow.
text
email
user-notification
onAssignment
organization
Organization Administrator
organization
Organization Marketing Content Reviewer
organization
Organization Owner
regular
Administrator
regular
Portal Marketing Content Reviewer
site
Site Administrator
site
Site Marketing Content Reviewer
site
Site Owner
Marketing Approved
legal-review
true
Marketing Denied
update
false
legal-review
{"xy":[260,270]}
Legal Content Review Notification
You have a new asset waiting for your review in the workflow.
text
email
user-notification
onAssignment
organization
Organization Administrator
organization
Organization Legal Content Reviewer
organization
Organization Owner
regular
Administrator
regular
Portal Legal Content Reviewer
site
Site Administrator
site
Site Legal Content Reviewer
site
Site Owner
Legal Approval
approved
true
Legal Denied
update
false
approved
{"xy":[540,285]}
approve
import com.liferay.portal.kernel.workflow.WorkflowStatusManagerUtil; import com.liferay.portal.kernel.workflow.WorkflowConstants;

WorkflowStatusManagerUtil.updateStatus(WorkflowConstants.toStatus("approved"), workflowContext);
groovy
onEntry