- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2016 08:57 AM
Salut,
I have a incident record producer and I would like to know (from the script section) how can I read the Fulfillment group catalog item field and populate the Assignment group of the incident.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2016 09:47 AM
Are you referring the fulfilment group on item definition ? If yes, the below script will work
var map = gs.action.getGlideURI().getMap();
if (map.get('sysparm_action') == 'execute_producer' && map.get('sysparm_id') ) {
var getRecordProducerData = new GlideRecord('sc_cat_item_producer');
if(getRecordProducerData.get(map.get('sysparm_id')))
{
current.assignment_group=getRecordProducerData.group;
}
}
I haven't tried it on Service portal yet. I had written this for one of the threads and got the comment that it doesn't work for service portal.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2019 06:17 AM
Hi,
It has been bugging me for ages where 'u_fulfillment_group_1' is set and in a round about way your article helped me find the list view value 'Fulfillment Group 1'.
I didn't realize that you could set the team to complete the work here and then refer to it in the workflow catalog task.
Nice one - thanks....