(v1) .Creating an Escalation v2020.3
To build an Escalation that will use a Notification:Build an Escalation
Build an Escalation with a Sequence Event
- On the Escalations screen, click the button to open the Escalation builder form:
- Fill in the required fields in the header area:
- Escalation Name: "Abort Escalations on SD Void"
- Start Event: "ServiceDesk Item Status Changed"
- Add a Sequence by clicking the button on the Sequence tab's grid.
- Set Sequence # of "100"
- Select Esc. Sequence Event as the Type
- Set a Time To Wait of "5m"
- Give the Event a unique name (all Sequence Events must have unique names from each other, regardless whether they appear on different Escalations)
- "SD Item Voided"
- NOTE: You may combine Sequence Events with other Sequence items, but keep in mind when using the Sequence Event to abort a different Escalation, timing of execution is a factor.
- Save the Sequence & close the Sequence form.
- Leave the Escalation form open for the next section.
Adding Criteria to the Escalation
Criteria narrow the conditions that allow an Escalation to begin its Sequence of actions by examining pieces of data from the triggering Event.
Sequence Events are most effective when coupled with Criteria, so you can narrow down the conditions that will generate the custom Event.
- Click the Criteria tab & click the button on the grid.
- Description: "ServiceDesk Status VOID"
- Data: select "SD_STATUS"
- Comparison: select "Equal"
- Sd Status Value (appears when you choose the Data option): select "Void".
- Save the Criteria & close the Criteria form.
- Save the Escalation & close the Escalation form.
Using the Escalation Sequence Event
As An Abort Event
When the "Abort Escalations on SD Void" Escalation is started by a Service Desk status change of Void, the custom event will be generated. When that is triggered, it will find any running instances of "Worker Assigned Workflow Message" and mark them to abort.
- Re-open the "Worker Assigned Workflow Message" Escalation (double-click or single-click and click the button).
- Click the Abort Events list and scroll to the bottom. You'll see the custom "SD Item Voided" Event. Check it.
- Save the Escalation & close the form.
As A Notification Event
When the "Abort Escalations on SD Void" Escalation is started by a Service Desk status change of Void, it will send out this Notification. If you've also used the Sequence Event to abort other Escalations, both actions will occur.
You can send Notifications using the Sequence Events, but to do so you'll have to create a new Notification or make a copy of an existing one, because an existing Notification's Event designation can't be changed.
- Go to Admin > Escalations/Notifications > Notifications.
- Click the button or
- Double-click an existing to edit.
- Click the menu, then "Copy to New Form".
- Open the Event list and find your Sequence Event at the bottom.
- Select it, complete the rest of the Notification, and click the button.
With Custom Events
Escalations can be used with Custom Events, as well as the predefined System Events. For information on creating your own Events, see the article on Custom Events in this wiki.
Build an Escalation for interacting with a REST API
Using Escalations, your Organization can set up an interaction with an external REST API Endpoint.
- Create a Service Host for the REST API your Organization wants to communicate with.
- Create an Escalation to trigger the REST API. (This Example is using a QuickTick to communicate with the external REST API)
- Add a Sequence to the Escalation.
- Set the Escalation to Active and save.
- Create a Custom Event to handle the response data.
- Create an Escalation that will trigger from the event Escalations -> Response Received from Escalation REST API.
- Add a Sequence to the Escalation to refer the response data to a Custom Event.
- Set the Escalation to Active and save it.
Once this is complete, whenever the Escalation triggered within PCR-360 occurs, data will be sent to the External REST API Endpoint, and it's response will be handled by a second Escalation. This creates a new communication point between PCR-360 and an external service your Organization desires to add.
Help Desk Portal - Email: help@pcr.com - Phone: 616.259.9242