How to map a field from a record producer using scripts
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2020 03:58 AM
Hi i need help with a catalog client script. i'm trying to pass a value from the record producer to the incident based on value selected by the user. I understand we cannot use current to refer to the incident form,
if ((producer.team)== 'MAC'){
g_form.setValue('assignment_group','MAC-Support');}
i need this value to be mapped to the field in incident. But this is not working.
Labels:
- Labels:
-
Scripting and Coding
15 REPLIES 15
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2024 06:08 AM
The code below worked for my requirement.
The variable in Record producer is choice type.