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
In the actual Approve Promotion Request task, the Requested Promotion State is not included in the attributes on the task page, but it does show up on the email notification. I put in a ticket but they said there is no way out of the box to add that attribute to the task. Bizzare. So I already put in a request to Product Ideas to get that functionality. In the mean time, can someone with java expression knowledge help me include this in the instructions of the task? I am not really clear on what I need to do for that. I did see someone posted something similar, but I'm not sure how I get this work.
PromotionNotice pn=POB;
String matuarityState=pn.getMaturityState().getDisplay()toString();
I add an expression robot on the workflow Approve Promotion Request task. On the Expression page, what do I write? Can someone help me out?
Solved! Go to Solution.
Just FYI "PBO" (instead of "POB") is the standard way to refer to the "primary buisiness object" which in this case is the promotion request, on which the workflow process is running. There are other uses of PBO but this is one of the key uses.
Thanks. I wondered what that meant. I just reposted what someone else wrote here.
I still don't understand how to add this expression. Can anyone help tell me exactly what I need to do? Thanks.