Skip to main content
1-Visitor
March 4, 2011
Question

Inserting the Promotion Notice Description text to the Workflow Activity and Notification

I Would like to utilize the user Description entered in step 1 of the PN Wizard, in the notification robot, and potentially in the assignment form.


My thinking, if I can add a variable to the PN Workflow that points to the Windchill PN Description variable, then I could definitely accomplish my goal, the question which windchill variable I choose?



1 reply

1-Visitor
March 4, 2011
You can pass the Promotion Notice description into a String variable using the expression below.

wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject;
String promotionDescription = pn.getDescription().toString();
Translate