Prevent the Save/Update button in a dialog (Shift+Click) from closing

georgechen
Kilo Guru

Hi SNOW Community gurus,

I am hoping to get your thoughts on an issue that has been bothering me and my users since Fuji upgrade.

When clicking 'Save/Update' button on the pop-up window, it closes the window instead of staying. (see my illustration in the screenshot)       Is there a way (may be a script) that can keep the dialog open until the users choose to?

A relevant article is found at https://community.servicenow.com/message/744147#744147, which talks about a out-of-box function script, however, it did not seem to work after trying it on two different SNOW instances.

Any input is appreciated

George

3 REPLIES 3

rgm276
Mega Guru

Can you elaborate on that use case?   Just curious why a user would want to save/update a record via a pop-up/dialogue window (which are meant for short\quick views) and not be finished with that record, so they do not want to return to the list?     if that is the case, why wouldn't they just click on the full record view.. they can choose SAVE at anytime and not leave the record they are editing.


Thanks Robert for your response.   I have communicated with my end users, and here is the feedback received



"When you use the shift+click, you are presented with two options — save/update and save/close.   The expectation would be that save/update saves the record and updates it with the changes, but leaves you in the window, save/close would close the window.



An example of how this could be used is as follows:



User is working in a list that is sorted/filtered.


User takes a phone call about a job in this list.


Use the shift +click so you don't navigate away from the list and have to re-load this.


If they need to update the next steps in this job as it is resolved over the phone, they first have to apply a document type to generate the flow.   As soon as they hit save/update to save the document type, the job closes down, so they have to locate it again, open it back up etc.



Another use similar to this is classifying the work.   Some teams have an 'assigner' who determines who the job needs to go to, and could also potentially need to update the status of the job at the same time.   Again, the job will close as soon as they save the document type, which they need to do to be able to progress the job."



This closing dialog upon save/update is still considered a defect, as it is expected to save or update the current record, not thing else.     I would like to search for a possible out-of-box script (if feasible) to hopefully address this, or maybe have to wait for a new Fuji Patch if they are aware this has been considered an issue.



Kind regards,


Thanks for the clarification that helps.   There is another suggestion you could give your users, as I do not know of a way to keep the dialogue window from closing, and if there is, its likely to include a custom that will 'break' the OOB code and become custom support, and you really do not want to venture down that road.



so having said that, the other alternative is to use the Form Pane Tabs (starting w/ Eureka Release)


this is a split screen option, that allows for a list in one pane, and the documents to show in the other


in-fact, you can have multiple tab\records open at the same time


SplitScreenCapture.JPG



there is more info on the service now wiki is at


http://wiki.servicenow.com/index.php?title=Using_Forms#Using_Form_Pane_Tabs&gsc.tab=0


600px-FormPaneTabs.png