Never mind. I got the answer. Posting here in case someone winds up here, looking for the same answer.
Node handleNode = persistableSession.getNode(handleNodePath);
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
Hi,sorry no one responded to your question (sometimes we are busy :( ). Thanks for reporting back, it is appreciated.mvg,Jasper
On Tue, Jun 13, 2017 at 8:27 PM, <hariva...@gmail.com> wrote:
Never mind. I got the answer. Posting here in case someone winds up here, looking for the same answer.Node handleNode = persistableSession.getNode(handleNodePath);Node requestNode = handleNode.getNode("hippo:request");DocumentWorkflow wf = (DocumentWorkflow) workflowPersistenceManager.getWorkflow(DEFAULT, handleNode);wf.cancelRequest(requestNode.getIdentifier());Hope this helps :)
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.