
You use the Business Logic callable object type to make process flow decisions based on dynamic expressions. They can be defined for output parameters and result states and are evaluated at runtime depending on the actual values of the input parameters. This is possible without any coding or use of an external rule engine.
To construct dynamic expressions, you can use a built-in expression editor that provides predefined operators and functions, as well as a validation tool.
The following categories are available:
You have the appropriate rights to work with Guided Procedures (GP) design time.
More information: Authorizations
| Parameter | Description |
|---|---|
|
Name |
Enter a name for the new object. |
|
Description |
Provide a short and meaningful description. |
|
Original Language |
Choose the language in which the translatable texts of the callable object definition are created. |
|
Folder |
Select a destination folder in the gallery. Note
You can either use an existing folder, or create a new one.
Result state expressions should evaluate to Boolean.
|
The Define Object screen appears. You can see a short description of the object characteristics and purpose. Continue by choosing Next.
You can have an arbitrary number of output parameters on the root level. However, you cannot create parameters of type Structure.
For a list of some frequently used functions, see Tables of Functions .
Each of these functions provides a quick info text description with syntax rules and examples. To view this information, point at the specific entry in the list.
The state appears in the list.
You can test the callable object in GP design time or include it in a process to test it in runtime. If you insert it in an action, you should be able to see all result states that you have defined.
You can create a callable object that calculates the monthly payments to redeem a certain credit amount based on a specified interest rate and time period. It approves the credit request if the monthly payment does not exceed half the monthly income of the person and outputs the amount of the payment. Otherwise, it rejects the credit request.
This callable object has the following characteristics:
|
Parameter Type |
Name |
Type |
Dynamic Expression (uses the technical names of the input parameters) |
|
Input |
First Name Last Name Income (monthly) Credit amount Period (years) Interest rate (percent) |
String String Double Double Integer Double |
|
|
Output |
Name Monthly Payment |
String Double |
CAPITAL(@FirstName)& ' '& CAPITAL(@LastName) ROUND(@credit* POW((1+@interest/100), @period) /(12*@period)*100)/100 |
|
Result states (all result states evaluate to Boolean ) |
Approved |
@credit* POW((1+@interest/100), @period) /(12*@period)<(@income/2) |
|
|
Rejected |
@credit* POW((1+@interest/100), @period) /(12*@period)>=(@income/2) |