Output Tab

Prerequisites

On the Subscription Items tab you have already added the tags, which you want to monitor, as subscription items. See also: Subscription Items Tab

Context

You use the Output tab in the notification process to define the information that is to be passed on to a destination system using the notification. In the case of the notification process, the output values are formed from subscription items and, if necessary, a message text. In the simplest scenario, the output expressions have a 1:1 relationship to the subscription items.

However, you can also define complex expressions that combine multiple elements of the data source with one another. You can change the values of the expressions using the expression editor functions, if necessary. The expression editor provides arithmetic functions and string operators for this purpose. The following table contains examples of output expressions based on subscription items.

Relationship of Output Expression to the Subscription Item

Examples of Output Expressions

1:1 relationship between subscription item and output expression:

Subscription item Item 1 is assigned to the output expression 1.

'Item1'

1:1 relationship between subscription item and output expression:

Subscription item Item 1 is assigned to the output expression 1 and, in addition, 10 is to be added.

'Item1'+ 10

Several subscription items are combined in one expression.

'Item2' & "," & 'Item3'

The output expression has no relationship to a subscription item, for example, if the plant 1000 or the time stamp are to be output.

"1000"

datenow

Procedure

  1. Select the notification and click on the Output tab.

    The Output Expressions table is still empty.

  2. In the simplest scenario, where there is a 1:1 relationship between a subscription item and the expression being output, choose the Generate Expressions icon.

    With this function, you can generate expressions for the subscription items automatically. These expressions are then displayed in the Output Expressions table.

  3. The following additional functions are offered through icons:

    Icon

    Function Description

    Add Expression Using Expression Editor

    You can use this function to add an expression using the expression editor. See: Adding an Expression

    Edit Expression

    You can use this function to change an expression selected in the table in the expression editor. See: Formulating and Calculating Expressions.

    Delete Expression

    You can use this function to delete a selected expression.

    Generate Expressions

    You can use this function to automatically generate expressions for subscription items. See: Generating Expressions

    Determine Name of Selected Expressions

    If you have created or renamed output expressions manually, you can use this function to adapt the name to the standard settings. The new name is derived from the subscription item in the expression, as long as this produces a unique name that has not yet been used.

    Copy Selected Output Expressions to Clipboard

    You can use the clipboard to transfer selected output expressions from one notification to another notification of the same agent instance or another agent instance. This function copies the selected output expressions and the corresponding context items to the clipboard.

    Paste Output Expressions from Clipboard

    This function inserts the output expressions and their dependent context items from the clipboard.

    Remove Context Items from Selected Output Expressions

    This function deletes the context items of the selected output expressions. (See also: Maintaining Context Items.)

    Add Context Items from Clipboard to the Selected Output Expressions

    You can use the clipboard to copy context items from an output expression and add them to other output expressions. You can use this pushbutton to add the context items that you previously copied to the clipboard to the selected output expressions (see also: Maintaining Context Items.)

    Show Context Items

    To create the business context of an expression, you need to choose Show Context Items. The Context Items screen area then appears. See: Maintaining Context Items

    Testing a Notification Delivery

    You can use this function to generate a notification message in XML format and to send it to the destination system. See: Testing a Notification Delivery