Can we call one ui action from another ui action without using gsftSubmit?

XYD23
Tera Contributor

I mean that both ui action client box is checked (TRUE),

can we do that?

 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @XYD23 

 

https://www.servicenow.com/community/developer-forum/how-to-call-the-ui-action-from-another-ui-actio...

 

https://www.servicenow.com/community/developer-forum/can-i-call-ui-actions-of-other-tables-in-ui-act...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Anurag Tripathi
Mega Patron
Mega Patron

What is your use case? What are you trying to do here?

 

Generally for these kind of things its better to keep the code in some function separate and you can call it form anywhere(one or twio ui actions) rather than calling a ui action form another ui action.

-Anurag

UI action: NewCase

XYD23_0-1701862210728.pngXYD23_1-1701862237818.png




ui action: updateCase

XYD23_2-1701862326883.pngXYD23_3-1701862344233.png



When I check client box on both the ui action,
newCase ui action is not working.

I need both to work.