
In Guided Procedures (GP) you can create and configure e-mail templates to use them as notifications in GP processes.
You must have GP administrator permissions to create mail templates.
More information: Authorizations
You can also create plain text and custom templates.
You can create different translation versions of the same template. To add a language version, choose Add and select a language. Provide language-specific content in the Content field.
You can personalize the title and content of the e-mail message by defining replacements. Replacements are placeholders that the system fills in dynamically with the runtime values of the corresponding context parameters.
More information: Replacements
You have created templates that you can use in callable objects in GP design time.
You can create s simple e-mail template that displays current system time by providing the following information:
|
Current system time is `write(sy.currenttime)`. |
|
Dear `write(ctxt.firstName)` `write(ctxt.lastName)`, Current system time is `write(sy.currenttime)`. Regards, `write(role.processor.lastName)` |
Make sure you have defined parameters for the names of the recipient in the context of the callable object, so that you are able to use these parameters in the template.
An e-mail message dynamically generated from the template above may look like this:
|
Subject: Current system time is 10/10/07 12:06 PM.
Dear Marcus Smith, Current system time is 10/10/07 12:06 PM. Regards, Adams |