Create and deploy the event handler
You create and deploy an event handler for push notifications in Oracle Service Cloud.
Before you begin
About this task
$inc = RNCPHP\Incident::fetch(37);
Procedure
-
The Process Designer opens.
-
The PHP code is loaded into the PHP Content field as read-only text, and the Procedure Name field is completed with gcm_incident.
-
You must save the event handler to test it.
-
If push notifications have been configured correctly, the Test Result window displays: start pushing notification ...GOOGLE_API_KEY:, and so on, and a push notification is sent to the mobile device.
-
A Deploy message displays.
-
The Process Designer is unavailable until the deployment completes.