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
01-13-2023 11:57 AM
There doesn't appear to be an option to run debugger on a Page Script in UI Builder. I may be missing the option.
I've opted for over-logging the Save Record page script and found that it is returning four fields: close_code, close_notes, parent_incident, number
Following the Action Bar Declarative Actions > Resolve (on incident) > client action (SOW Incident Resolve), there are three fields in the payload:
close_code, close_notes, parent_incident
parent_incident never appears on the modal, and I'm not entirely certain where that field is supposed to come from. I don't see it on incident or task.
I don't know why number is appearing in the list of required fields, because it should never be empty, and certainly you wouldn't be expected to fill that in to resolve an incident. number is also not shown on the modal.
I have been able to print out the values of close_code and close_notes (which I fill in on the modal), as well as number (which is coming from the record), but parent_incident remains undefined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2023 04:01 AM
Hi,
Does anyone know how to add more fields to this modal/pop-up?
Is it possible to display a field based on conditions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 11:11 AM
Following, I have the same question. We need to add some additional mandatory fields to the dialog. The resolve button resolves the incident, but bypasses the mandatory fields .. This is a deal breaker for using SOW for us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 11:11 AM
Following, I have the same question. We need to add some additional mandatory fields to the dialog. The resolve button resolves the incident, but bypasses the mandatory fields .. This is a deal breaker for using SOW for us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 11:14 AM
Following.. We have the same question as we have some mandatory fields that are not displayed. The resolve button resolves the incident, but leaves those mandatory fields empty. That is a deal breaker for us using SOW.