cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to obatain the Context/Product of a Document in a Workflow

SOLVED
Newbie

How to obatain the Context/Product of a Document in a Workflow

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to obatain the Context/Product of a Document in a Workflow

wt.doc.WTDocument document = (wt.doc.WTDocument)primaryBusinessObject;

wt.inf.container.WTContainer container = document.getContainer();

View solution in original post

2 REPLIES 2

Re: How to obatain the Context/Product of a Document in a Workflow

wt.doc.WTDocument document = (wt.doc.WTDocument)primaryBusinessObject;

wt.inf.container.WTContainer container = document.getContainer();

View solution in original post

Highlighted

Re: How to obatain the Context/Product of a Document in a Workflow

Thanks Matt, worked as a charm.