Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hi @zyuan
It is configuration case.
OOTB the object is created with lifecycle template defined in OIR,
The revision do not change the lifecycle template if the object has the same LC template as definition in OIR.
If the object has different lc template then OIR definition, revision will change it
It can happen for example, if you move object to context where the lifecycle OIR definition is deferent then actual lifecycle template on the object, the revision change the lifecycle template based on the OIR in the context.
or if user uses workspace in one context where is different OIR definition then object which is added to the workspace from another context (product/project) in this case revision from creo could change the lifecycle.
PetrH
I total agree with you. @HelesicPetr
While I have a real problem that Windchill does not work like what we thinking.
I configured document to select different lifecycle template named 'template A' and 'template B' in OIR.
Then I create a document with 'template B' and change its state to 'Release'.
I believe the document in new revision should keep using 'template B', But after revise, document's lifecycle template became ' template A'.
I don't know how it happened.
Hi @zyuan
How do you configure OIR with "template A" and "template B" is there any condition if two templates are used ?
You can not configure two templates without conditions.
What context level do you change the OIR? Site/Org/Product/Library ?
PetrH
I referred below article and configured OIR according.
https://www.ptc.com/en/support/article/CS30088?source=search
HI @zyuan
Ok, this is interesting setting that user can define the Lifecycle template. I've never used it.
But it works same way as you use change reassign LC
If you chose different lifecycle template the revise function change it back based on OIR rule.
The revise operation check and uses the first configuration even though the user use different lifecycle template.
based on article CS273517 you would need to customize the behavior.
PetrH
It looks like I have found the cause.
In OIR, there is a default lifecycle template, When revise, Windchill will use default lifecycle template instead of keeping current lifecycle template.
<AttrValue id="lifeCycle.id" algorithm="com.ptc.core.foundation.lifecycle.server.impl.LifeCycleTemplateAttributeAlgorithm">
<Arg>Developmental CC2 Lifecycle</Arg>
</AttrValue>
Is there any way to modify OIR ?