When ever category is Software, assignment group will be Software. How should i achieve this functionality by using Business Rule

Veera raju
Tera Expert

Hi,

When ever  category is Software, assignment group will be Software. How should i achieve this functionality by using Business Rule.

Can any one provide me the solution for the same.

 

regards,

9 REPLIES 9

Harsh Vardhan
Giga Patron

you can write onChange() client script on category field. 

 

var abc = g_form.getValue('category');

if(abc=='Software')

{

g_form.setValue('assignment_group','Software group sysid');

}

 

this way you can do that. 

 

Harsh Vardhan
Giga Patron

Note: it depends how do you wanna do that, 

business rule , assignment rules and client script can solve this kind of requirement easily. 

 

i would recommend you to try it to your self by referring the below link. here you will find the numbers of function details related to server and client. 

 

https://developer.servicenow.com/app.do#!/api_doc?v=madrid&id=c_GlideFormAPI

I used the same code in Client script..

But i want to achieve the same functionality by  using the BR.

 

Can you help me on the same.

Regards, 

open the business rule and you dont need to write the script for that.

use the condition to validate and in action tab set the value