Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Populate Assignment Group from Catalog Item Fulfillment Group ('group') Field

Blaze2
Kilo Guru

I want to populate the Request Item Assignment Group Field from the Catalog Items's Fulfillment Group ('group') Field on the request and the task. it is set to Service Desk. i have other groups for other cat items

How would I populate this in a run script. I tried 

current.assignment_group = current.cat_item.group;

current.assignment_group = current.item.group; and no dice. 

 

 

 

1 ACCEPTED SOLUTION

arielgritti
Mega Sage

Hello

I dit try with this:

 current.assignment_group = current.cat_item.group;

 

And works.

The workflow is on the sc_req_item table.

 

Please, mark correct or useful if i helped you

Thanks

Ariel

View solution in original post

6 REPLIES 6

arielgritti
Mega Sage

Hello

I dit try with this:

 current.assignment_group = current.cat_item.group;

 

And works.

The workflow is on the sc_req_item table.

 

Please, mark correct or useful if i helped you

Thanks

Ariel

Mike Patel
Tera Sage

you can use current.assignment_group = current.cat_item.u_group; in workflow

most likely you have custom field on item table.

Blaze2
Kilo Guru

I tried it and for some reason no dice, 

 

it should work. i used it. can you please share the screenshot?