Importing and exporting actions
In addition to creating actions manually, you can also import actions created outside of Pega Customer Decision Hub by uploading a .csv file with the action data.
Pega Customer Decision Hub
- Prepare a valid .csv file with the list of actions that you want to import. The .csv
file must contain the name and status (.pyIsPropositionActive) value of
the action. Possible values for the .pyIsPropositionActive are
Always, Never, and the expiration date of
the action.
- In the Actions landing page, click .
- Click Choose File and select a valid .csv file. The .csv file must contain the name and status (.pyIsPropositionActive) value of the action. Possible values for the .pyIsPropositionActive are Always, Never, and the expiration date of the action.
- Select the Issue and Group for the actions in the import file.
- In the Template Type section, select whether Pega Customer Decision Hub should apply a flow template to the imported actions.
- None - Actions are imported with a default flow. The default flow consists of a Start and an End shape.
- Reference flow from another action - For each action in the .csv file, you can specify an existing action to be used as template for the imported action by populating DynamicTemplateName, DynamicTemplateIssue, and DynamicTemplateGroup fields. The imported action is created with the same flow as the template action. If the template action is not found, the new action is imported with a default flow. The default flow consists of a Start and an End shape.
- Copy flow from another action - If your .csv file does not specify individual templates for each action, you can select one action to use as template for all actions in the .csv file. The imported actions are created with the same flow as the template action.
- Optional: If you want to completely overwrite existing actions with actions from the .csv file,
select Delete existing actions that are not in the file. This will delete any action which is not included in the .csv file you are importing.
- Click Import.
- Exporting Actions
You can export actions created in Pega Customer Decision Hub to a .csv file with the action data. You can also use the Export function to quickly create a valid import template for actions created outside of Pega Customer Decision Hub.
Previous topic Exporting Actions Next topic Monitoring actions