Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I'm trying to obtain the context that holds a document from a Workflow expression.
I have been studying Java Doc but actually havent found any way to do it.
Could anybody help me with a clue or a suggestion.
Regards
Solved! Go to Solution.
wt.doc.WTDocument document = (wt.doc.WTDocument)primaryBusinessObject;
wt.inf.container.WTContainer container = document.getContainer();
wt.doc.WTDocument document = (wt.doc.WTDocument)primaryBusinessObject;
wt.inf.container.WTContainer container = document.getContainer();
Thanks Matt, worked as a charm.