You can use “com.adobe.granite.workflow.status.WorkflowStatus” API to check the WF status of the payload.
Eg:
WorkflowStatus wfState = <payload object>.adaptTo(WorkflowStatus.class);
boolean status=false;
status = wfState.isInRunningWorkflow(true);
Hi myself anilkumar..I'm new to cq5..
ReplyDeleteCan you please suggest..what is the best way learn cq5...
waiting for your reply...
Thanks in advance....
thank you!
ReplyDeleteNgọc Trâm – Phiên dịch viên
-------------------------------------------------------------------
• Xem chi tiết về Bảng giá chụp ảnh quảng cáo
• Hoặc Bang gia chup anh quang cao