automatically creating problem based on incidents
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2016 04:30 AM
Hi,
I am new to service now .I want to create a problem record automatically based on incidents.for example if there are 10 incidents of same type then i need to convert that incident to problem automatically is it possible ? if yes please reply to me.Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saturday
I tried this business rule but problem ticket is not getting created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hi @soumya090 ,
This is very old post and author did not accept any solutions, if you have similar kind of question, please make a new post.
Thanks,
Bhimashankar H
-------------------------------------------------------------------------------------------------
If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
First, that script has massive problems with it. Its a mess. Do you understand what instructions its giving? If not, do NOT build it.
This thread is 9 years old. Flow Designer has come a long LONG way in that time, and can adequately replace a script of this nature without a lick of code. The most important (and difficult) thing you need to do is DEFINE THE CONDITIONS UNDER WHICH A PROBLEM IS CREATED. You need to use machine interpretable conditions, and not "similar incidents".
From that point the solution is easy:
Flow Trigger: Incident Create or Update
1. Query Record: (condition based on your "similarity" conditions above)
2. If (count of 1) > 0
3. Create Task
- Task Type = Problem
- Short Desc = <whatever>
- Assignment Group = <whatever>
4. For Each of 1
- Update Record (instance of 4)
- Problem reference = record created in 3.
No javascript needed.