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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Set State of Promotion Targets to APPROVED or REWORK using wt.maturity.MaturityServerHelper

vmcdaniel
12-Amethyst

Set State of Promotion Targets to APPROVED or REWORK using wt.maturity.MaturityServerHelper

Guru's! Happy Holidays!

I wasn't able to find a posting covering this, can you send me the right way?

In our Promote to Released workflow we would like to set promotion objects from WIP->UNDERREVIEW->REWORK->APPROVED->RELEASED.
The OOTB PR workflow covers the LOCK(UNDERREVIEW) and UNLOCK(WIP) and PROMOTE(RELEASED), these are all done with the wt.maturity.MaturityServerHelper class.

Is there a method in that class to set to my promotion targets to APPROVED or REWORK state?

In my Change Task workflow I use this to set states: wt.maturity.TransitionHandlerFactory.getInstance().transitionTargets(primaryBusinessObject, wt.lifecycle.Transition.toTransition("REVIEW"), false);

Thanks in advance

Vaughn McDaniel III | Engineering Services Group - PLM/CAD Applications | Kärcher North America - Englewood | x:75245828 m:720.216.3495 o:303.783.5828 | vaughn.mcdaniel@karcherNA.com<">mailto:vaughn.mcdaniel@karcherNA.com> | 1351 W. Stanford Ave., Englewood, CO80110

0 REPLIES 0
Announcements


Top Tags