When the function rules in this library are ready to be compiled:
- Select the Library ready to be compiled? check box
- Save the Library form.
- Click Generate Library to cause Pega 7 Platform to create, or update, the entire Java library.
If later you update a function rule or adds another function rule to the library, click the similar Generate Library button on the Parameters tab of the Function form, or open this Library form and regenerate the library again using this button.
Your current ruleset list is not relevant when you generate a library. The system compiles all versions of each function in the library. At runtime, users execute the version appropriate to their own ruleset list.
Caution: Do not click this button until you complete testing to confirm that the functions in the library function as intended. If you generate a library that includes compilation errors, but functions have the same ruleset and version as previously generated functions that compiled successfully, the system overwrites the older CLASS files.
This button immediately compiles the library only on the current node, but updates information used by the Pega-RULES agent during system pulse processing. On each other node of a multinode cluster, this causes the Pega-RULES agent to re-extract and recompile this library during the next system pulse for that node.
|