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