Sending push notifications from a case
You can use the Push Notification shape to notify one or more users when a case requires action. By using an event-driven model to share information, you can ensure that cases are resolved quickly.
-
Add the Push Notification shape to the life cycle of your case.
- In the navigation panel of App Studio, click Case types, and then click the case type that you want to open.
- On the Workflow tab, click Life cycle.
-
Hover over a process in a stage, and then click + Step
> More > Automations > Push Notification.
Tip: For advanced processes, click Configure process to add the shape to the flow canvas.
- Click Select.
-
Identify the notification recipients.
-
To notify users in the same application:
In the Recipient type list, select Application.
You cannot change the value of the To field because it is populated with a name of your current application.
-
To notify users in the same access group:
-
In the Recipient type list, select Role.
-
In the To list, select an access group that is in your current application.
-
-
To notify a specific user:
-
In the Recipient type list, select User.
-
In the To list, select the ID of a user who belongs to an access group in your application.
-
-
-
In the Message field, press the Down Arrow key and select a
property that stores the notification message.
Tip: To create meaningful notifications, use a combination of text and property references, for example: "We have processed your loan application:" + .pyCaseID
- Optional: To allow users on mobile devices to open the case from the notification, select the Open a case in mobile app check box.
- Optional: To give an audible cue to users when the push notification is received, select the Sound alert check box.
- Enter the audit note.
- Click Save.