Skip to main content
LinkedIn
Copied!

Table of Contents

Creating pre-import steps

Version:

Only available versions of this content are shown in the dropdown

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.

Pre-import actions must have an applies to class of PegaAccel-Management-Import.

Follow this general process to create pre-import steps.

  1. Save a copy of the pyPreImportCollection 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 pre-import properties to include archive metadata in step actions. For information about the pre-import properties, see Pre-import activity properties.
    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.
  • Pre-import action properties

    Use metadata properties to create pre-import action steps that run before every import attempt. The metadata for the incoming archive, for example, the archive name, the list of all the rules it contains, and so on, is available to the pyPreImportCollection rule from properties on the embedded page pxArchiveMetadataPage.

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