Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

SOW Resolve Modal custom field is not populated

exprozor
Tera Contributor

Use case:

1. Incident is "In Progress" - user fills in Close code & Close notes & u_custom_field_1 (!!!!without saving the record)

2. User clicks on Resolve button in SOW

3. Modal shows Close code & Close notes are filled and their values are taken from the form but the value of u_custom_field_1 is NOT

 

If user fills the u_custom_field_1  on the Resolve modal and saves it the field is populated. However as described above, the actual value from the u_custom_field_1  is not transferred to the modal on the client side.

 

I modified the declarative action, SOW Resolve Modal view, SOW_INCIDENT_RESOLVE_UXF Payload definition, SOWFormModal UX Client Script Include etc... 

 

Does anyone have any idea what else could I do?

 

 

 

 

 

 

3 REPLIES 3

debendudas
Mega Sage
Mega Sage

Hi @exprozor ,

You don't need to modify anything in the UI Builder or Declarative action.

There is a specific view present for Incident -> "SOW Incident Resolve Modal" for the resolve modal.

You just need to add your custom field in that view and that will work automatically.

 

Please find the below screenshot where I implemented the same and added Category field in the modal.

debendudas_0-1755619191464.png

 

debendudas_1-1755619215996.png

 

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up 👍

Hi!

Thanks for your message.

I am not sure if my message got through but the issue is not with putting the field to the modal it's the following:

1. Incident is "In Progress" - user fills in Close code & Close notes & u_custom_field_1 (!!!!without saving the record)

2. User clicks on Resolve button in SOW

3. Modal shows Close code & Close notes are filled and their values are taken from the form but the value of u_custom_field_1 is NOT

Hello @exprozor ,

 

Were you able to get the solution for this, I am also facing the same issue with the custom field added to SOW Incident resolve modal.

Please do let me know, if you found the solution or any workaround.