Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: No Object name/number in Approve Promotion Request email?? WC 9.1

$
0
0

Hey,

1. Create a variable in the workflow template administrator.

- for example objInfo and description or sth. similar

 

2. Link your variable with a value.

- Usually you can do this in the conditional like

    For objInfo 

- wt.workflow.engine.WFProcess proc = (wt.workflow.engine.WFProcess)self.getObject();

      objInfo = proc.getName();

     For description

   - wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject;

      description = pn.getDescription();

 

3. Call your variable in the mail wizard of the workflow template administrator

     {objInfo}

     {description}

 

Good luck


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>