Skip to main content


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

Creating post-import steps

Updated on May 11, 2022

To automatically take actions after every successful archive import, configure post-import steps in the post-import collection. For example, you can configure an activity to display a detailed success message.

Post-import steps must have an applies to class of PegaAccel-Management-Import.

Follow this general process to create post-import action steps.

  1. Save a copy of the pyPostImportCollection rule to your application layer.
  2. Open the new rule in your application layer.
  3. Delete the placeholder step pxImportInfoMessage.
  4. Add action steps to run after every successful import. Use the post-import properties to include archive metadata in step actions. For information about the post-import properties, see Post-import action parameters.
    1. Click Add step to create a new step.
    2. In the Condition section Execute step field, specify when the step will run. The default is Always.
    3. Set the scope for the step in the Context field. The default is Current Page. For more information, see Setting the context of a collection step.
    4. Specify the step action in the Action section.
    5. Optional: To use parameter values from an earlier step in this collection, select Pass current parameter page.
    6. Optional: Click Add response action to specify an action run after this step in the collection. For more information, see Using response actions in a collection.
  5. Repeat step 4 to add additional steps to the collection.
  6. Click Save.
  • Post-import action properties

    Use archive metadata properties to create post-import action steps that run automatically after every successful import. The metadata for the import operation, for example, the number rules imported, the duration of the import, and so on, is available to the pyPostImportCollection through properties on the embedded page pxImportResultPage.

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