Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

Context schema layout allows you to map Context Variable with any element of schemalayout.

This section explains you how to use context schema to map context variable. 
High level steps to use context schema are as follows:

Create Context Schema


First of all you need to create context schema. Context schema Steps to create Context layout

Context layout contains name of the context variable that you want to map to other element. While creating context schemalayout, you can create context variables or you can import it from the process flow within which you want to use this mapping activity. 
 

Steps to create Context Schema

  

  1. Go to Open and select Create Context Schemalayout.
    Image Removed
    Image Added

     

  2. The Create Context Schema layout Dialog window is displayed.



  3. To add a context variable click Add Row and enter the name of the variable.
  4. Repeat the same steps to create other variables.

  5. You can also import the context variables of the process flow in which you want to use this mapping activity. To import context variables from process flow, click Import From Process Flow.

  6. Import Context Variable dialog box is displayed.



  7. Select the process flow, from which you want to import context variables and click Import.
  8. Click Save.

Load Context Variable

Once you have created the context schema, you need to load it at source or destination end depending on your need. 
 

Steps to Load Context Schema

  1. To load the Context Schema at source or destination end, click Open and select Load Schema.The Select Schema dialog box is displayed.

  2. Select the Context as the schema type. The variables on Context schema are loaded on left panel.

  3. Enable the respective check box to load the Source and/or Destination schema.
  4. Click Load.

Map Schema Elements

Once you load the context schema, you can map its variables to elements of other schema.

Modify Streaming Properties of Mapping Activity

...

  1. .

...

Steps to disable input and output stream of mapping activity

...

While designing the process flow, double click the mapping activity that you have created using context schema definition. Properties of the mapping activity are displayed.

...

Info
If Context Schema is used at source side, then at run time the actual value of these context variables will be used in the Data mapping. Similarly if Context Schema is used at target side then the output of the data mapping will be parsed and corresponding new value of these context variables will be set.

...