Creating Flex Python alerts - HxGN EAM - 12.0.1 - Help - Hexagon

HxGN EAM Help

Language
English
Product
HxGN EAM
Search by Category
Help
HxGN EAM Version
12.0.1

Configure how Flex Python event records are created from the Alerts user defined grid.

  1. Select Administration > Setup > Alert Management.

  2. Select the alert for which to define a Flex Python alert, and then select the Flex Python check box on the Record View screen.

  3. Click the Flex Python Alerts tab, and then specify this information:

    1. Delay Between Alerts - Define the numerical amount of time between Python alerts for a specific grid key field, and then select the Delay UOM, or unit of time to delay between alerts. For example, enter 2, and then select Hours to allow 2 hour delays between alerts.

    2. Choose one of the following options:

      1. Python Executable Document - Enter the EAM document code that matches the Python executable script for which to create a Flex Python event record for each alert grid record. This alert execute the selected Python script for each alert record in the grid.

        Select this option if you plan to use the same Python script for each alert grid record. The alert is used to execute only one Python script for all alert records in the grid.

      2. Python Executable Document Grid Field - Select the alert user defined grid field that contains the EAM document code that defines the Flex Python executable script that should be run for each alert grid record.

        Select this option to execute a different Python script for each record in the alert grid.

    3. Parameter Grid Fields 1-10 - Use these fields to select the alert grid field which contains data you wish to pass into the Flex Python executable framework API that will be used during the execution of the Python script.

      For example, if the purpose of the Python script is to take equipment data and to create a work order, select the equipment code and the equipment organization from the alert user defined grid into the Parameter Grid Field 1 and Parameter Grid Field 2.

  4. Click Save Record.