Try OpenEdge Now
skip to main content
BP Server Developer's Guide
E-mail templates for task completion : Pre-populated output dataslot values
 

Pre-populated output dataslot values

The BP Server variable PCTX.OUTPUT_DATASLOTS represents the list of output dataslots for a workstep in a text e-mail template, whereas the variable PCTX.ALL_WS_DATASLOTS represents the list of output dataslots for a workstep in an HTML e-mail template. However, by default, output dataslot values are printed also. The user can modify these output dataslot values while sending the reply e-mail.

Printing of output dataslots

If you do not want to print the values of output dataslots, then you can set the value of the property "bizlogic.email.template.print.outputvalues" to False. The default value is always true. However, this variable is required only for the BP Server variable PCTX.OUTPUT_DATASLOTS. If the user writes custom template, then it is possible to control which output dataslot value to be printed.
{dsName1} = [${dsName1}]        //to show the current value of "dsName1" to e-mail user
{dsName2} = []        //current value is not shown to the e-mail user