Input Nodes

About Input Nodes in Policies

Input nodes represent various items and values that you can use as inputs to the policy logic. Primarily, Input nodes represent the records whose values are evaluated by a policy.

With the exception of Query and Constant nodes, you must use policy instances to assign specific records to each Input node in a policy. For a Point Value node, you can also use policy instances to assign specific values to the node.

Because Input nodes provide successor nodes with values to evaluate, the first node in a policy model must be an Input node. A Query node, however, cannot be the first node in a policy model.

Input Nodes

Note: You must have the appropriate licenses and family-level privileges to view and use nodes that are associated with specific families. For example, to view a Measurement Location node, the Operator Rounds license must be active and you must have View permissions on the Measurement Location family. Otherwise, the button for the Measurement Location node will be disabled.

AMS Asset Nodes in Policy Designer

Note: You can access the AMS Asset node only if the AMS Analytics license is active in your APM system.
Note: The AMS Asset node was designed to work with the integration between APM and Emerson AMS. This integration is no longer supported.

An AMS Asset node is an Input node that represents the AMS Asset family. You can use the AMS Asset node to access records in the AMS Asset family and information about related alerts.

An AMS Asset node generates the following outputs:

  • Has Active Alerts, which represents a value of yes or no depending on whether or not the AMS Asset has any active alerts (i.e. the AMS Asset record is linked to an AMS Asset Alert record with the value True in the Active field).
  • Any field in the AMS Asset family.
  • The following system fields for the AMS Asset family: Entity Key, Family Key, Entity ID, and Site Key.

Node Properties

The Properties window for an AMS Asset node contains the items that are described in the following table:

ItemDescription
Primary RecordSpecifies whether the node represents a primary record.
TriggerSpecifies whether changes to the record that is associated with the node will result in policy execution.

The following example illustrates how you can use the AMS Asset node with successor nodes to trigger actions based on whether or not an AMS Asset has any active alerts. Consider the following nodes and connections.

As shown in the following image, you can use the Properties window for the Equal node to select the AMS Asset node and the Has Active Alerts option. When this option is selected, the output of the AMS Asset node is either yes or no, depending on whether or not the AMS Asset is in an alert state. Together, the AMS Asset node and the Equal node indicate that an email message should be sent if the corresponding AMS Asset record has any active alerts.

You can also select a field from the AMS Asset family as an input for a successor node. As shown in the following image, you can use the Properties window for the Email Contact node to select the Description field in the AMS Asset family. If the Email Contact node is triggered, the email message will include the information contained in the Description field of the corresponding AMS Asset record.

Constant Nodes in Policy Designer

A Constant node is an Input node that represents a specific value that does not change from instance to instance. You can use a Constant node for input values that are the same for all instances and are used in multiple places in the policy model.

The output of a Constant node is the value that you specify in the Value section of the node's Properties window.

Node Properties

The Properties window for a Constant node contains the items that are described in the following table.

ItemDescriptionNotes
Data Type listSpecifies the type of data that the node represents.This property is not required, but it is highly recommended to select a value. This minimizes the chance of the Constant node result either being misinterpreted during the policy execution and the validation, or being displayed in an incorrect format while viewing the execution and the validation results.
Value boxSpecifies the value that the node represents.If the data type for the Constant node is a Data Frame, then, on the Properties window, <DATAFRAME> appears in the Value box. You can select to access the Edit Data Frame window, in which you can view the Data Frame or configure its input values.

Consider the following nodes and connections.

As shown in the following image, you can use the Properties window for the Condition node to select the A Constant node and its value, which is A. With these options selected, the Condition node evaluates whether or not the value in the Criticality Indicator field of a specified Equipment record is A.

Regardless of the Equipment records specified via policy instances, the Condition node will always compare the value in the Criticality Indicator field to A.

Entity Nodes in Policy Designer

An Entity node is an Input node that represents any APM entity family. You can use the Entity node to access information that is stored in a record belonging to any APM entity family.

Note: The Entity node displays only the entity families for which your APM system has active licenses, and for which you have access permissions.

An Entity node generates the following outputs:

  • Any field in the family that the Entity node represents.
  • The following system fields that the Entity node represents: Entity Key, Entity ID, Family Key, and Site Key.

Node Properties

The Properties window for an Entity node contains the items that are described in the following table.

ItemDescriptionNotes
Primary RecordSpecifies whether the node represents a primary record.None
TriggerSpecifies whether changes to the record that is associated with the node will result in policy execution.None
Family ID listSpecifies the family that the Entity node represents.The Family ID list contains all of the APM entity families from which you can access record information.

This value is required.

Important: Ensure that the family you select has not be excluded from the global search. If it has, you will not be able to assign records from that family to a policy instance.

Entity nodes are often the starting point in policy models because they pvoride successor nodes with fields to evaluate. For example, consider the following nodes and connection.

In this example, the Equipment Entity node provides the Condition node with a field, Criticality Indicator, to evaluate.

GE Tag Nodes in Policy Designer

Note: You can access the GE Tag node only if the GE Analytics license is active in your APM system.
Note: The GE Tag node was designed to work with the integration between APM and SmartSignal or System 1. This integration is no longer supported.

A GE Tag node is an Input node that represents the GE Tag family. You can use the GE Tag node to access records in the GE Tag family and information about related events.

A GE Tag node generates the following outputs:

  • GE Tag Events , which represents the collection of GE Tag Event records that are associated with a specified GE Tag record. This output contains the start time, severity level, and type of each event in the collection and can be used only with successor nodes capable of handling collections.
  • Any field in the GE Tag family.
  • The following system fields in the GE Tag family: Entity Key, Entity ID, Family Key, and Site Key.

Node Properties

The Properties window for a GE Tag node contains the items that are described in the following table.
ItemDescription
Primary RecordSpecifies whether the node represents a primary record.
TriggerSpecifies whether changes to the record that is associated with the node will result in policy execution.

The following example illustrates how you can use the GE Tag node with successor nodes to evaluate a related GE Tag Event record. Consider the following nodes and connections.

In this example, the GE Tag node is connected to a Last node and to a Greater Than Condition node. As shown in the following image, you can use the Properties window for the Last node to select the GE Tag node and the GE Tag Events option. When this option is selected, the Last node evaluates the events that are associated with the GE Tag record and returns the most recent event.

You can then use subsequent nodes to evaluate information related to the most recent event. As shown in the following image, you can use the Greater Than node to evaluate whether or not the most recent event has a severity greater than 0.

Health Indicator Nodes in Policy Designer

A Health Indicator node is an Input node that represents the Health Indicator family. You can use the Health Indicator node to access records in the Health Indicator family and information about the readings associated with a Health Indicator's source record.

Note: You can access the Health Indicator node only if the Asset Health license is active in your APM system.

When you associate a policy instance with a Health Indicator node, you can assign an existing Health Indicator record to the node or create a new Health Indicator record without a source and assign it to the node. For Health Indicator records without sources, you can use an Add Value to Health Indicator node to create Health Indicator Value records and link them to the related Health Indicator record.

A Health Indicator node generates the following outputs:

  • Readings, which represents the collection of all readings associated with the Health Indicator's source record. This output contains a value and timestamp for each reading in the collection and can be used only with successor nodes capable of handling collections.
    Note: If the policy is triggered by a new or updated reading, the Readings collection includes only readings with timestamps less than or equal to the timestamp of the triggering reading.
  • Any field in the Health Indicator family.
  • The following system fields in the Health Indicator family: Entity Key, Entity ID, Family Key, and Site Key.
Note: When you configure a policy with a Health Indicator node for Automatic Execution, the Asset Health Indicator service must be running in order for new readings to trigger a policy execution. If a new reading is added with a timestamp earlier than a reading that was previously processed by the health indicator service, the policy will not be triggered, because the Asset Health Indicator service does not update the health indicator record in this case.

Node Properties

The Properties window for a Health Indicator node contains the items that are described in the following table.

ItemDescription
Primary RecordSpecifies whether the node represents a primary record.
TriggerSpecifies whether changes to the record that is associated with the node will result in policy execution.

The following example illustrates how you can use the Health Indicator node with successor nodes to evaluate fields in a Health Indicator record and the associated collection of readings. Consider the following nodes and connections.

In this example, the Health Indicator node is connected to the Average Reading Value Average node and to a Greater Than or Equal Condition node.

As shown in the following image, you can use the Properties window for the Average node to select the Health Indicator node and the Reading option. When these options are selected, this node evaluates the readings that are associated with the Health Indicator record and returns the average reading value.

You can also select a field from the Health Indicator family as an input for a successor node. As shown in the following image, you can use the Properties window for the Greater Than or Equal node to select the Alert Level field in the Health Indicator family. This node, therefore, evaluates whether or not the value in the Alert Level field of the corresponding Health Indicator record is greater than or equal to 1, which would indicate that the Health Indicator record meets the Warning or Alert status criteria.

Measurement Location Nodes in Policy Designer

A Measurement Location node is an Input node that represents the Measurement Location family. You can use the Measurement Location node to access records in the Measurement Location family and information about related readings.

A Measurement Location node generates the following outputs:

  • Readings, which represents the collection of all measurement readings that are associated with a specified Measurement Location record. This output contains a value and timestamp for each reading in the collection and can be used only with successor nodes capable of handling collections.
    Note: If the policy is triggered by a new or updated reading, the Readings collection includes only readings with timestamps less than or equal to the timestamp of the triggering reading.
  • Any field in the Measurement Location family.
  • The following system fields in the Measurement Location family: Entity Key, Entity ID, Family Key, and Site Key.

Node Properties

The Properties window for a Measurement Location node contains the items that are described in the following table.

ItemDescription
Primary RecordSpecifies whether the node represents a primary record.
TriggerSpecifies whether changes to the record that is associated with the node will result in policy execution.

The following example illustrates how you can use the Measurement Location node with successor nodes to evaluate fields in a Measurement Location record and the collection of readings associated with a Measurement Location record. Consider the following nodes and connections.

In this example, the Measurement Location node is connected to a Max Calculation node and an Equal Condition node.

As shown in the following image, you can use the Properties window for the Max node to select the Measurement Location node and the Readings option. When this option is selected, the Max node evaluates the readings that are associated with the Measurement Location record and returns the reading with the highest value.

You can also select a field from the Measurement Location family as an input for a successor node. As shown in the following image, you can use the Properties window for the Equal node to select the ML Type field in the Measurement Location family. This node evaluates whether or not the ML Type field contains the exact value Numeric.

Measurement Step Nodes in Policy Designer

A Measurement step node is an Input node that represents the Measurement step family. You can use the Measurement step node to access records in the Measurement step family and information about related readings.

A Measurement step node generates the following outputs:

  • Readings, which represents the collection of all measurement readings that are associated with a specified Measurement step record. This output contains a value and timestamp for each reading in the collection and can be used only with successor nodes capable of handling collections.
  • Any field in the Measurement step family.
  • The following system fields in the Measurement step family: Entity Key, Entity ID, Family Key, and Site Key.

Node Properties

The Properties window for a Measurement step node contains the items that are described in the following table:

ItemDescription
Primary RecordSpecifies whether the node represents a primary record.
TriggerSpecifies whether changes to the record that is associated with the node will result in policy execution.

The following example illustrates how you can use the Measurement step node with successor nodes to evaluate fields in a Measurement step record and the collection of readings associated with a Measurement step record. Consider the following nodes and connections.



In this example, the Measurement step node is connected to a Max Calculation node and an Equal Condition node.

As shown in the following image, you can use the Properties window for the Max node to select the Measurement step node and the Readings option. When this option is selected, the Max node evaluates the readings that are associated with the Measurement step record and returns the reading with the highest value.



You can also select a field from the Measurement step family as an input for a successor node. As shown in the following image, you can use the Properties window for the Equal node to select the ML Type field in the Measurement step family. This node evaluates whether or not the ML Type field contains the exact value Numeric.



OT Connect Tag Nodes in Policy Designer

An OT Connect Tag node is an Input node that represents a tag in a process historian accessed by the OT Connect service. You can use the OT Connect Tag node to access records in the Source Tag family, limit values defined for policy instances, and the related reading data that is accessed through the OT Connect service from the process historian.

Note: You can access the OT Connect Tag node only if the APM OT Connect license is active in your APM system.

An OT Connect Tag node generates the following outputs:

  • Latest Reading Quality Is Good, which indicates whether the quality of the most recent reading available from the process historian is good. You can use this output to control the policy logic based on the most recent reading quality.
  • Latest Reading Value, which represents the most recent reading available from the process historian.
  • Latest Reading Timestamp, which represents the date and time that the most recent reading was recorded in the process historian.
  • Historical Readings, which represents the collection of historical readings taken over a period in the process historian. This output contains a value and time stamp for each reading in the collection and can be used only with successor nodes capable of handling collections.
    Note:
    • You should use a Collection Filter node to limit the readings to only those in the time span that you want to evaluate. This way, only the required readings will be retrieved during policy execution. If you do not use a collection Filter, 2 years of historical readings will be retrieved, subject to a maximum retrieval of 1,000,000 readings. The default time range for retrieving historical readings can be modified in the APM Server configuration. For information on configuring the limits, refer to the Configure the Default Historical Readings Time Range for the OT Connect Tag node.
    • If the policy is triggered by a new or updated reading, the Historical Readings collection includes only readings with timestamps less than or equal to the timestamp of the triggering reading.
    • The Last Reading Quality is Good, Last Reading Value, and Last Reading Timestamp outputs are not supported for Source Tags related to OT Sources which support only OPC HDA (for example, GE Historian). An error will occur in policy execution or validation if you attempt to use these node outputs with Source Tags from these OT Sources.
  • The following fields from the Source Tag family:
    • Comments
    • Data Type
    • Deleted from Source
    • Description
    • Historical Readings
    • Id
    • Last Reading Quality is Good
    • Last Reading Timestamp
    • Last Reading Value
    • Name
    • Raw UoM
    • Source
    • UoM
  • The following system fields in the Source Tag family: Entity Key, Family Key, Entity ID, and Site Key.
  • Standard limit fields, i.e. Numeric Upper Level 3, Numeric Upper Level 2, Numeric Upper Level 1, NumericLower Level 1, Numeric Lower Level 2, Numeric Lower Level 3, Character Upper Level 3, Character Upper Level 2, Character Upper Level 1, Character Lower Level 1, Character Lower Level 2, and Character Lower Level 3.
Note:
  • When a Source Tag record is assigned to an OT Connect Tag node in a policy instance, you can configure the limit values to be evaluated during policy execution. These limit values are associated with the use of the selected Source Tag only in this specific policy instance and are stored in a Content Map record associated with the policy instance and the Source Tag. This means that you can use different limits in each policy instance where a Source Tag is used, depending on the purpose of the policy. For information on configuring the limits, see Configure OT Connect Tag Limits from the Instances Pane.
  • If your APM database has been upgraded from V4.3.1.0.0 or earlier version, the OT Connect Tag node may display Obsolete fields. The policy must be reconfigured to remove any references to the Obsolete fields. For more information, contact the GE Vernova Support for advice.

Node Properties

The Properties window for an OT Connect Tag node contains the items described in the following table.

ItemDescription
Historical Readings RequiredSpecifies whether the Source Tag must represent a process historian tag that provides access to historical readings. The Historical Readings output is available in the policy design when this setting is selected. This setting is set to Yes by default.
Primary RecordSpecifies whether the node represents a primary record.
TriggerSpecifies whether changes to the record that is associated with the node will result in policy execution.

OT Connect Tag node

The following is an example of how you can use the OT Connect Tag node with successor nodes to evaluate different types of data related to the OPC Tag family. Consider the following nodes and connections.

In this example, the OT Connect Tag node is connected to a Collection Filter node and to a Greater Than Condition node.

As shown in the following image, you can use the Properties window for the OT Connect Tag node to specify whether the Source Tag requires Historical Readings. In this example, the Require Historical Readings option is selected. This enables access to the Historical Readings output from the OT Connect Tag node in successor nodes.



As shown in the following image, you can use the Properties window for the Collection Filter node to select the OT Connect Tag node and the Historical Readings option. When this option is selected, the Collection Filter node evaluates the historical readings retrieved from the process historian and filters the collection to only the readings that have a time stamp within the last seven days.

You can also use the OT Connect Tag node to evaluate the most recent reading associated with an OT Connect Tag record in addition to the values contained in fields of an OT Connect Tag record. As shown in the following image, you can configure the Greater Than node to evaluate whether the most recent reading is greater than the Numeric Upper Level 2 limit value defined for the Policy Instance.

Point Value Nodes in Policy Designer

A Point Value node is an Input node that represents a value that you specify using a policy instance. You can use the Point Value node to represent:

  • Constant values that are used more than once in a policy model but are not the same value for each policy instance.
  • Values from fields in different families for each policy instance.

The output of a Point Value node is the value that you specify in each policy instance.

Node Properties

The Properties window for a Point Value node contains the items that are described in the following table.

ItemDescriptionNotes
Trigger check boxSpecifies whether or not changes to the record that is associated with the node will result in policy execution.None.
Data Type listSpecifies the type of data that the node represents.This property is not required, but it is highly recommended to select a value. This minimizes the chance of the Point Value node result either being misinterpreted during the policy execution and the validation, or being displayed in an incorrect format while viewing the execution and the validation results.
Note: The Data Frame option exists only for use by certain module workflow policies.

Point Value node

The following example illustrates how you can use the Point Value node to represent values from fields in different families for each policy instance. Consider the following nodes and connection.

In this example, the Point Value node Cost represents cost values of various types. This model evaluates each cost value to determine whether or not it is greater than 150.

The particular record and field containing each cost value are defined by policy instances. For example, you might create two policy instances, where:

  • One policy instance maps the Cost field from the Action family to the Cost Point Value node.
  • The other policy instance maps the Total Cost field from the Work History family to the same Cost Point Value node.

By using the Point Value node in this way, the policy can use one Input node to access values in multiple families and evaluate them against the same criteria.

Query Time Series Nodes

A Query Time Series node is an Input node that queries Time Series data for an asset that uses the Predix Time Series service. You can use the Query Time Series node to retrieve readings from the default Time Series data source.

The Query Time Series node, unlike the Predix Time Series node, requires you to provide the Tag ID as an input to the node, rather than in the Policy Instance. For example, the Tag ID to query could be retrieved from other records in the APM database using a Query node, or, determined by the policy logic and constructed from other node outputs using a Text node.

A Query Time Series node generates the following outputs:

  • Time stamp, which represents the time stamp value for the most recent reading.
  • Value, which represents the most recent reading value.
  • Quality, which represents the quality of the most recent reading. The quality of the reading is indicated by one of the values described in the following table.
    Numeric ValueDescription
    0Bad Quality
    1Uncertain Quality
    2Not Applicable
    3Good Quality
    Note: You must use the numeric value when you configure the nodes in the policy to operate on Quality values. However, in a policy output (for example, the text output from an Email Contact node), the description will be displayed. The example in this topic shows how to use the Quality value in a Collection Filter node.
  • Collection, which represents all readings associated with the Time Series service within the specified time frame and maximum number of readings. Each reading in the collection includes time stamp, value, and quality details.
  • Tag, which represents the ID of the Tag.

Node Properties

The Properties window for a Query Time Series node contains the items described in the following table.

ItemDescriptionNotes
Time Series TagSpecifies the ID of the Predix Time Series tag for which data will be retrievedYou can select to specify the output of a predecessor node in this section.
Start TimeSpecifies the beginning of the period within which the readings that you want to retrieve were recorded.This is not a required field. However, we recommend that you specify an appropriate value in this field to retrieve the most relevant data.
End TimeSpecifies the end of the period within which the readings that you want to retrieve were recorded.This is not a required field. However, we recommend that you specify an appropriate value in this field to retrieve the most relevant data.
Max ReadingsSpecifies the maximum number of readings that you want to retrieve from the Time Series data source.By default, up to 10000 readings are retrieved from the Time Series data source. However, as needed, you can specify any value up to the maximum number of points supported by the Time Series data source.
Note: For best performance, we recommend that you specify the minimum number of readings required for the policy.
Note: If you do not specify a value, and 10000 readings are retrieved, the execution history details for the node displays a potential data truncation warning.
Query OperationSpecifies the type of data you want to retrieve from the Time Series data source.By default, raw is selected. However, as needed, you can select interpolated, average, or sum to retrieve the required data.
Type of DataDescription
RawRetrieves data as it was ingested. Supported for all Time Series data sources.
InterpolatedRetrieves one interpolated value for each interval within the specified time range. Supported for all Time Series data sources.
AverageRetrieves one average value for each interval within the specified time range. Supported for Predix data sources only.
SumRetrieves either, one value which is the sum of the raw data values in the specified time-range, or, one value which is the sum of the raw data values for each interval within the specified time range. Supported for Predix data sources only.
Interval (seconds)Specifies the time interval in seconds.This is required when query mode is Interpolated or Average; it is an optional field for Sum. This is the time interval in seconds that the query for interpolated or average data is based on.
Interpolated ModeSpecifies the interpolation mode.Interpolated mode field is required when query mode is Interpolated.
Depending on the values specified in the Properties window, the collection of returned readings varies as described in the following table.
Start TimeEnd Time Max ReadingsResult
Date 1No valueNo valueReturns up to 10,000 earliest points starting on Date 1.
Date 1No valueNReturns up to N earliest points starting on Date 1.
No valueDate 2No valueReturns up to 10,000 latest points ending on Date 2.
No valueDate 2NReturns up to N latest points ending on Date 2.
Date 1Date 2NReturns up to N points starting on Date 1 and ending on Date 2.
No valueNo valueNo valueReturns up to 10,000 latest points ending on the current date.
No valueNo valueNReturns up to N latest points ending on the current date.

Query Time Series node

The example below explains how to use a Query Time Series node in a sub policy, to retrieve average reading values from a standard list of tags for an asset without needing to configure a large number of inputs for each policy instance. The example assumes that you have a coherent tag naming strategy in your APM system.

For example, Tag ID = <asset id>_<parameter name>

The main policy contains a Constant node named Parameter List with Data Type configured as Data Frame and Value configured to contain a single column of parameter names that you want to use in the policy.

The Properties window of the Sub Policy node is shown in the following images.

The Sub Policy node is configured to iterate over collection. Since the Tag Name input to the node is configured to use the Value (i.e. collection) output and Parameter Name column from the Constant node, the sub policy is executed for each parameter name.

The Asset ID, Start Time, and End Time inputs are all configured to use single value outputs from the prior nodes. These values remain the same for all iterations of the sub policy.

After the sub policy has executed for each parameter name, the main policy continues to execute additional logic on the collection of values returned from the sub policy. For example, the output from the Sub Policy node could be passed directly into a data frame input of an R Script node.

The sub policy design is shown in the following image.

A Text node in the sub policy concatenates the Asset ID value with the required tag name to create the Tag ID value to be used in the Query Time Series node.

The Properties window of the Text node is shown in the following image.

The calculated Tag ID value is passed into the Query Time Series node, which retrieves the raw Time Series data.

The Properties window of the Query Time Series node is shown in the following image.

An Average node computes the average value of readings that were retrieved by the Query Time Series node. An Is Null node is used to insert the value NA in case the Average node output is null, which happens if no readings are found within the time range. The Return Value nodes pass the Average value, Start Time, End Time and Tag ID for each iteration back to the main policy for further processing.

In the main policy, these values are accessed as a single collection containing four columns with one row for each parameter name that was processed.

Query Nodes in Policy Designer

A Query node is an Input node that represents a query that is stored in the APM Catalog. You can use a Query node to access the results of a specific query. The query will run each time the policy is executed so that the latest results are used in the policy execution. If the specified query contains prompts, you must use the node's Properties window to identify the values that should be provided to the prompts.

A Query node generates the following outputs:

  • Result Set, which represents the full results of the specified query. This output can be used only with successor nodes that are capable of handling collections.
  • Any value in the top row of the specified query.
Note:
  • A Query node cannot be the first node in a policy model.
  • The Result Set is restricted to the 10000 rows of the query results.

Node Properties

The Properties window for a Query node contains the items that are described in the following table.

ItemDescriptionNotes
Query PathSpecifies the path to the query that will run when the policy is executed.

You can select the switch to field input () button to select an input from another node. You can select the show the constant field input () button to select an output of a predecessor node in this section.

Note: When the query path is sourced from a predecessor node, the results collection output from the query node can be used only when you do not need to select a specific column in the collection.

You can enter the path manually, or you can browse to the query by selecting .

The query that you choose must meet the following criteria:

  • It must have an ID and a caption.
  • It must be a Select query (that is, not a Crosstab, Update, Append, or Delete query).
  • Any parameters within the query must contain a unique ID.
Query sectionProvides values to any query prompts.One Query section appears for each prompt in the selected query. The label that appears after Query: identifies the prompt caption.

You can select to specify the output of a predecessor node in this section.

Query node

The following example illustrates how you can use the Query node with other nodes in a policy model to access and analyze Policy Event records using the Events Query in the baseline APM Catalog.

Consider the following nodes and connections.



In this example, the Policy Events Query Query node is connected to the Equipment Entity node and to a Collection Filter node, which is then connected to various additional Condition, Calculation, and Action nodes.

As shown in the following image, you can use the Properties window for the Query node to specify the query whose results you want to use in the policy model. You can also see that the specified query contains a prompt, Asset Key, and that a system field from the Equipment Entity node, Entity Key, is used to supply values to the prompt.

When you connect the Query node to a successor node, in the Properties window of the successor node, you can select the Result Set option to evaluate the full query results.

In this example, the Collection Filter node is used to filter the query results. As you can see in the following image of the Properties window for the Collection Filter node, the query results are filtered to include only the policy events that lasted longer than 10 seconds, occurred within the last month, and have the name IOW Excursion.

The subsequent Calculation and Condition nodes evaluate the filtered query results and trigger actions when the specified conditions are met. Specifically, the remaining nodes in this policy work together to send an email message and to create a recommendation if the filtered query contains more than two results or if the total duration of the query results exceeds 4 minutes.

User Nodes in Policy Designer

A User node is an Input node that represents the Security User and Human Resource families. You can use a User node to access user information that is stored in records belonging to either of these families.

A User node generates the following outputs:

  • Any field in the Security User family or Human Resource family.
  • The following system fields in the Security User family: Entity Key, Entity ID, and Family Key.
Note: When you assign records to a User node via policy instances, you will assign Security User records only. The Human Resource records that are associated with each Security User record will be mapped automatically.

Node Properties

The Properties window for a User node contains the items that are described in the following table.

ItemDescription
Primary RecordSpecifies whether the node represents a primary record.
TriggerSpecifies whether changes to the record that is associated with the node will result in policy execution.

User node

The following example illustrates how you can use the User node to access the email address, which exists in the Human Resource family, and the User ID, which exists in the Security User family, for the same person. Consider the following nodes and connections.

In this example, the Engineer User node is connected to an Email Contact node and a Create Recommendation node.

As shown in the following image, you can use the Properties window for the Email Contact node to select the User node and the Email Address field in the Human Resource family.

Additionally, as shown in the following image, you can use the Properties window for the Create Recommendation node to select the User node and, in this case, a field in the Security User family, User ID.