...
Excerpt |
---|
Build an EscalationTo build an Escalation that will use a Notification:
|
...
- 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.
...
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.