Can anyone please advice how can I create escalations automatically based on previous escalation open days.
Example: I have crated three level escalation hierarchy and first person escalation is opened more than 2 days then next escalation should create for second person in hierarchy and if more than 2 day then escalation to third person in hierarchy.
Best answer by AdrianEgley
The Service Monitor Engine (SME) is a FSM Feature that is used to perform time based actions. It would be triggered by an XML Business Rule that would likely be fired when the initial escalation is created. The process requires MSMQ (Microsoft Message Queuing) be enabled on the application server. The SME Message is then split into 3 parts;
- action_time_value - basically do something in ‘x’ minutes or hours
- monitor_action - what XML is going to be triggered
- monitor_validation - check the previous escalation is still open prior to doing the action
In the example below the valid_if_found is ‘True’, so if the hierarchy select locates that escalation id and it’s still open then it will fire your XML to create a new one. You’d just need to add in your <monitor_action> below to create the new escalation.
<action_time_value>@expression[created_dttm + hours(48)]</action_time_value>
<!-- Add in the XML to trigger if the escalation is still in the same status after 48 hrs This is the Monitor Action.-->
To see what’s in the queue then log on to your application server using the Services Account. Once drilling into the Message Queuing you’ll be able to see what’s in there, and what’s pending to be fired and it’s execution date and time.
I hope this helps and I have explained it correctly.
But it really helps us drive some processes being able to check the current status of something and then action it if needed.