UX Form Action 'Resolve' is not working to resolve incident in Service Operations Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 08:41 AM
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.
Once you select the button you receive a pop up message:
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
Declarative Action Assignment
Action Payload Definition
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.
Any Suggestions?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 07:14 AM
I found a way to get this done. Somewhat of a 'hack' and could certainly use some script enhancements to make it more configurable. Basically, you 1. Add your fields to the 'SOW Modal' view on the incident form (outside of UI Builder) 2. create a variant of the SOW Form Modal SNC page. 3. Modify the Initial Form Data script.
I found that if you didn't add the fields to the SOW Modal view on the incident form, then they would not show on the UI Builder modal form (even if you script them in). There is another SOW view on incidents that you can add fields to if you want them to display on the record form.
I have outlined the entire process in the attached document.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 07:37 AM
Looks like this is a known issue: