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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Review Promotion Request - Conditional

Cosmo
1-Newbie

Review Promotion Request - Conditional


Hi All,
I believe we're using the OOTB Promotion Request Review workflow.
In this workflow, there is a "Review Promotion Request" task. We would like to setup a conditional that checks the target state of the object is being promoted. If this promoted state is going to be "obsolete," then we'd rather skip this review task.
Does anyone know how the find the state of the object being promoted?
Thanks in advance.
Mike -

2 REPLIES 2
MikeLockwood
22-Sapphire I
(To:Cosmo)

Better to set up a different workflow process that always gets used for target state = obsolete. The UI is not all that intuitive but works once you get the hang of it. Note: This is missing in 9.0, added back in 9.1.

[cid:image001.png@01CBD8BC.9026BC20]
[cid:image002.png@01CBD8BC.9026BC20]
[cid:image003.png@01CBD8BC.9026BC20]

dwilliams
6-Contributor
(To:Cosmo)

You could use the following expression to get the target state.

wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject;
//maturityState is a process String variable
maturityState = pn.getMaturityState().toString();
Top Tags