- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-01-2022 03:38 AM
To copy Select Box variable choice values to another table choice field ?
Below did not work for me , I wrote this in Workflow RunScript activity :
var gr = new GlideRecord('incident');
gr.initialize();
gr.assignment_group = current.variables.support_group.getDisplayValue();
gr.insert();
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-01-2022 03:42 AM
Hello,
remove getdisplayValue() and try below
var gr = new GlideRecord('incident');
gr.initialize();
gr.assignment_group = current.variables.support_group;
gr.insert();
}
Hope this helps
please mark my answer correct if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-01-2022 03:42 AM
Hello,
remove getdisplayValue() and try below
var gr = new GlideRecord('incident');
gr.initialize();
gr.assignment_group = current.variables.support_group;
gr.insert();
}
Hope this helps
please mark my answer correct if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-01-2022 04:05 AM
I tried already . It was not copying the choice value in table from variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-01-2022 04:14 AM
hello,
make sure that both the fields have same choice values .Then only it will be mapped
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-01-2022 04:29 AM
Ok...Let me double check it