Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

How to configure a local action in a button on a harness

Updated on May 3, 2020

Summary

You can configure a local action as a button directly on a Harness rule form.

This provides an optional alternate runtime presentation of the flow action that provides users with quick and consistent access to the local action.

This technique can be used to present optional input fields on a work object form. The After this Action... Run activity (identified on the Action tab of the form) can copy user inputs to the work object.

 

Suggested Approach

1. Plan. Determine under what situations and on which harness forms the local action is to be available. Update the flow rule using Visio to add the local action to the assignments where it is to be available.

In this example, the standard local action Work-.Save is to be available at every assignment in the flow rule. In this case, rather than edit the flow in Visio, you can specify the local actions directly in the Local Actions area of the Design tab of the Flow form.

Flow rule

2. Drag Open the Harness rule. From the middle control group on the Layout tab, select and drag the Button control to the button area of the Harness rule.

Harness rule

3. Configure. Drop the button control. Click the magnifying glass button to open the Cell Properties panel. Complete the Button tab:

Harness rule

  • Set the Type to Local Action.
  • Enter a text label for the button, in the Caption field.
  • Identify the local action, in the Local Action field.
  • If the action requires inputs, select the Load in Modal window check box.
  • Optionally, complete the Tooltip field; enter text that appears when the mouse pointer hovers over the button.
  • Optionally, complete the Conditions tab to control when the button is visible and available.
  • Click Apply. Click OK.
  • Save the Harness form.

4. Test. Run the flow rule. Confirm that the work object forms based on the Harness rule show the local action as planned in step 1. If the button is to be available only in certain situations, confirm this through testing.

Work object form with SAVE Button

5. Test. When the user clicks the local action button, the associated flow action form appears as a modal window, with a Submit button and Cancel button.

Modal window

Note: This approach may not work with all existing local actions; some may be designed to work only in the Action area of a form.

Example 2

In this example, the Open List of Drivers button provides access to a modal pop-up form.

  Work object form

The pop-up form presents a list view report with radio buttons (defined on the Select tab of the List View form) to allow user selection..

  Pop-up

* * * * *

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us