Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Context variables are used for mapping source elements, functions or constants to target elements. They are declared and used globally for all target elements. Once declared, they're available to be used in a Process Flow too.
To use a global variable in a mapping activity, you need to map it to a target element. This will successfully execute the global variable when you execute the mapping activity in the process flow.

Steps to declare a Context Variable

  1. Ensure that the source and destination layout are loaded and all their elements are listed under their respective nodes.
  2. In the Parameters panel, click Add Parameters icon and select Variables option.



  3. In the Create New Variable window screen, select Context Variables option.


  4. In the Name field, enter the name of the Context variable. 
  5. In the Context Variable Value area, enter a value for the Context variable.
  6. Click Save.
    You'll see the Context variable added to the Parameters panel as shown below.