Modeling the Notification Activity
Use
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.
Prerequisites
- 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
Procedure
- From the contextual navigation panel in GP design time, choose Create Action.
- In the Create Action dialog box, select English and choose Create.
- 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
- Make sure that Callable Object for Execution is selected from the Item dropdown box and choose
(New). - 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
- 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
- To advance to the Set Configuration screen, choose Next.
- From the E-Mail template dropdown box, select the Social Benefits Approval template.
- From the Send to dropdown box, select E-Mail Address passed as Context Parameter.
- Choose Next and then Finish.
- In GP design time, save and activate the new action.
Result
Once you have created the notification activities, you can go ahead and design the process template.
More information: Designing the Process Template