USM Anywhere™

Determining the Mapping of a Field

You can determine the mapping of a field by adding the request in the condition of an orchestration rule. From an asset that has an assigned integration or from AlienApps, you can determine the mapping between the property value and its property key. Once you know the property key, you can add the field as a condition in your rule.

To determine the mapping of a field from AlienApps

  1. Go to Data Sources > AlienApps.
  2. Click the Available Apps tab and locate the integration.
  3. Click theicon and copy all of the text within the Data pane.

    Copying data content

  4. Open a text editor and paste the copied text.
  5. Search the property key inside the copied text and copy the property value that maps with that property key.

    Note: Keep in mind that in this example the field is “customfield_11“. This is only for this integration; the same field from another integration may be mapped to another field.

    Mapping

  6. Go to Settings > Rules.
  7. Click Create Orchestration Rule > Create Notification Rule. See Notification Rules from the Orchestration Rules Page for more information.
  8. Click Add Condition and paste the property value.
  9. Choose an operator and enter the value.

    Create a notification rule

  10. Note: The fields found in the integration code may be different from the fields used in the rule conditions. In the example, “customfield_11“ is actually the “Custom Field 11“ in rule conditions.

  11. Click Save Rule.

To determine the mapping of a field from assets

  1. Go to Environment > Assets.
  2. Locate the asset that has the integration assigned.
  3. Next to the asset name, click the icon and select Full Details.
  4. Click the AlienApps tab.

    Details of an asset, AlienApps tab

  5. Click theicon.
  6. Copy all of the text under the Data pane.

    Details of an asset, AlienApps tab

  7. Open a text editor and paste the copied text.
  8. Search the property key inside the copied text and copy the property value that maps with that property key. For example, search the property key fromPort. This property key maps with customfield_11.

    Note: Keep in mind that in this example the field is “customfield_11“. This is only for this integration; the same field from another integration may be mapped to another field.

    Mapping

  9. Go to Settings > Rules.
  10. Click Create Orchestration Rule > Create Notification Rule. See Notification Rules from the Orchestration Rules Page for more information.
  11. Click Add Condition and paste the property value.
  12. Choose an operator and enter the value.

    Create a notification rule

  13. Note: The fields found in the integration code may be different from the used in the rule conditions. In the example, “customfield_11“ is actually the “Custom Field 11“ in rule conditions.

  14. Click Save Rule.