- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 10:46 PM
I have requirment to auto populate assignment group on change task as same as change request.
(function executeRule(current, previous /*null when async*/ ) {
var changetask = new GlideRecord('change_task');
changetask.assignment_group = current.assignment_group;
})(current, previous);
but this is not workling please help.
regards,
Siddhesh.
Solved! Go to Solution.
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 10:54 PM
Hello Siddhesh,
Solutions :-->
1) Create a dictionary override for the assignment group field on change task table and use the following script in the default value column
javascript:parent.assignment_group;
2)Code Snippet
task.assignment_group = current.assignment_group;
Regards,
Vaishnavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 10:33 PM - edited 02-20-2024 10:35 PM
Hi Siddhesh,
Go to workflow 'Change Request - Normal change tasks' (checkout) > Create Task node > Add this code under Advanced Script section 'task.assignment_group = current.assignment_group;'
It worked for me.
Please mark this if helpful.
Thanks