Pass parameter through dialog window to record producer.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 01:34 AM
I have created an UI Action within a table which will show a pop up window of record producer.
I need to pass the record number from the opened record to the record producer variable.
how to pass value from opened record to the record producer variable?
UI Action which I have created has below script:
function redirect(){
var dialog = new GlideDialogForm('Open request','com.glideapp.servicecatalog_cat_item_view');
dialog.setTitle('Open request');
dialog.addParm('sysparm_id','6872789f4020c6d47f45743269459c19');
dialog.setSysID(g_form.getUniqueValue());
dialog.addParm('preview','true');
dialog.addParm('ticket', g_form.getUniqueValue());
dialog.render();
}