Question
Calling different local actions from each for Navigation Rule Sub Menu
I have a Navigation rule as follows in Pega V 7.1.8-
Vehicles
- Truck
- Order Parts
- Get Invoice
- Car
- Order Service
- Get Recall Information
- Motorcycle
- Get Wait time
On each of the sub menu such as Order Parts, Get Invoice, Get Recall Information I would like to call a different local action. The list is create at run time and the class structure is as follows -
MyCo-Vehicles
MyCo-Vehilces-Truck, MyCo-Vehicles-Car and MyCo-Vehicles-Motorcycle
All the sub-menus are derived as MyCo-Data-Processes and the local actions are in the submenu classes
MyCo-Data-Processes-OrderParts, MyCo-Data-Processes-GetInvoice, MyCo-Data-Processes-OrderService, MyCo-Data-Processes-GetRecallInformation and MyCo-Data-Process-GetWaitTime
Is there a way to call the local action as a parameter or by a script Or any other way?
Hi,
You can refer the below link and see if that helps you in calling opening a modal dialog through script:
https://pdn.pega.com/support-articles/local-action-running-all-conditions
Also you can use the below function to call local flow action:
pega.u.d.processAction('<flow action name>', '', '','','',true,event);
Regards,
Vikash