- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2020 05:23 AM
Hi Team,
I created a Record Producer on case table but i want to set Assignment Group on case form based on one Drop-down Variable in the Record Producer.
So i'm writing a Assignment Rule on Case table I'm Populating Record Producer name in Short Description Field of case form and this short Description field i'm using in Assignment Rule Condition i.e, Short Description contains 'Record Producer Name'
How to access Record Producer Variable from Case Form?
Thank You,
Balaraju K B
Solved! Go to Solution.
- Labels:
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2020 05:40 AM
Hi,
Sample record producer script
if(producer.variables.<variableName> == 'value1'){
current.assignment_group = 'group sys_id1';
}
if(producer.variables.<variableName> == 'value1'){
current.assignment_group = 'group sys_id2';
}
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2020 05:39 AM
Hi,
you cannot use variables in the Assignment rule condition.
you can try for script in the assignment rule
OR
set the group from record producer script itself
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2020 05:40 AM
Hi,
Sample record producer script
if(producer.variables.<variableName> == 'value1'){
current.assignment_group = 'group sys_id1';
}
if(producer.variables.<variableName> == 'value1'){
current.assignment_group = 'group sys_id2';
}
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2020 06:31 AM
Hope you are doing good.
Let me know if I have answered your question.
If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2020 06:49 AM
Hope you are doing good.
Let me know if I have answered your question.
If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader