
Night Elephant wrote...
Hi Sham,
Thank you for reply!
I need validation for any start workflow possibility. As I can see in my CQ5.5 instance, siteadmin makes GET request with payload as param "isInWorkflow" to /bin/workflow.json which responses with boolean flag "status" (it is just checking lockIsDeep and lockOwner properties on corresponding node and preventing new workflow creation). So it is not client side checking, right? Ideally I need to substitute /bin/workflow.json logic and adding that request for workflow console (as it implemented on siteadmin). But, actually I don't know how to do this.
As possible solution, I can adding MyNewLockingProcess at the beginning of every workflow which will fail duplication workflows and MyNewUnLockingProcess at the end of every workflow
Hi Night elephant,
Overlay [1] and check if payload is part of workflow.
As i informed earlier server side not implemented yet, You might need to include MyNewLockingProcess, MyNewUnLockingProcess on all workflow models.
[1] /libs/cq/workflow/widgets/source/widget/ModelsPanel.js
Thanks,
Sham