We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Assign Fulfillment Group Script

jcsmith
Kilo Contributor

Hopefully this is an easy fix.   I'm attempting to automatically fill the fulfillment group for a catalog task based on a selection in another field (which team).   I'm trying this line of code in the Script portion of the catalog task of the workflow:  

task.fulfillment_group = current.variables.infrastructure_team_select;

Anyone know why this wouldn't be working?   I'm not a developer and have zero scripting background, so I'm trying to dive into this a little bit at a time.

12 REPLIES 12

Did you try like this..



task.assignment_group = current.variables.infrastructure_team_select;


jcsmith
Kilo Contributor

I actually tried that as well, and it was unsuccessful.


Hi,


that should be task.assignment_group not task.fullfillment group unless it is a customized field. Incase of customised field it might be task.u_fulfillment_group