Define an activity in the process that will call the business
rules component to check whether a loan can be approved without sending
it to a loan officer.
To add the invoke activity, complete the following steps:
- In the process editor palette, click Invoke and
then click the connection between CopyInput and Reply. The Invoke
activity is added.
- Rename Invoke to CheckAutoApproval.
- In the Properties view, click the Details tab
and then click Browse. The Select a Partner window opens.
- From the list, select AutoApprovalInterfacePartner and
click OK. AutoApprovalRequest will be selected
as the operation.
- Select Use Data Type Variables and
then click the top (none) cell. Select AutoApprovalData.
- Click the second (none) cell and select AutoApprovalResponseData.
The table should now look like the following screenshot:
- Save the process.
You will now take the reply from the invoke activity and
use it to direct the application down one of two paths in the process:
automatic approval or manual approval.