Solved
How to find through code, if a given payload is in active workflow?
Hi
I have a payload path like /content/world/latest-news. I want to check if this page is in any active workflow job queue. How to check that through programing?
thanks
Srini
Hi
I have a payload path like /content/world/latest-news. I want to check if this page is in any active workflow job queue. How to check that through programing?
thanks
Srini
Have you tried this already?
Resource r = ResourceResolver.get("/content/world/latest-news"); WorkflowStatus wfStatus = r.adaptTo(WorkflowStatus.class);cheers,
Jörg
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.