Solution # 107211
Type TAN
Created Date 27-Mar-2001
Last Updated 08-Apr-2004
Title
How To Capture the Creator of a Workflow Process in a Process Variable.
Details Additional Information
Description
-----------------
Using
the API distributed with Windchill, it is not possible to capture the creator of
a
Workflow Process Creator. This is because the necessary methods associated
with the
WfProcess section of the Windchill API distributed with Windchill
is unsupported.
Alternate
Technique
-----------------
For this particular instance,
use of the API has been granted. To capture the Creator,
use an expression
(in an expression robot) similar to the following:
wt.org.WTUser initiator =
(wt.org.WTUser)((wt.workflow.engine.WfProcess)self.getObject()).getCreator().getPrincipal();
Resolution
-----------------
This issue will be addressed in a
future publication of the Windchill API.