Where does UI action runs by default?

Sunil41
Kilo Contributor

Please explain anyone where does UI action run by default

 

Thanks

1 ACCEPTED SOLUTION

Prateek kumar
Mega Sage

It runs on Server Side by default unless you select Client option in the configuration for it to run both on Server and client.

https://www.servicenowguru.com/system-ui/ui-actions-system-ui/client-server-code-ui-action/


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sunil,

UI actions can be of 3 types

1) only client side

2) only server side

3) client + server; client side first and then server side code runs

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Sagar Pagar
Tera Patron

Hi Sunil,

 

UI Action-

UI actions include the buttons, context menu and link items run on the forms and list.

UI action stored in [sys_ui_action] table

 

Importance of UI Action-

To make UI

  1. Interactive
  2. Customize
  3. Specific to user activities

UI action runs

  1. Client side
  2. Server side
  3. Client & server side both

 

UI action runs-

  • If you not select the client check box it will run at server side.find_real_file.png

 

}

  • If you select the client check box and write function client script then it will run at client side for client side validation.

 

  • If you select the client check box and write function for client side and server side then it will run at client side as well as server side.

find_real_file.png

 

To get more info about UI action visit following link-

https://docs.servicenow.com/bundle/madrid-platform-administration/page/administer/list-administration/concept/c_UIActions.html

 

If answer helped you in any way, please then mark it as correct or helpful.

 


Regards,

Sagar Pagar

www.dxsherpa.com

The world works with ServiceNow