Modify OOB Vulnerable Item and Remediation Task Exception Request Reason (substate) Options

Mike K
Tera Expert

We have business requirements to amend the OOB Vulnerable Item and Remediation Task Exception Request Reason (substate) values by adding additional values. We added new entries and new values, the Exception Request button greyed out for the new entries, it works only for the OOB entries. What is the best practice / approach to add new entries and be able to submit the Exception Request.

 

1 ACCEPTED SOLUTION

Good morning AB,

Your investigation lead me to the right solution. The array of the ReasonValues has to be adjusted by adding the new values. (yellow is OOB, Blue new values)

ReasonArrayValues.png

 

Thank you for your help AB!

View solution in original post

8 REPLIES 8

Abhinav37
ServiceNow Employee
ServiceNow Employee

oh the Workspace... So I am not an expert in UI builder but I have played around a bit and figured out thus far this morning.

 

I am guessing this button enable/disable is controlled in a Client Script named validateFormFields on the Request Exception Task Default page.

Abhinav37_1-1715908380766.png

 

I thought modifying this client script would fix the disable problem, but for the life of me am unable to figure out why its not working as expected even after making the below client script changes. 

 

Abhinav37_0-1715908151931.png

 

I suggest raising a support case to see if they can help. Meanwhile,  i'll dig more deeper when I find some time.

 

Cheers

AB

 

If this explanation is sufficient please mark the reply helpful / accept as solution.

 

Good morning AB,

Your investigation lead me to the right solution. The array of the ReasonValues has to be adjusted by adding the new values. (yellow is OOB, Blue new values)

ReasonArrayValues.png

 

Thank you for your help AB!

Abhinav37
ServiceNow Employee
ServiceNow Employee

Glad it worked for you!

davidfisher
ServiceNow Employee
ServiceNow Employee

Hey Mike,

I just stumbled upon this one, in ServiceNow docs. See "Define policy reason mapping", found at

 

https://docs.servicenow.com/bundle/washingtondc-security-management/page/product/vulnerability-app-v...