...
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.