Support Article
Pre assemble rules
SA-6878
Summary
How to pre assemble rules for all applications residing in the server during the server start up?
Does the cache priming at start up takes care of pre assembling rules for all applications in that server? How to identify the entire list of rules and their pre-assembling success rate?
Resolution
Staitc Assemlbly is a CLI utlity designed to accept details of a sigle applicaiton and assemble all the rules with in the application. In 7.x, landing page (DesignerStudio -> System ->Assembly ->Static Assembler) has been developed to kickoff application assembly from UI. Having said this, yes, we can run this utility and assemble rules while system is running.
This utility will not fulfill the current requirements -
At the time of server start up itself,All the Rules should be preassembled,not by running any scripts.
Not supported. Never attempted (or gave thought) to integrate this with engine start up since it is resouce intensive and may takes hours for rules assembly (based on no. of rules).
When we specify an Application name,Rules belonging to any 'built on' applications are also assembled. For example, if your application is built on the PegaRULES application, all rules in PegaRULES are also assembled along with the rules in your application.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.