Need to capitalize Ui button from resolve to Resolve in SOW

suryaogeti1
Tera Contributor

Hi all,

We have a resolve button in SOW incident which is 'Resolve'. when we click that we are receiving one pop up for updating resolution code and notes and after that we need click resolve in the pop up. Here in pop up page, we have Ui button like this 'resolve' I need convert that to 'Resolve', Don't how this was changed. I even checked in my PDI it is working fine as expected. but in my org. instance i am facing. Guide me where to change that configuration. in which table. please find below snips.

suryaogeti1_0-1777988868478.png


client wants us to change from resolve to Resolve

suryaogeti1_1-1777988907501.png

 

1 ACCEPTED SOLUTION

Hi @suryaogeti1 

 

In your screenshot the first record needs to be corrected.

Key: resolve  & Message: resolve

That is exactly why your modal button is showing lowercase "resolve"

 

In SOW, labels like Button text, Modal titles, Action labels are often pulled from "sys_ui_message".

So even though your payload says "saveLabel": "Resolve" the system is overriding it using

Key = resolve & Message = resolve

 

Open this record Key = resolve & Message = resolve

Change  "Message = resolve" to "Resolve" then 

Save > Clear cache > Reload Workspace

By looking to the screenshot the issue was caused by a sys_ui_message entry where the key "resolve" had the value "resolve". Workspace was using this message key, which override the payload label. Updating the message value to "Resolve" by this you can fixed the issue.

 If you found this useful, feel free to mark it as Helpful and accept it as the solution.

If you found this useful, feel free to mark it as Helpful and accept it as the solution.
Regards,
VaniMadhuri

View solution in original post

13 REPLIES 13

GlideFather
Tera Patron

Ahoy @suryaogeti1,

 

usually there is a value/name and label, e.g. "in_progress" and "In Progress", your "resolve" in lower case indicates that somebody's gone wild or deleted it.

 

If it works in your PDI then compare everything and revert what is not matching.

 

You can check [sys_update_xml] table with all updates and/or [sys_audit_delete] for deleted records and restore from there.

 

This seems to be related to modals and/or ui pages, try to check the sys_update_xml carefully (it is table where all custom changes are stored, everything that is captured in an update set, default or current).

 

It is difficult to help you more without visibility to your instance, try this and let me know what you found

 

EDIT: typo correction (highlighted in orange)

_____
Answers generated by GlideFather. Check for accuracy.

Rakesh_M
Kilo Sage

Hi @suryaogeti1 ,
1.Navigate to ALL>>Declarative Actions >> Form Actions
2.Open the record where action label=resolve and table is incident.

Rakesh_M_0-1777989791925.png

3.Open Specify client action record (SOW Incident Resolve V2)

Rakesh_M_1-1777989855584.png4.Here Update the modal title and save.

Rakesh_M_2-1777989946843.png

 

 

Ankur Bawiskar
Tera Patron

@suryaogeti1 

seems somebody customized it

go to this Record in your instance and revert to the OOTB version

https://instanceName.service-now.com/nav_to.do?uri=sys_declarative_action_assignment.do?sys_id=127dba4b77733010e35c06e57b5a9949%26sysparm_view=form_action

56.png55.png

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Rakesh_M
Kilo Sage

Hi @suryaogeti1 ,

{
"route": "sowformmodalv2",
"fields": {
"table": "{{table}}",
"sysId": "{{sysId}}",
"title": "",
"view": "sow_incident_resolve_modal"
},
"params": {
"saveLabel": "Resolve",         //this text is displayed on button 
"isGFormSave": true,
"setFieldOnLoad": {
"state": 6
},
"setFieldOnSave": {
"state": 6
},
"onclickAppseeEvent": "Click Incident Resolve Modal Action",
"modalTitle": "Resolve"       //this text is displayed as Title
}
}

Here,
modalTitle -- this text displayed as Title of pop-up
saveLabel -- this text is displayed as label of Button in Pop-up