Question
Lifecycle/Workflow expression robot question
I have a basic lifecycle defined named Engineering that is used for
epm documents. When a document is at a released state and is revised
it goes to "In Work". After the revision is completed, checked in, and
approved either via a change notice, or promotion request the document
is put back to the released state.
We have a 3rd party MRP software that we want to notify when a part number
goes to the "In Work" state and also notify when the part number is
approved back to the release state.
I have a java class written that will do this notification to the 3rd
party mrp system. What I need help with is some tips on how to get the
lifecycle to actually use this class when the document goes to
"In Work" and again when the document goes back to released.
I have played around a little bit by copying my existing basic life cycle
and turning this copy into an advanced life cycle in order to have work
flows. In the "In Work" phase of the advanced lifecycle I have created
simple workflows for the phase process and the gate process.
The simple workflows are like this:
Start -> Expression Robot -> End
The expression robot is simply a "System.out.println("here at workflow");
just to see if anything is happening.
However after assigning this advanced life cycle to an epmdocument and
revising I have no output in the Windchill log files.
So I asking for some tips/pointers on where to go from here.
Thanks
--
epm documents. When a document is at a released state and is revised
it goes to "In Work". After the revision is completed, checked in, and
approved either via a change notice, or promotion request the document
is put back to the released state.
We have a 3rd party MRP software that we want to notify when a part number
goes to the "In Work" state and also notify when the part number is
approved back to the release state.
I have a java class written that will do this notification to the 3rd
party mrp system. What I need help with is some tips on how to get the
lifecycle to actually use this class when the document goes to
"In Work" and again when the document goes back to released.
I have played around a little bit by copying my existing basic life cycle
and turning this copy into an advanced life cycle in order to have work
flows. In the "In Work" phase of the advanced lifecycle I have created
simple workflows for the phase process and the gate process.
The simple workflows are like this:
Start -> Expression Robot -> End
The expression robot is simply a "System.out.println("here at workflow");
just to see if anything is happening.
However after assigning this advanced life cycle to an epmdocument and
revising I have no output in the Windchill log files.
So I asking for some tips/pointers on where to go from here.
Thanks
--

