Vulnerability Response- Request Exception UI Action - Where to edit choice list?

jlaps
Kilo Sage

I am having trouble locating the choice list to edit when the UI action REQUEST EXCEPTION is clicked on the VIT-

find_real_file.png

I have inactivated the RISK ACCEPTED reason/sub-state on several VR tables to no effect on this UI Action. How/where do I remove a choice from this popup box?

UI ACTION text-

function showExceptiondialog() {
    if (g_form.modified) {
        g_form.addErrorMessage(new GwtMessage().getMessage("Before requesting exception for this item you must save your changes."));
        return;
    }

    var title = getMessage("Request Exception");
    var sysId = g_form.getUniqueValue();
    var dialogClass = GlideModal ? GlideModal : GlideDialogWindow;
    var dd = new dialogClass("sn_vul_review_request");
    dd.setTitle(title);
    dd.setPreference('sysparm_sys_id', sysId);
    dd.setPreference('sysparm_is_entry', false);
    dd.setPreference('sysparm_only_defer', true);
    dd.setPreference('focusTrap', true);
    dd.setWidth(500);
    dd.render();
}
4 REPLIES 4

Musab Rasheed
Tera Sage
Tera Sage

Copy paste dialogclass name in UI Macro or UI page modules and see if you can find.

Please hit like and mark my response as correct if that helps
Regards,
Musab

sn_vul_review_request does not exist as a table unfortunately. Not sure where/what that is. Found similar sounding table names that had the exact choices shown- inactivated RISK ACCEPTED, but this UI ACTION still shows it.

This isn't true...it exists; however it is a UI page called titled review_request. You need to search the UI page by the Endpoint field having the value of sn_vul_review_request. The Risk Accepted choice is from the Reason [substate] field on the Vulnerable item table; however, disabling it does not affect the UI Page choice drop-down, due to the UI Page HTML pulling back all of the choices, without checking against active vs. inactive. You would have edit the UI Page HTML g_evaluate to add the condition or update the UI Page client script to skip the substate choice if the Inactive value is true.

RajiniSreeS
Tera Expert

I have the same issue; did you find the solution for this?