post ui action interview questions ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2019 07:58 PM
post UI action interview questions?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2019 10:05 PM
Hi,
Below are few frequently asked question on UI Action:
1. Can we write client side and Server Side code in UI Action?
2. How to control visibility of UI Action?
3. Type's of UI Action?
4. How to right both Server side and client side code in UI action.
5. What is gsft in UI Action?
6. How can you send notification using UI action?
Regards,
Sanket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2019 12:41 AM
Hello Raju,
here are some questions and answers.
1. Can we write client side and Server Side code in UI Action? What is gsft in UI Action? How to right both Server side and client side code in UI action.
Anwer : Yes, we can. With the help of gsftSubmit we can achieve this. gsftSubmit() triggers the UI Action which is specified in the 3rd parameter, which is the action name/element id.
It is mostly used in UI actions that have a client side and a server side script. At the end of the client side script, you call gsftSubmit in order to trigger the UI Action again - this time running only the server side code.
Refer this blog for detailed explination.
https://www.servicenowguru.com/system-ui/ui-actions-system-ui/client-server-code-ui-action/
2. How to control visibility of UI Action?
Answer: a.You can Control UI action visibility by role
b. Control UI action visibility with views
You need to have the conditions in the condition field box in UI action.
3. Type's of UI Action?
Answer: UI actions can be client side or server side or it can be both at same time
4. How can you send notification using UI action?
Answer: You can trigger notification from ui action by using gs.eventQueue().
5. How we can override existing UI action for specific table? how to Override global UI action ?
Answer: I believe I have a solution. If the UI Action has current.canWrite() in the condition, then creating a security rule where the name is the name of the table and the field names is set to none, not * and then adding the appropriate role seems to work. Marking this as resolved.
Read this blog by Chuck :
https://community.servicenow.com/community?id=community_blog&sys_id=d01e6e2ddbd0dbc01dcaf3231f9619df
Please mark as Correct Answer and Helpful, if applicable.
Thank You!
Abhishek Gardade
Abhishek Gardade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-26-2019 07:12 AM
Any updates on this?
Can you please mark my response as correct and close this thread so that others with the same question in the future can find it quickly.
Thank You!
Abhishek Gardade
Abhishek Gardade

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-26-2019 11:34 PM
Hello Raju,
Here are some UI Acton's important ques which might be asked in interview:
- Types of UI Action
- Send notifications using UI Action
- On which side UI Acton work
- Give scenarios for UI Action
- can we write only client side script in UI Action
- elaborate gsft submit
- did you overridden UI Action
- what is visibility in UI Action
- what are restrictions for UI Action
- How you can redirect URL using UI action
- can we use UI action for making field read only
- can we call UI Action in Business rules
Hope these Question will help You
Mark my response helpful and correct if it is satisfactory.
ALL THE BEST!!!
Regards,
Ajim.