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.

If User selects '"I am unable to work (or my colleague on behalf of) " in Report an Incident form

Disha Patel2
Tera Contributor

If User selects '"I am unable to work (or my colleague on behalf of) " in Report an Incident then below values should be set in incident

Impact : 2 - Medium Urgency : 2 - Medium Priority :3 - Moderate

 

Where can I make this changes? Please help

2 REPLIES 2

AnveshKumar M
Tera Sage
Tera Sage

Hi @Disha Patel2 

You can use the script field in record producer to set the value.

 

 

var unable_to_work = producer.<YOUR_VARIABLE_NAME>;

if(unable_to_work == 'I am unable to work (or my colleague on behalf of)'){
	current.impact = "2";
	current.urgency = "2";
}

 

 

AnveshKumarM_0-1698848372412.png

 

Please mark my answer helpful and accept as solution if it helped t👍✔️

Thanks,
Anvesh

Dipen Wadhwana
Giga Guru

Hi @Disha Patel2 ,

 

You can write the logic in script section of that record producer.

 

Please mark my answer as helpful if it helped you.