Configuring the RunScript action on the button
Enter the required parameters, so that at run time the button starts the optional process chosen by the user.
- In the Actions tab, click Create an action set.
- In the Action set table, click .
- In the Other category, click .
- In the Function name field, enter: pega.ui.HarnessActions.addFlowFromActionsMenu
-
In the Parameters section, click the Add a
row icon.
- In the Name field enter flowType
- In the Value field enter the name of the process which will be launched, in double quotation marks.
- Click the Add a row icon.
- In the Name field enter flowClass
- Value field enter the class to which the process belongs, in double quotation marks.
- Click Submit.