When ever category is Software, assignment group will be Software. How should i achieve this functionality by using Business Rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2019 02:46 AM
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,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2019 02:50 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2019 02:53 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2019 02:55 AM
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,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2019 02:56 AM
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