IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Advanced development topics > Customize behavior with visual snippets

Use mapping service snippets

When you want to transform data in a business object from one format to another using the visual snippet editor, you can use one of the three mapping service snippets provided.

There are three types of mapping snippets available:

Basic mapping snippet

Use a basic mapping snippet for general mappings between two business objects. This standard visual snippet provides terminals that you can use link to the name and namespace of the map, the business objects that you are working with, and three exceptions.

Advanced mapping snippet

The advanced mapping snippet builds on the basic mapping snippet. It includes similar terminals, but accepts a map of input and a map of output business objects. It also provides an additional terminal for an execution context (which may be null).

Specific mapping snippet

Use a specific mapping snippet to reference an existing business object map. Like the previous two options, this standard visual snippet has terminals for inputs (that automatically refer to the business objects as defined in the business object map), exceptions and for execution context.
To add one of these snippets to your diagram, proceed as follows:


Procedure

  1. In the visual snippet editor, click the Standard visual snippet activity icon ().

  2. In the Add a Standard Visual Snippet window, expand mapping services, chose one of the three available options, and click OK.

    You will only be able to select a specific mapping snippet if there is an existing business object map. You will be able to select it in the Business Object Map Selection window.

  3. Wire the terminals as needed.

Customize behavior with visual snippets