We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

UI Action that save and redirect in SOW

Alon Grod
Tera Expert

Hi,

 

how can i create a ui action in SOW that saves the changes on the record and redirect to SOW home page

2 REPLIES 2

AnimeshP_96
Kilo Sage

hey @Alon Grod 
assuming you will use first in client side , so use g_form.save() and for redirect use 
action.setRedirectURL(current) . Here current is object of the current record.


Please accept the solution /mark this response as correct or helpful if it assisted you with your question.




Regards,
Animesh