- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2019 12:39 AM
I just wanted to trigger a notification through workflow whenever a new incident is created and assigned to a particular person.
Thanks in advance...
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2019 12:55 AM
Hi, Please follow below steps:
1) Create a new workflow on Incident Table
2) Under Workflow properties, condition Tab:
If condition matches: Run the workflow always
Condition: Assigned to is not empty
3) Add Notification activity in workflow.
BTW, whom you want to send this notification, as Assigned to person will get email OOB when you assigned an Incident ticket to any person.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2019 04:59 AM
Hi Piyush,
Thank you for the response, but wanted to know what is the script that is required to be added in runscript part for sending the notifications to that assigned person on the incident form..
Regards,
Divya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2019 04:57 AM
Hi All,
Thank you all for the responses.I'm new to servicenow and trying to learn things in workflow part, just wanted to create a workflow which will notify the "assigned to " person on an incident form..
And i had already tried with notifications and it worked but just wanted to do it through workflow.So what is the script that needs to be in runscript part????

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2019 05:22 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2019 06:17 AM
Hi Divya,
If the incident is already being assigned to someone as part of the workflow as well, the easiest is to just add a "Notification" activity after the task creation.
For example:
If you don't know the field names well yet, you can use the variable selector on the right hand side.
But to be honest: this is not a good way to handle this.
Much easier to work with notifications, they have much more options (nice HTML editor) + better to edit a notification then a workflow imo. Also setting up conditions is so much easier there than using IF/SWITCH and the liked in your workflow.
When you edit a workflow you always have a risk of breaking something other than the notification part, if you edit a notification the only thing that can go wrong is the notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2019 07:28 AM
It would be easier to do this using events and have a notification send when an event is processed. There should be an out of the box business rule that handles this when an incident is created.