--- title: "Page Business Rules H" slug: "page-business-rules-h" updated: 2024-03-29T11:15:11Z published: 2024-04-08T05:48:22Z canonical: "skthelp.syniti.com/page-business-rules-h" --- > ## Documentation Index > Fetch the complete documentation index at: https://skthelp.syniti.com/llms.txt > Use this file to discover all available pages before exploring further. # Page Business Rules ## Page Business Rules H [Page Business Rules V](/v1/docs/page-business-rules-h#page-business-rules-v) > [!NOTE] > **Note** > > Use this page to: > > - [Create a Stored Procedure Business Rule](/v1/docs/business-rules) > - [Create a WebApp Event Business Rule](/v1/docs/business-rules) > - [Create a WebApp Event (Private) Business Rule](/v1/docs/business-rules) > - [Create an Orchestrate Workflow Business Rule](/v1/docs/business-rules) To access this page: 1. Select **Admin > WebApps** from the *Navigation* pane. 2. Click the **Pages** icon for a **WEB APP NAME**. 3. Click the **Events** icon for a page. 4. Click the **Business Rules** icon for an event. To access this page as part of Import / Export: 1. Select **Admin > WebApps** from the *Navigation* pane. 2. Select a WebApp and click the *Vertical* View icon. 3. Click the **Import / Export** tab. 4. Click the **Page Event Business Rules** icon. | **Field** | **Description** | | --- | --- | | **PAGE ID** | Displays the page name associated with the business rule. > [!NOTE] > **Note** > > This field displays if accessed from the WebApp *Vertical* View Import / Export tab. | | **EVENT** | Displays the event that runs on the page, or the name of the field that triggers the event rule to run. Event rules can be created to run: - **OnLoad** – Executes prior to the page displaying, allowing lazy data population. - **OnValidate** – Executes when a record is saved or the user clicks the boaStatus icon. - **BeforeDelete** – Executes before a record can be deleted. > [!NOTE] > **Note** > > This field displays if accessed from the WebApp *Vertical* View Import / Export tab. | | **PRIORITY** | Displays the number indicating the order in which the workflows run. | | **ACTIVE** | If checked, the workflow runs. If unchecked, the workflow does not run. | | **PROCEDURE TYPE** | Displays the type of Business rule. Options are: - Orchestrate Workflow - Stored Procedure - WebApp Event - WebApp Event (Private) | | **DESCRIPTION** | Displays the name of the workflow view. | | **COMMENT** | Displays comments entered by the user. | | **RUN ON VALIDATE** | If checked and the corresponding Validation rule returns zero records or if it returns records with a severity level less than Error, the Business rule executes. | | **RUN ON VALIDATE FAIL** | If checked and the corresponding Validation rule returns any record that fails with a severity level of Error, the Business rule executes. | ## Page Business Rules V [Page Business Rules H](/v1/docs/page-business-rules-h#page-business-rules-h) > [!NOTE] > **Note** > > Use this page to store details of the Page Business Rules. > [!NOTE] > **Note** > > The fields that display on this page depend on the Procedure Type selected on the Horizontal View. Procedure types are: > > - [Stored Procedure](/v1/docs/page-business-rules-h) > - [WebApp Event](/v1/docs/page-business-rules-h) > - [WebApp Event (Private)](/v1/docs/page-business-rules-h) > - [Orchestrate Workflow](/v1/docs/page-business-rules-h) ### Procedure Type of Stored Procedure > [!NOTE] > **Note** > > Use this page to [Create a Stored Procedure Business Rule](/v1/docs/business-rules). > [!NOTE] > **Note** > > Construct attempts to wrap all procedures within a single SQL transaction. To avoid deadlocks, all pending transactions are committed before executing an external process. As a result, mixing external processes and SQL stored procedures can result in errors which cannot be completely rolled back. To minimize the effect, consider placing all external processes after SQL stored procedures by giving them a higher priority. This page has the following tabs: - [General tab](/v1/docs/page-business-rules-h#general-tab) - [Documentation tab](/v1/docs/page-business-rules-h#documentation-tab) #### General tab | **Field** | **Description** | | --- | --- | | **Page ID** | Displays the page name associated with the business rule. > [!NOTE] > **Note** > > The field displays if accessed from the WebApp *Vertical View* Import / Export tab. | | **Event** | Displays the event that runs on the page, or the name of the field that triggers the event rule to run. Event rules can be created to run: - **OnLoad** – Executes prior to the page displaying, allowing lazy data population. - **OnValidate** – Executes when a record is saved or the user clicks the boaStatus icon. - **BeforeDelete** – Executes before a record can be deleted. > [!NOTE] > **Note** > > The field displays if accessed from the WebApp *Vertical View* Import / Export tab. | | **Business Rule Properties** | | **Procedure** | Displays the name of the SQL stored procedure. Click the link on the name to open the *Definition* page to view the SQL code. | | **Comment** | Displays a user-entered comment, usually a description of what the stored procedure does. | | **Advanced Properties** > [!NOTE] > **Note** > > Fields are visible if the plus icon is clicked to open the Advanced Properties label. | | **Run On Validate** | If checked and the corresponding Validation rule returns zero records or if it returns records with a severity level less than Error, the Business rule executes. | | **Run On Validate Fail** | If checked and the corresponding Validation rule returns any record that fails with a severity level of Error, the Business rule executes. | | **Timeout** | Displays the amount of time in seconds that the stored procedure can run before a timeout error displays. | #### Documentation tab | **External Reference** | Displays hyperlinks and supporting commentary that demonstrate the connection from data-related assets in the Syniti Construct to external references in other platforms and applications. Syniti recommends a business rule be linked to a Term or Rule in Syniti Cloud. | | --- | --- | ### Procedure Type of WebApp Event > [!NOTE] > Use this page to [Create a WebApp Event Business Rule](/v1/docs/business-rules). This page has the following tabs: - [General tab](/v1/docs/page-business-rules-h#general-tab) - [Documentation tab](/v1/docs/page-business-rules-h#documentation-tab) #### General tab | **Field** | **Description** | | --- | --- | | **Page ID** | Displays the page name associated with the business rule. > [!NOTE] > **Note** > > The field displays if accessed from the WebApp *Vertical View* Import / Export tab. | | **Event** | Displays the event that runs on the page, or the name of the field that triggers the event rule to run. Event rules can be created to run: - **OnLoad** – Executes prior to the page displaying, allowing lazy data population. - **OnValidate** – Executes when a record is saved or the user clicks the boaStatus icon. - **BeforeDelete** – Executes before a record can be deleted. > [!NOTE] > **Note** > > The field displays if accessed from the WebApp *Vertical View* Import / Export tab. | | **Business Rule Properties** | | **Event Page ID** | Displays the name of the component and page name where the event associated with this Business rule runs. | | **Event Name** | Displays the name of the event on the page associated with this Business rule. | | **Parameter View** | Displays the name of an optional parameter view that can provide secondary data to pass to a shared event. This view contains columns that are available as extra columns to map to parameters to send to a shared event. This view will be executed as part of the shared event, pulling in an associated record to the executing record, and assigning the other column data to mapped parameters. This parameter view allows another view to provide more data to an event without putting all the columns in the horizontal or vertical view on the page. This view is not required. If the field is blank, and the public WebApp event requires parameters be passed in to execute the event, the parameters set on the [*Page Event Parameters*](/v1/docs/page-event-parameters-h) page are used. | | **Parameters** | Click to open the *Page Event Rule Parameters* page to add, edit and delete parameters that can be passed to this Business rule from a Public WebApp Event. | | **Comment** | Displays a user-entered comment. | | **Advanced Properties** > [!NOTE] > **Note** > > Fields are visible if the plus icon is clicked to open the Advanced Properties label. | | **Run On Validate** | If checked and the corresponding Validation rule returns zero records or if it returns records with a severity level less than Error, the Business rule executes. | | **Run On Validate Fail** | If checked and the corresponding Validation rule returns any record that fails with a severity level of Error, the Business rule executes. | #### Documentation tab | **External Reference** | Displays hyperlinks and supporting commentary that demonstrate the connection from data-related assets in the Syniti Construct to external references in other platforms and applications. Syniti recommends a business rule be linked to a Term or Rule in Syniti Cloud. | | --- | --- | ### Procedure Type of WebApp Event (Private) > [!NOTE] > Use this page to [Create a WebApp Event (Private) Business Rule](/v1/docs/business-rules). This page has the following tabs: - [General tab](/v1/docs/page-business-rules-h#general-tab) - [Documentation tab](/v1/docs/page-business-rules-h#documentation-tab) #### General tab | **Field** | **Description** | | --- | --- | | **Page ID** | Displays the page name associated with the business rule. > [!NOTE] > **Note** > > The field displays if accessed from the WebApp *Vertical View* Import / Export tab. | | **Event** | Displays the event that runs on the page, or the name of the field that triggers the event rule to run. Event rules can be created to run: - **OnLoad** – Executes prior to the page displaying, allowing lazy data population. - **OnValidate** – Executes when a record is saved or the user clicks the boaStatus icon. - **BeforeDelete** – Executes before a record can be deleted. > [!NOTE] > **Note** > > The field displays if accessed from the WebApp *Vertical View* Import / Export tab. | | **Business Rule Properties** | | **Event Name** | Displays the name of the WebApp event. | | **Comments** | | **Comment** | Displays a user-entered comment about the WebApp event. | | **Advanced Properties** > [!NOTE] > **Note** > > Fields are visible if the plus icon is clicked to open the Advanced Properties label. | | **Run On Validate** | If checked and the corresponding Validation rule returns zero records or if it returns records with a severity level less than Error, the Business rule executes. | | **Run On Validate Fail** | If checked and the corresponding Validation rule returns any record that fails with a severity level of Error, the Business rule executes. | #### Documentation tab | **External Reference** | Displays hyperlinks and supporting commentary that demonstrate the connection from data-related assets in the Syniti Construct to external references in other platforms and applications. Syniti recommends a business rule be linked to a Term or Rule in Syniti Cloud. | | --- | --- | ### Procedure Type of Orchestrate Workflow > [!NOTE] > Use this page to [Create a Orchestrate Workflow Business Rule](/v1/docs/business-rules). This page has the following tabs: - [General tab](/v1/docs/page-business-rules-h#general-tab) - [Documentation tab](/v1/docs/page-business-rules-h#documentation-tab) #### General tab | **Field** | **Description** | | --- | --- | | **Business Rule Properties** | | **Orchestrate Workflow ID** | Displays the name for the workflow that is created in Orchestrate. | | **Allow Concurrent Execution** | If checked, the workflow can be executed in parallel with other workflows. If not checked, attempting to execute the workflow while it is currently running is not allowed and results in an error. | | **Comment** | Displays a user-entered comment about the WebApp event. | | **Advanced Properties** > [!NOTE] > **Note** > > Fields are visible if the plus icon is clicked to open the Advanced Properties label. | | **Run On Validate** | If checked and the corresponding Validation rule returns zero records or if it returns records with a severity level less than Error, the Business rule executes. | | **Run On Validate Fail** | If checked and the corresponding Validation rule returns any record that fails with a severity level of Error, the Business rule executes. | #### Documentation tab | **External Reference** | Displays hyperlinks and supporting commentary that demonstrate the connection from data-related assets in the Syniti Construct to external references in other platforms and applications. Syniti recommends a business rule be linked to a Term or Rule in Syniti Cloud. | | --- | --- |