- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2018 01:58 AM
I have a requirement like all software assignment group incidents have to assign to network group only by the network group members.How to achieve this?
Regards,
Gokulraj S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2018 04:38 AM
It hasn't updated the record, you can another line to return it to the previous value.
if(!gs.getUser().isMemberOf('Network') && current.assignment_group.getDisplayValue() == 'Network'){
gs.addErrorMessage('only Network team members can assign to the Network group');
current.assignment_group = previous.assignment_group; //revert to previous value
current.setAbortAction(true);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2018 04:45 AM
Hey David Dubuis
It works perfectly. I am beginner to servicenow, please send me some useful threads to learn.
Regards,
Gokulraj S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2018 04:54 AM
There's a lot of good training material on the developer website, the scripting learning plans at the link below will be particularly useful if you're just starting out. You can also get your own personal developer instance on there so you can try things out and hone your skills.
Also, Service Now offer good training courses if you can afford them or if you can get your company to pay.
Other than that, searching the docs site for info, the developer site for API details and the community for specific solutions is the way forward! I found it particularly useful to look at the type of problems other people were posting on the community and trying to figure out my own solutions and then seeing what other people came up with.
Product Documentation | ServiceNow
https://developer.servicenow.com/
Good luck out there! Please mark my answer correct to close this thread down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2018 04:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2018 05:00 AM
Yeah, it hasn't updated the record though so if you right click and reload the form it'll revert to the previous value. if you want it to revert to the previous value you will need to use the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2018 05:03 AM
ohh okay.Anyway ,Thanks for the help man.