Skip to main content


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

Pre-import and post-import collections

Updated on May 11, 2022

Add steps to the pre-import and post-import collections to take specific actions based on archive metadata. Pre-import steps run before every archive import attempt. Post-import steps run after every successful archive import.

For example, you can configure a pre-import step to automatically verify that an archive meets certain criteria before you import the archive. If the archive does not meet the criteria, the system does not import the archive.

The following collections contain ordered lists of steps:

  • The pre-import collection is pyPreImportCollection.
  • The post-import collection is pyPostImportCollection.

The metadata associated with the steps is stored on the following pages:

  • The metadata properties used for pre-import steps are included in pxArchiveMetadataPage.
  • The metadata properties returned by post-import steps are included in pxImportResultPage.

The extension point for both the pre-import and post-import collections is the PegaAccel-Management-Import class. The collection rules have access to the metadata of the incoming archive through the pxArchiveMetadataPage.

The collections can interact with the incoming archive metadata that is created when the archive is created. This metadata includes dependency lists (hotfixes, applications, and so on). All of the rules executed by the pre-import and post-import processing must exist on the server prior to importing the archive.

  • Creating pre-import steps

    To automatically take actions before any archive import attempt, configure pre-import steps in the pre-import collection. For example, you can use archive metadata to ensure that you only import archives that meet your criteria.

  • Creating post-import steps

    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.

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