Asking about save form and reload it into the same tab with the value that submited

kerolos samir
ServiceNow Employee
ServiceNow Employee

Hi team 
I have a problem 
I have a page containing 2 inputs and a custom component that we have built 
So we link this with a Form data source and link it with the save form action 
And when you submit the form, it creates a record in a table and calls an API in the client script. After that, in the stack of scripts that linked to the save button 
So the form takes too long, and when switching between tabs,s it freezes the whole app 
I removed the unneeded data source and fixed the script run time, but there is no result 

but in the From data source I found a property called Suppress global events 
that stop global events because I think the custom form executes a lot of events that run while saving the cause the freeze 
But this property disables the default route that is done by the normal behavior 
So I am trying to do it manually 
So when the user opens a new form, the URL has -1 as sys Id , I want when clicking save, the URL to change to the sys ID of the record and reload the data that I have saved  in the same tab 

is there any way to this? 

0 REPLIES 0