Skip to main content
8-Gravel
March 20, 2025
Solved

Change resulting objects in change activity to Under review before release

  • March 20, 2025
  • 1 reply
  • 473 views

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. 

 

Best answer by HelesicPetr

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

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
March 25, 2025

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

RUK18-GravelAuthor
8-Gravel
April 1, 2025

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