Creating an activity to ingest customer data
This content applies only to Pega Cloud environments
Create an activity to define a sequential set of steps to perform the required processing and run the ingestion data flows.
The goal of this procedure is to complete the following tasks:
- Create the following rule with sample parameter values:
Rule type Rule name Ruleset Class Activity ExecuteIngestionDF UPlusCDH-Rules:01-01-01 UPlus-Work-Ingestion - Add the rule to the Execute ingestion utility shape in the process flow in the Ingestion case type.
- On the Edit Flow: UploadToXCAR tab, double-click the Execute ingestion utility shape.
- Clear the Rule field.
- Click the Crosshairs icon to the right of the Rule field.
- On the New tab, configure the following
parameters:
- In the Label field, enter ExecuteIngestionDF.
- In the Apply to and Add to ruleset fields, leave the default values.
- Click Create and open.
- Click the Pages & Classes tab.
- Add the RunOptionsPage with the following
parameters:
- In the Page name field, enter RunOptionsPage.
- In the Class field, enter Data-Decision-DDF-RunOptions.
- Add the Progress page with the following parameters:
- Click the Add item icon to add a new row.
- In the Page name field, enter Progress.
- In the Class field, enter Data-Decision-DDF-Progress.
- Click the Parameters tab.
- In the Parameters section, add a parameter with the
following settings:
- In the Name field, enter sleepTime.
- In the Data type field, select Integer.
- In the Required, ensure that No is selected.
- In the In/Out, ensure that In is selected.
- In the Local variables section, add a variable with the
following settings:
- In the Name field, enter dfstatus.
- In the Data type field, ensure that String is selected.
- On the Steps tab, configure the following steps:
Step number Method Step page PropertiesName PropertiesValue 1 Page-New RunOptionsPage 2 Property-Set param.sleepTime 30 RunOptionsPage.pyAppliesTo .DataFlowClassName RunOptionsPage.pyRuleName .DataFlowName 3 Call pxRunDDFWithProgressPage RunOptionsPage 4 Property-Set Progress local.dfstatus @(PegaMKT-Engine:PegaMKTUtilities).monitorDFProgress(tools,param.sleepTime) Param.DataFlowID Progress.pyWorkItemID 5 Page-Remove RunOptionsPage - Click Save.
- Go back to the UploadToXCAR tab.
- In the Rule field, select the ExecuteIngestionDF activity that you created.
- Click Submit.
- On the Edit Flow: UploadToXCAR tab, click Save.
Previous topic Creating a decision table to ingest customer data Next topic Creating a Parse XML rule to ingest customer data