Skip to main content


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

Using service-enabled scripting and the prpcServiceUtils tool

Updated on May 11, 2022

If you have a running Pega node, use prpcServiceUtils to script service-enabled application distribution.

If you need to perform these operations by using a direct connection to the database, use the prpcUtils tool. For more information about the prpcUtils tool, see prpcUtils tool.

The properties in the prpcServiceUtils.properties file and the arguments to the prpcServiceUtils.bat script or prpcServiceUtils.sh script control

Properties files and command-line arguments

Configure the prpcServiceUtils.bat or prpcServiceUtils.sh script actions in the prpcServiceUtils.properties file.

You can also pass arguments to the script to override settings in the prpcServiceUtils.properties file.

  • Use the properties file to set property values for reuse to minimize errors in entering commands.

  • Use the command-line arguments to augment or override values in the property file, for example, to customize one script action. The use of these arguments is optional. Each argument should be preceded with two hyphens (--).

prpcServiceUtils script arguments

Use the command-line arguments to augment or override values in the property file, for example, to customize one script action. The use of these arguments is optional. Each argument should be preceded with two hyphens (--).

prpcServiceUtils script argument Value
artifactsDirThe full path to the output file location, for those functions that generate output. The default is the /scripts/utils/logs directory.
connPropFileThe full path to the serviceConnection.properties file that includes information for multiple targets.
poolSizeThe thread pool size. The default is 5.
requestTimeOutThe number of seconds the system waits for a response before failing with a time-out error. The default is 300 seconds.
jobIdFileThe path to the job IDs file that is generated by the asynchronous operation.
propFileThe property file name, to override the default prpcServiceUtils.properties file.
operationNameSpecify the operation that generated the job ID for getStatus: import, export, expose, hotfix, or rollback.

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