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

We are happy to announce the new Windchill Customization board! Learn more.

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

rserhan
1-Newbie

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
dwilliams
6-Contributor
(To:rserhan)

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();
Top Tags