Automate a Row Status Custom Action

If a row status custom action doesn't include payload fields, you can configure it in the Layout Designer to trigger automatically when a business user first selects a cell in a Table layout.

A row status custom action operates on a single row and reports the current state without changing the row state or field values. It may be used to flag an error or issue a warning such as when it detects a duplicate invoice number or an expense amount over a set threshold.

If you decide not to configure a row status custom action for automatic invocation, it can still be performed manually by the business user, like other row-level custom actions.

Before you begin, make sure the custom action is configured as a row status custom action in the Custom Action Editor. The Returns row status check box should be selected. See Row Status Custom Action Response Schema.

Note:

Automatic invocation is not supported for Form-over-Table layouts.

To configure a row status custom action for automatic use:

  1. Open the Advanced tab of the Layout Designer.
  2. Expand the Row Status section, then click the Edit icon (Edit icon) to open the Choose a Row Status Custom Action window.


    Note:

    If the custom action you are looking for doesn't appear in the list, it is either not set as a row status custom action in the Custom Action Editor or it includes payload fields.

Once configured, the row status custom action is triggered automatically when a business user first selects a cell. As with other custom actions, results are displayed in the Status column and Status Viewer. See Perform Custom Actions in Table and Form-over-Table Layouts in Managing Data Using Oracle Visual Builder Add-in for Excel.

Since the row state and field values are not changed, the business user can continue to edit the row following a row status custom action without having to upload or download data. Oracle Visual Builder Add-in for Excel does not consider the row "stale".

The result of the row status custom action is cached, and the custom action will not be performed on selection again until:

  • The layout is cleared
  • Data is downloaded
  • Row updates are successfully uploaded

Caution:

Technical limitations in Microsoft Excel require the spreadsheet to be disabled while the custom action request is executed. If the response time is slower than 100 ms, the data entry experience may be negatively affected.