You design an activity that allows the approver to send an e-mail notification of the decision made in the previous step.
You must provide two different notifications for the two possible outcomes: approval or rejection.
The procedure below shows you how to create the approval notification only. You can create the rejection notification in a similar way by providing a different name and e-mail template.
· You have the appropriate rights to work with GP design time.
More information: Authorizations
● You have created e-mail templates to be used for the notification e-mail messages.
More information: Creating Notification E-Mail Templates
...
1. From the contextual navigation panel in GP design time, choose Create Action.
2. In the Create Action dialog box, select English and choose Create.
3. Enter the following basic data:
¡ Name – Approval Notification
○ Description – Sends an approval notification
○ Folder – select the folder created for the tutorial, for example, My First Composite Form
4. Make sure that Callable Object for Execution is selected from the Item dropdown box and choose (New).
5. Enter the following basic data for the callable object:
¡ Type – from the Type list, select Miscellaneous → Send Notification.
○ Name – Approval Notification CO
○ Description – Sends an approval notification
○ Original Language – for example, English
○ Folder – select the folder created for the tutorial, for example, My First Composite Form
6. Choose Next.
On the Define Input screen, add two more input parameters:
Context Parameter |
Technical Name |
Type |
First Name |
firstname |
String |
Last Name |
lastname |
String |
7. To advance to the Set Configuration screen, choose Next.
8. From the E-Mail template dropdown box, select the Social Benefits Approval template.
9. From the Send to dropdown box, select E-Mail Address passed as Context Parameter.
10. Choose Next and then Finish.
11. In GP design time, save and activate the new action.
Once you have created the notification activities, you can go ahead and design the process template.
More information: Designing the Process Template