Skip to main content

 –

Creating a service file to ingest customer data

Suggest edit Updated on September 21, 2021

Create a service file to define a package of rules for processing the manifest file.

The goal of this procedure is to create the following rule with sample parameter values:

Rule typeRule nameRulesetWork class
Service fileUPlusProcessManifestFileUPlusCDH-Rules:01-01-01UPlus-Work-Ingestion
Important: When you configure this rule in your system, use the values that are appropriate for your system.
  1. In the navigation pane of Dev Studio, click Records.
  2. Expand the Integration-Services category, and then click Service File.
  3. On the Service File tab, click Create.
  4. On the New tab, configure the following parameters:
    1. In the Label field, enter UPlusProcessManifestFile.
    2. In the Customer Package Name field, enter the name of the service package that you created earlier, which in this example was UPlusIngestionFileProcessing.
    3. In the Customer Class Name field, enter Default.
    4. In the Add to ruleset fields, select UPlusCDH-Rules and 01-01-01.
  5. Click Create and open.
  6. On the Service tab, in the Primary page class field, enter the name of the ingestion work class, which in this example is UPlus-Work-Ingestion.
    Note: The system creates the ingestion work class automatically when you create the ingestion case type. To check what the ingestion work class is in your system, in the navigation pane of Dev Studio, click App, and then expand the following categories: IngestionSysAdminClass.
  7. Click the Method tab, and then in the Processing method field, select file at a time.
  8. Click the Request tab, and then configure the following parameters:
    1. In the Map to field, enter XML ParseRule.
    2. In the Map to key field, enter the name of the Parse XML rule that you configured earlier, followed by the name of the root element of your manifest file, which in this example is UPlusManifestParser manifest.
    3. In the Final activity field, enter svcAddWorkObject.
    Service file configuration for data ingestion
    The Parse XML rule and the svc Add Work Object activity are used in
                                the service file configuration.
  9. Click Save.
  10. In the Processing epilog section, configure the following parameters:
    1. In the FlowType field, enter pyStartCase.
    2. In the organization field, enter UPlus.
    3. In the workPage field, enter pyWorkPage.
    Processing epilog configuration
    The flow type, organization, and work page parameter values are set
                                for the final activity.
  11. Select the SkipCreateView check box.
  12. Click Save.
    • Previous topic Creating a service package to ingest customer data
    • Next topic Creating file listeners to ingest customer data
    Did you find this content helpful? YesNo

    Have a question? Get answers now.

    Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

    Ready to crush complexity?

    Experience the benefits of Pega Community when you log in.

    We'd prefer it if you saw us at our best.

    Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

    Close Deprecation Notice
    Contact us