Create a modal on form

Souvick6917
Tera Contributor

Hello All,

I have an urgent requirement as stated below:

I'd like to have a popup modal displayed when I close an incident or a change.

Expected behavior:
- when the incident or change status is put to "closed - complete" or "resolved" or "cancelled", and an outage is linked to it, the modal should appear and ask if the outage has ended. 3 buttons should be proposed: "Yes", "No", "Cancel"
- On "Yes", outage should be ended and record (incident or change) status updated
- On "No", outage should not be ended and record (incident or change) status updated
- On "Cancel", no action (action of updating the record status should be cancelled)

 

I am very new to this modal functionality , please guide me with this requirement.

 

Thanks in Advance

Souvick

1 REPLY 1

newhand
Mega Sage

@Souvick6917 
This api may help you。
https://developer.servicenow.com/dev.do#!/reference/api/washingtondc/client/c_GlideModalV3API?navFil... 

 

Please mark my answer as correct and helpful based on Impact.