Skip to main content


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

Post-import action properties

Updated on July 8, 2022

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.

General post-import properties

These properties are included in pxImportResultPage.

Property nameTypeDescription
pxSQLStatementsValueListThe SQL statements that were executed as part of the archive import
pxRuleTypesValueListThe pxObjClass of each rule type in the imported archive
pxHandlesValueListThe pxInsKeys for each instance in the imported archive
pxImportChannelTextThe channel through which the archive is imported (UI, REST, CLI, PRODUCT MIGRATION)
pxImportedCountIntegerThe total number of imported instances in the archive
pxSkippedCountIntegerThe total number of skipped instances in the archive
pxFailedCountIntegerThe total number of instances in the archive that failed to import
pxDurationDoubleIn milliseconds, the duration of the archive import
pxMoveLogHandlesValueListThe list of pzInsKeys for the move log

Import input properties

These properties include metadata about the archive that describes how to manage the import. The properties are included in pxImportInput.

Property nameTypeDescription
pxModeTextThe import mode (INSTALL, IMPORT, HOTFIX, RESTORE)
pxSkipExistingInstancesBooleanSpecifies whether to skip existing rule instances during the import
pxOverrideExistingInstancesBooleanSpecifies whether to override existing rule instances during the import
pxFailOnErrorBooleanSpecifies whether to stop the import if there is a failure
pxCommitCountIntegerSpecifies how many rules to commit to the database at one time
pxCompileLibrariesBooleanSpecifies whether to compile the imported libraries
pxAllowImportWithMissingDependenciesBooleanSpecifies whether to continue the import if there are missing dependencies
pxByPassSchemaBooleanSpecifies whether to bypass schema changes during the import
pxCodeSetNameTextThe codeset name for the archive
pxCodeSetVersionTextThe codeset version for the archive

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