Community Tip - You can Bookmark boards, posts or articles that you'd like to access again 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