- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 01:47 AM
Hi ,
I would like to have a customized resolve button on the Incident Workbench.
I have a field Overview on the incident table. When user clicks on the resolve button on the incident workbench. I would like to populate the data that is already there on the field.
Below is the screeshot-
Here we can see that the Resolution notes is populated with the below code.
ar dialog = GlideModal.prototype.get("sn_major_inc_mgmt_mim_workbench_resolve");
var closeCodes = dialog.getPreference('CLOSE_CODES');
var currentCloseCode = dialog.getPreference('CURRENT_CLOSE_CODE');
var currentCloseNotes = dialog.getPreference('CURRENT_CLOSE_NOTES');
I would like to know how the above preferences are defined.
Thanks and Regards,
Praveen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2022 12:32 AM
Hi,
I was able to achieve this.
In Client script of the UI page - mim_workbench_resolve.
we have window.NOW.MAJOR_INCIDENT_WORKBENCH.sys_id.
This will return the sys_id of the incident.
So I created a client callable script include and passed the sys_id to get the incident fields values as a response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 01:53 AM
Hi,
Can you please share configuration of your UI Action?
Also complete script, it would be easy to suggest changes by modifying your UI Action script.
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 01:59 AM
Hi Anil,
It is the OOB UI Page which is called when we are click on the Resolve UI Action on the incident Workbench.
UI Action - Resolve
UI Page - mim_workbench_resolve
Thanks,
Praveen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 02:38 AM
Hi,
If you check that UI Page Client script part you can find resolutionNotes variable has been assigned the value of element
and it is assigning that value to
Check HTML part of this UI page which is modified, you need to follow same logic for Overview field in same UI Page.
Thanks,
Ail Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 06:59 AM
HI,
I tried these steps. But no luck.
The steps will capture the text entered by the user after clicking the Resolve button.