Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Vaughn,
Not sure if I understood your question correctly. However you can use below expression in workflow to change Promotion request name,
wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice) primaryBusinessObject;
wt.maturity.PromotionNoticeIdentity promotionNoticeIdentity = (wt.maturity.PromotionNoticeIdentity) pn.getIdentificationObject();
// instead of newName you can use variable from workflow
promotionNoticeIdentity.setName("newName");
wt.fc.IdentityHelper.service.changeIdentity(pn, promotionNoticeIdentity);
Hope this helps !!!
Thanks,
Shreyas