On Wed, Jan 13, 2010 at 10:39 AM, Jeroen Reijn <[email protected]> wrote: > 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.
The problem is that the hippo:request has binary data, which afaik you can not interpret. So, you do not know whether the request is for deletion / publication / de-publication, etc etc Regards ard > > 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 > > ******************************************** 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
