Skip to main content


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

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.

How to use utility functions outside Process Commander

Updated on September 13, 2021

Summary

A developer asks:

For a JSR94 implementation, I wish to get at function rules extracted from the rulebase, for use outside the application. What's the best approach? 

Suggested Approach

If the function rules reference Process Commander infrastructure (such clipboard pages), using them outside the Process Commander system won't work.  However, if the functions only reference external structures, here's an approach.

Place the Java code that implements the functions into a separate implementation that's outside the Process Commander system entirely.  Package it as a jar file and access it from there.  Both the function rules and your external Java code can then just use the functions available from the jar.

For example, if you have developed a library of function rules that compute asset depreciation schedules, you can repackage the Java code into a standalone JAR file. The function rules and outside code can both access the JAR file.

Note: Repackaging of function rules that were developed by Pegasystems may be restricted by license agreements.

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