Calling a function of UI Action into UI page

labandar
Tera Contributor

Hello everyone, I'm currently working on Change module. For a specific requirement I need to call a method of 'Request Approval' UI Action [onAssess] into a UI Page to do come Calculation. The method I need to call from the UI Action is 

invokeRiskAssessment() the action name of the UI Action is 'state_model_request_assess_approval' it's on click method is moveToAssess();

Firstly is it possible to call an UI Action method into the client script of UI page? If possible can someone help me out here.
6 REPLIES 6

@labandar 

check this link

Calling a function in a UI Action from a UI Page client script 

 

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

Initially I have tried like this itself, this is not calling the function into UI Page client script