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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Translate the entire conversation x

Change resulting objects in change activity to Under review before release

RUK1
8-Gravel

Change resulting objects in change activity to Under review before release

Hello, 

 

Im looking for a way to lock (change to status Under review) resulting objects during Design review. We have a similar process for Promotion request with following expression : 

 

wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject;
try
{
wt.maturity.MaturityServerHelper.service.lockTargets (pn);

}
catch( Exception wte )
{
wte.printStackTrace();
}

 

Is there any way to apply this for Change activity resulting objects? 

 

Thank you very much in advance. 

 

ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
22-Sapphire II
(To:RUK1)

Hi @RUK1 

Yes you can write own code to change the state, or check the lock transition and based on the lifecycle configuration you can change the state.

 

You need to write own code to do so. 

 

PetrH

View solution in original post

2 REPLIES 2
HelesicPetr
22-Sapphire II
(To:RUK1)

Hi @RUK1 

Yes you can write own code to change the state, or check the lock transition and based on the lifecycle configuration you can change the state.

 

You need to write own code to do so. 

 

PetrH

as I expected, I will take a look into that, thank you. 

Announcements
Top Tags