Configure a CCM Pack activity

  1. Add a CCM Pack activity to the map. See Add an activity.
  2. On the Extended Properties page of the CCM Pack activity, click the Configuration tab.
  3. In the Pack Id box, consume a String variable that holds the ID of a pack returned from the CCM Compose activity.
  4. To connect TotalAgility to a CCM Server, consume an existing CCM server in the CCM Instance box.

    All projects available within the selected CCM instance appear on the Project list.

  5. On the Project list, select a CCM project.
  6. Select either option for Type.
    Note If the Document Pack Template or Document Template does not correspond to the template used to create the pack, you may get unexpected results when the extraction is performed.

    Document Pack Template. (Default): Displays the document pack templates that belong to the project.

    1. On the Document Pack Template list, select a template.

      Note A document pack template includes one or more templates from a pack in the project. When you select a document pack template, all the templates within the pack are displayed.
    2. Optional. To extract the documents from the CCM Pack, consume a process in the Process box for a template.

      At runtime, for each template that has a process mapped, a job is created on the process.

      Note
      • The process must have only two initialization variables in the given order:

        1. String: This variable holds the parent job ID of the map in which CCM Pack activity is executed.

        2. Document: This variable holds the document for the template.

      • As the document pack contains multiple templates, you must consume the process at least for one template. Consuming process for other templates is optional.

    3. Optional. To add extracted documents from the CCM Pack to a different folder, consume a string variable or folder variable in the Folder box for a template.

      At runtime, the corresponding document for that template in the zip file is extracted and added to the folder ID specified. If you do not consume a folder, the document is added to its own folder.

      Note For a template, you can either consume a process or folder. If you consume both, the document is added to the existing folder, and document variable holds the document for the template.

    Document Template: Displays document templates that belong to the project.

    1. On the Document Template list, select a template.

    2. Optional. To extract the document from the CCM Pack, consume a process in the Process box for a template.

      At runtime, for each template that has a process mapped, a job is created on the process.

      Note The process must have the following two initialization variables in the given order:
      1. String: This variable holds the parent job ID of the map in which CCM Pack activity is executed.

      2. Document: This variable holds the document for the template.

    3. Optional. To add extracted documents from the CCM Pack to a folder, consume a string variable or folder variable in the Folder box for a template.

      At runtime, the corresponding document for that template is extracted and added to the folder ID specified. If you do not consume a folder, the document is added to its own folder.

      Note For a template, you can either consume a process or folder. If you consume both, the document is added to the existing folder, and document variable holds the document for the template.

  7. Click Close.