uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

6.5.1 Concatenating Multiple Strings

Concatenates strings from multiple mapping sources into a single string.

Organization of this subsection
(1) Function used
(2) Setup procedure

(1) Function used

To concatenate strings from multiple mapping sources, you use the concatenate function. The following figure shows an example that uses the concatenate function.

Figure 6-2 Usage example of the concatenate function

[Figure]

(2) Setup procedure

To concatenate strings from multiple mapping sources into a single string:

  1. From the palette, choose the concatenate function (concat), and deploy it in the mapping viewer.
  2. Set up a mapping line.
  3. Use one of the following methods to open the Concatenate dialog box.
    • Right--click the concatenate function, and choose Setting.
    • Double--click the concatenate function.
    The Concatenate dialog box opens.
    For details about the Concatenate dialog box, see the manual Cosminexus Service Platform Overview.
  4. To add the mapping source of the string to be concatenated to Input, set up the following:
    • When the mapping source is a transformation-source node
      Clicking Add Node opens the Choose Node dialog box. In the Choose Node dialog box, choose the transformation-source node that becomes the mapping source.
    • When the mapping source is a function
      Clicking Add Function opens the Choose Function dialog box. In the Choose Function dialog box, choose the function that becomes the mapping source.
    If multiple mapping sources are specified in Input, the concatenation targets displayed in Input are concatenated sequentially starting at the top. The concatenation target displayed at the top is set up to the left of the concatenated string.
  5. When a transformation-source node is specified in Input, to specify a condition for the transformation-source node and map it only when this condition is satisfied, click Set Node Condition.
    The Set Node Condition dialog box opens.
    For details about how to set a node condition, see 6.7 Specifying Node Conditions. For details about the Set Node Condition dialog box, see the manual Cosminexus Service Platform Reference.
  6. Click OK.