Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Reload form UI Action Onclick function

Jerome11
Tera Guru

Is it possible to reload the current form after completing the Onclick function of a UI Action? I do not want to execute the gsftSubmit function.

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee

You can just use standard javascript to do a page reload if you're in the client side portion of a UI Action: 

location.reload()

Location reload() Method

View solution in original post

2 REPLIES 2

Brad Tilton
ServiceNow Employee

You can just use standard javascript to do a page reload if you're in the client side portion of a UI Action: 

location.reload()

Location reload() Method

Ankur Bawiskar
Tera Patron

Hi,

please try what Brad has mentioned

Regards
Ankur

 

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader