Set view based on script

Isaac10
Giga Expert

I have a UI action that creates a change request based on a Release. For users that create a change from the release I want them to see the Release view on the change table.

I found View Rule but that locks the view and does not allow the end user to change the view if necessary. Is there a way to set the view in the script UI Action script that creates the change?

Thanks!

1 REPLY 1

Sashi K1
Kilo Guru

SwitchView may help in client side scripts to change current view. For more information



https://www.servicenowguru.com/scripting/client-scripts-scripting/change-form-view-client-script/