Skip to main content

Table of Contents

Pre-import and post-import collections


Only available versions of this content are shown in the dropdown

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.

Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us