How to use assignement rule in custom table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2022 09:25 PM
Whenever a user selects Category as ServiceNow and subcategory as Fundamentals, the Assignment group should be automatically set to custom group created in Assignment 1 and assigned to should be Group Manager else another other selection should clear the value of group field.
- Labels:
-
HR Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2022 10:08 PM
is it correct?
(function executeRule(current, previous /*null when async*/) {
if(current.category == 'servicenow' && current.subcategory == 'Fundamentals')
{
current.u_assignment_group = "c31cc1d897411110a51ed200f153af21";
current.u_assigned_to = current.u_assignment_group.manager;
}
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2022 10:09 PM
But it's not working