Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Creating a decision table to ingest customer data

Updated on August 3, 2022

This content applies only to Pega Cloud environments

Create a decision table to define a set of conditions under which the system runs a specific ingestion process using the appropriate data flows, or reports an error.

The goal of this procedure is to complete the following tasks:

  1. Create the following rule with sample parameter values:
    Rule typeRule nameRulesetClass
    Decision tableUPlusIngestionProcessTypeUPlusCDH-Rules:01-01-01UPlus-Work-Ingestion
    Important: When you configure this rule in your system, use the values that are appropriate for your system.
  2. Add the rule to the Process type? decision shape in the process flow in the Ingestion case type.
Before you begin: Create the Ingestion case type. For more information, see Creating a case type to ingest customer data.

The starting point for this procedure is the process flow that you added to the Ingestion case type, as shown in the following figure:

UploadToXCAR flow
The UploadToXCAR flow.
  1. On the Edit Flow: UploadToXCAR tab, double-click the Process type? decision shape.
  2. In the Type field, select Decision Table.
  3. Click the Crosshairs icon to the right of the Rule field.
  4. On the New tab, configure the following parameters:
    1. In the Label field, enter UPlusIngestionProcessType.
    2. In the Apply to and Add to ruleset fields, leave the default values.
  5. Click Create and open.
  6. On the Table tab, create the following decision table:
    Tip: The decision table uses the data flows and properties that you created earlier.
    processTypeReturnDataFlowClassNameDataFlowName
    ifAccountIngestionNAUPlusCDH-Data-Comms-AccountUPlusImportAccount
    else ifSubscriptionIngestionNAUPlusCDH-Data-Comms-SubscriptionUPlusImportSubscription
    else ifHoldingIngestionNAUPlusCDH-Data-Comms-HoldingUPlusImportHolding
    otherwiseNAErrorError
    Decision table for selecting the ingestion process
    A decision table for selecting the ingestion process.
  7. Click Save.
  8. Go back to the UploadToXCAR tab.
  9. In the Rule field, select the UPlusIngestionProcessType decision table that you created.
    Adding the decision table rule to the decision shape
    The U Plus Ingestion Process Type decision table rule is selected in the Rule field.
  10. Click Submit.
  11. On the Edit Flow: UploadToXCAR tab, click Save
Result: You have configured the first decision shape. You can now configure the utility shape by creating an activity to ingest customer data.

    Have a question? Get answers now.

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

    Did you find this content helpful?

    Want to help us improve this content?

    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