Create a reference to a Variable

At least one Variable must exist in a DML Mapping Project before you begin.

Refer to a Variable from an expression:

  1. Display the Mapping Services expression field in which you want to refer to a Variable.
    In...Use a reference to a Variable in ...

    Input Business DocumentValidation Rule

    s that check that the required content is present in the input Business Document.

    All DML Blocks of every Integration Process in the Integration Task that receives the input Business DocumentDecision Path

    and Maps that generate the relevant output Business Documents.

    Output Business DocumentsValidation Rule

    s that check that the required content is present in the output Business Document.Functions

    Custom Function

    parameters.

  2. In the Mapping Manager tab, locate and expand the folder that contains the Variable you want to refer to.

Alternatively you can locate a Variable using the Entity Browser.

  1. Drag-and-drop the Variable to the appropriate field. Mapping Services adds the name of the Variable to the field and prefixes the percent sign to the Variable name, as follows: %Variable_Name. If the Variable does not belong to the current WorkFolder, Mapping Services also prefixes the name of the Folder to the Variable name, as follows: %Folder_Name.Variable_Name

Verify the syntax.

  • The Variable name must be preceded by the % character. Example: %VariableName
  • If the Variable name is a reserved word or contains only digits, you must enclose the name with the exclamation point character (!).
  • Examples: %!do! and %!12!

Related topics

Use Variables

Related Links