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.

How to set values for location have region field ,according to that when

Rajababu
Giga Guru

Hi ,

There is requirement , currently they are using hard coded on sys-id .

But I want to change that script because day by day location increase and it hard to update every sys id on code.

 

So found that on location table there was region ,

So  can any onhelp how set values on task for example-

 

RITM created ,task generated and it auto get assign to group.

On task , i want to set when location selected San Francisco , script the on location table there is field name Region so there is only 4 region .

Like when region is USA then group set to be FAC-USA

IF region is EMEA the it set to be group as FAC-EMEA by script . 

 

 

6 REPLIES 6

Rajababu
Giga Guru

If i want to set the values by one task to incident form then ,What I need to do?

 

Rajababu
Giga Guru

Can any provide scrip for workflow run script .

 

Thanks,