- 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 04:25 AM
Hi,
Please check with below code:
var gr = new GlideRecord('incident');
gr.initialize(); // Also you can put gr.newRecord() and check once
gr.setValue('status', current.variables.app_status);
gr.insert();
Please mark my respsone as helpful/correct, if it answer your question.
Thanks