|
![]() |
Complete the Parameters tab to declare input parameters for the function, and to test it before you affect other developers by publishing the function.
Because of Java language requirements, a function rule must have a fixed number of parameters. Variable-length argument lists are not permitted.
Plan
parameters carefully. After you save a Function form, you
cannot change the name, order, or type of parameters. (Use
Save As instead of Save in this situation, then delete the
unneeded function rule.)
Field |
Description |
Input Parameters | |
Parameter Name |
|
Java Type |
Enter a Java data type for this parameter, such as
|
Type |
Optional. If the Java Type field is
Leave blank for other values of the Java Type field, leave blank. |
Page Class |
Optional. Not used. If the Java Data
Type is This field is for documentation purposes only. |
In/Out |
Leave blank. This field is not used. |
Description |
Optional. Enter a brief text description of this parameter. |
Output | |
Return Type |
Enter a Java data type for the return value.
|
Pega Type |
Optional. If the Return
Type is |
Page Class |
Optional. If the Return Type is
|
Classification | |
Usage Type |
Leave blank. This field is not used. |
Description |
Leave blank. This field is not used. |
Field |
Description |
Compilation Status | |
Function ready to be Compiled? |
Leave this check box cleared until you finish coding the function. At any time when this check box is cleared, another application developer can create another function with the same name. If you select this check box but your function does not work correctly, you might unintentionally prevent other developers from completing work that they could otherwise complete. After you've tested the function and confirmed that it is ready for use, select this box and save the rule instance. Ordinarily, select this check box before you check in the updated function rule; a warning appears if you check in a function that is not marked as ready. |
Test Library Generation |
After you've saved the instance, but before you click the Generate Library button, click to find any language errors. |
Generate Library |
Click to update the library on the Process Commander system (on the current node only).
|