Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to Export Archive from Command Line

SA-19142

Summary



When exporting archive using command line utility by setting the necessary values in prpcUtils.properties and prpcUtils.xml. Though the Export is successful but the exported archive does not contain required instances.

Only the instances of the class name provided in the export.classes.included are being included in the archive. All the rules which are in the provided Ruleset Version range [eg: export.startVersion=01-01-01,export.endVersion=01-03-20 ] are not included in the archive files.
Though there are more than 100 rules in the provided ruleset version range, only 15 instances which belong to the class name provided in the export.classes.included are included in the archive.


Error Messages



Not Applicable.


Steps to Reproduce



1. Edit prpcUtils.properties with export.classes.included = <work class name>,export.startVersion=01-02-01, export.endVersion=01-03-20
2. Run using command line by giving 'prpcUtils.bat export'
3. Create zip or jar file, import in designer studio:
   DesignerStudio > Application > Distribution > Import
4. Check under Rule classes.


Root Cause



While exporting, instead of 'rule-'  customer is giving work class name. After modifying export.classes.included to 'Rule-', required rules are exporting but in addition to that non-versioned rules also exporting.

Resolution



For exporting rules, export.classes.included must be 'Rule-'.

To avoid exporting non-versioned rules created enhancement request to implement.

An enhancement request has been created for consideration by Pega Product Management.

Documentation bug has been raised (BUG-239071) for below PDN link which user followed to export rules.
 
https://pdn.pega.com/how-import-or-export-archive-command-line
 

 

Published April 27, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 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