- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2017 08:40 PM
Hi,
I am looking for a way to create multiple incident tasks through a template from an Incident. I know this can be done through the catalogue workflow.
Unfortunately we unable to apply that method in here.
Is there any way that I can create 5 incident tasks from parent incident by applying a template?
Please provide some information.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2017 11:42 PM
Hmmm. I don't think you can do a "template" for this. If I had to solve this without workflow I think I would create each incident task as a template and either have a very good namning convention or I add a field which I could use to group those templates together.
Then I'll either make it automatically through a after/async BR so it gets created depending on some conditions like category/subcategory or I'll make a UI action for the Service Desk to press and it will then create the tasks from templates and connect them to the incident.
Does that make sense?
//Göran

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2017 08:45 PM
you can do like this. this would create 3 task
- for(var i=0;i>3;i++)
- {
- var gr = new GlideRecord('incident_task');
- gr.initialize();
- gr.short_description = 'This is a test incident task';
- gr.insert();
- }
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 10:56 PM
Thanks Hariah,
How do I apply this business rule?
Our service desk receive incident from customers , sometimes they need to create more than 5 tasks writhin an incident. In that case they would like to apply a Template to auto create those tasks and assigned to different team.
Can i include this business rule within the template?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 11:02 PM
I did not understand your requirement
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 11:04 PM