Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

Change resulting objects in change activity to Under review before release

RUK1
7-Bedrock

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. 

 

1 REPLY 1
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

Announcements



Top Tags