Hi everyone, Babulal Ghule here again and in this blog post I will walk you through the steps to configure the notification workflow so that it will notify you if the assigned to user field is empty for an Incident or Service Request in System Center 2012 Service Manager (SCSM 2012).
We seem to get a few requests from customers on how to create this notification workflow as this is something that currently is not possible out of the box, however it can be achieved by using some XML magic. For this blog post I'll create a notification workflow that will notify the helpdesk every 10 minutes until the Incident or Service Request is assigned.
NOTE: For detailed steps on creating notification workflow in Service Manager, please refer this TechNet link:
Step 2: Create the notification workflow (periodic subscription)
I selected the target class as Incident but if you want to notify for Service Request then select Service Request.
'First assigned date'
in the criteria. This field will be updated with the date/time when Incident/Service Request is assigned to a user. If this field is empty then the incident is not assigned to any user yet, so we need to check if this field
isNull or isEmpty
but we don't have these operators in the UI. For now, add any temporary criteria here such as
"is less than or equal"
to '05/05/2013' as the UI will not allow us to click Next until we specify something here. But don’t worry, we will modify this MP and add the isNull operator in the XML.
If you like, you can also add additional criteria here based on specific requirements (e.g. you have multiple helpdesks). Make sure that you add all the criteria that you need here along with first assigned date as we will not be able modify this workflow from the UI after we make our changes in XML.
In the recurring notification section, specify the criteria that suits your requirement for recurring notifications. For this scenario, I want to notify the helpdesk every 10 minutes until the incident is assigned to an analyst. If you want to notify once then you can set
'End after number of occurrences' = 1
. This workflow will run every 10 minutes if thecriteria is true. This criteria will be false when incident has assigned to user.
Select the notification template and add the required recipients on the next screen.
Now we are done creating notification workflow from the UI, so it’s time to modify it using XML. To begin, export the management pack and open it in XML editor. Locate the
section in the MP for
"First assigned date"