Woonsan,
I guess you should be on the CMS 7 list.
If a document is pending for request it will have a child node
(hippo:request) with the needed information. You can probably check for
that.
Regards,
Jeroen
Woonsan Ko wrote:
Hi All,
I have a quick question on the Wokflow support APIs used by CC. In a
nutshell, I end up getting these exceptions in the logs:
org.hippoecm.repository.api.WorkflowException: publication request
already pending
Of course, this is caused by making multiple edits using workflow
updates on nodes in the CMS without approving them along the way.
What I want to know is how I can detect whether there is a pending
workflow operation on a node before I operate on it. Does somebody
know how I can do that programmatically?
Regards,
Woonsan
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html