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 allows you to map Context Variable with any element of schema.

...

  1. In Data Mapper applet, from the Action menu select Create Context Schema Definition. The Create Context Schema Definition Dialog window is displayed ( see Figure 474 ).

    Figure 474: Create Context Schema

     

    Only the Remove Mapping is displayed as always enabled. The other options are enabled only if they have been defined for the particular element.

  2. To add a context variable click Add button and enter the name of the variable.
  3. Repeat the same steps to create other variables (see Figure 475 ).

    Figure 475: Add Variables

  4. 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 button. Import Context Variable dialog box is displayed (see Figure 476 )

    Figure 476: Import Context Variables

  5. Select the process flow, from which you want to import context variables and click Load.
  6. Click Save.

...

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

Steps to Load Context Schema Definition

...

Once you created the mapping activity using context schema you need to changes its streaming properties while creating process flow using this mapping activity. 
If Context Schema is loaded at source side then there is no need to provide the source (dummy source) stream to the Mapping activity. Similarly if Context schema is loaded at target side then Mapping activity will not generate any output stream, so there is no need to attach dummy target. To achieve thisGenerate Stream and Consume Stream property has been added to Data Mapper activity in the Process Designer. User can disable these properties based on whether Context schema is loaded at source or target side. 
 

Steps to disable input and output stream of mapping activity

...