- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2017 07:35 AM
Hi,
Question:-
(a) An incident is raised. 2 tasks get associated simultaneously and parallel (not one after another) i.e task 1 and task 2.
(b)After the completion of tasks, task 3 gets generated from task 1 and task 4 gets generated from task 2.
(c)A request cannot end until each both tasks are closed.
I have created workflow for the same,but when I create incident ,incident tasks are not getting attached to incident.
Please refer the screen shots for the same.
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2017 10:50 PM
Hi DS
Yes you can create without writing script. There is a task activity that you need to add in the workflow.Make sure that the task type you selected is incident task. Please see the screenshot attached.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2017 11:09 AM
Use run script activity and insert a new record in task.
var NS= new GlideRecord("u_incident_task");
NS.initialize();
NS.u_short_description = current.short_description;
NS.u_description = current.description;
NS.u_caller = current.caller_id.getDisplayValue();
NS.u_manager = current.u_manager.getDisplayValue();
NS.u_location = current.location.getDisplayValue();
NS.u_assigned_to = current.assigned_to.getDisplayValue();
NS.u_assignment_group = current.assignment_group.getDisplayValue();
NS.insert();
gs.addInfoMessage(gs.getMessage('record inserted:'+current.number));
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2017 10:40 PM
Hello,
Without using script can I create incident task using workflow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2017 10:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2018 02:11 PM
When I change it to incident task they show up as a task in the list view instead of incident task.