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.

UX Form Action 'Resolve' is not working to resolve incident in Service Operations Workspace

India T_
Mega Guru

Hello Community, 

 

There is an OOB UI Action called "Resolve" on incident form within Service Operation Workspace that's not proceeding to place the incident in resolve state.

I was hoping someone could give a suggestion to make this work. 

 

Service Operation Workspace UI Action aka UX Form Action.

IndiaT__0-1666798391348.png

 

Once you select the button you receive a pop up message:

 

IndiaT__4-1666798683367.png

Click "Resolve" and the popup modal remains. Does not do any action at all. However the "Cancel" button does remove the modal. 

 

OOB Configuration>>

 

UX Form Action

IndiaT__1-1666798448204.png

Declarative Action Assignment

IndiaT__2-1666798527739.png

Action Payload Definition

IndiaT__3-1666798576030.png

 

Script above is :

{
	"route": "sowformmodal",
	"fields": {
		"table": "{{table}}",
		"sysId": "{{sysId}}",
		"title": "Resolve"
	},
	"params": {
		"modalPath": "incident_form_resolve",
		"saveLabel": "Resolve",
		"isGFormSave": true,
		"setFieldOnSave": {
			"state": 6
		},
		"field1": "close_code",
		"value1": "{{fields.close_code.value}}",
		"displayValue1": "{{fields.close_code.displayValue}}",
		"field2": "close_notes",
		"value2": "{{fields.close_notes.value}}",
		"displayValue2": "{{fields.close_notes.displayValue}}",
		"field3": "parent_incident",
		"value3": "{{fields.parent_incident.value}}",
		"displayValue3": "{{fields.parent_incident.displayValue}}"
	}
}

I do see to set State field to "6" but I do not see anything that mentions close out the modal.

State choices.. show "6" is correct for incident table. 

 

IndiaT__5-1666798867609.png

Any Suggestions?

 

Thanks in advance!

 

16 REPLIES 16

Brad Tilton
ServiceNow Employee
ServiceNow Employee

If the oob resolve button isn't working on SOW I would open a support case. Have you modified that button at all? I checked in a couple of instances and it looks like it's working just fine there.

HI @Brad Tilton Did you get any update, I am having similar issue for new button on configurable workspace. Could you help me how to make useful .

I have a Hi ticket opened, when i have an update I will report the findings. 

Nisha09
Tera Contributor

Hi, I am having same issue. Did you get any update?