Using a called process


Any process can be a called process. When you use an existing process within another process, the existing process is a called process. The process that contains the called process is the calling process.

To use a called process

  1. On the TrueSight Orchestration Development Studio process canvas, open the process that will be the calling process.
  2. Drag the process that you want to call from the Project Navigator to the process canvas.
  3. Use the gray process line to connect the called process to the calling process.
  4. (optional) Map context items from the calling process to the input parameters of the called process using the following steps:

    If the input parameters have names that match the names of context items in the calling process, they are automatically mapped to those context items.

    1. Double-click the called process.

      The Property panel for the Call Process activity is displayed.
      The Properties tab contains the Call Process Input Mapping section and the Called Process Output Mapping section. The Call Process Input Mapping section maps information from the calling process to the input parameters of the called process. The Output Name column is already populated with the names of the input parameters.

    2. In the Call Process Input Mapping section of the Properties tab, double-click in the first input parameter field.
    3. Enter the value to map in the Input pane using the following steps:
      1. Select the input parameter type.
      2. Choose the appropriate input for the selected parameter type.

        Mapping parameters

        Parameter type

        Description

        String

        Maps a string value. Any string value can be typed into the input box.To add the contents of a context or configuration item to the string, use the Insert Context/Config button to the right of the input area. Multiple context and configuration items can be added to a single string.

        In TrueSight Orchestration Platform version 7.9.01 or later, you can concatenate a string and a context item that points to a secure module configuration item. The resulting output is another secure data item.

        To use predefined XML samples, or to save the contents of the input box as a resource, use the buttons to the left of the input box.

        Numeric

        Maps a numeric value.

        Date

        Maps a date value.

        XML

        Maps an XML value.

        Context Item

        Maps a value from a previously defined context item to this context item.

        Use the Context Browser button to add the name of the context. The Edit button (pencil) can be used to manually enter or edit a context name.

        Warning

        New contexts can be created using the Context Browser and Edit buttons in the assignment input section; however, if the context name is not created by a previous step in the process, an undefined context error might occur when the process executes.

        Module Configuration

        Maps a module configuration item or group.

        You can select any item in the Module Configuration hierarchy tree. Selecting leaf nodes enables you to select an individual configuration item. Selecting a non-leaf node enables you to select an XML document containing all children of that node.

        System Parameter

        Maps a system value determined at process run time.

        Dynamic Context

        Maps a dynamic context to a context item. Use the Context Browser button to add the context item containing the name of the dynamic context item.

    4. Click OK.
    5. Repeat steps b, c, and d for each output item that you want to map to a context item in the calling process.
    6. Click OK to close the Property panel for the Call Process activity.
  5. Save the process.

Related topic

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Orchestration Platform 22.2