For the Social Benefits Distribution process, you need to create e-mail templates for approval and rejection. You use these templates in the last notification step of the process, where a notification is sent by e-mail to the employee.
You have the appropriate rights to work with the GP Administration workset.
More information: Authorizations
...
1. In the portal, navigate to Guided Procedures → Administration.
2. Choose General → Maintain E-Mail Templates.
3. Under New, choose HTML Template.
4. Provide the following basic data:
¡ Master Language – English
¡ Technical Name – approve or reject
¡ Language – English
¡ Title – Social Benefits Approval or Social Benefits Rejection
¡ Content Type – HTML document
5. In the Content text area, enter the contents of the notification.
You may copy the examples provided in the Example section below and paste them in the text area.
6. To check the syntax of the HTML document, choose Check.
7. Finally, choose Create.
The examples use replacements for a set of context and system parameters:
● ctxt.firstname – employee’s first name
● ctxt.lastname – employee’s last name
● role.initiator.lastname – initiator’s last name
● sy.currenttime – current date and time of the system
Example of Approval Notification Template |
<html> <head> <title>Social Benefits Approval</title> </head> <body> <p> Dear Mr/Ms `{ writeln(ctxt.firstname); write(ctxt.lastname); }`,</p> <p>The social benefits distribution that you requested was <b>approved</b> on `{ writeln(sy.currenttime); }`. </p> <p>Best regards,</p> <p><i> `{ writeln(role.initiator.lastname); }` </i></p> </body> </html> |
Example of Rejection Notification Template |
<html> <head> <title>Social Benefits Rejection</title> </head> <body> <p> Dear Mr/Ms `{ writeln(ctxt.firstname); write(ctxt.lastname); }`,</p> <p>The social benefits distribution that you requested was <b>rejected</b> on `{ writeln(sy.currenttime); }`. </p> <p>Best regards,</p> <p><i> `{ writeln(role.initiator.lastname); }` </i></p> </body> </html> |