< Previous | Next >

Using an inline human task to start the loan approval process

You want to start the process as soon as someone applies for a loan. To do that, you need to create a human task that captures the initial loan application.

To create the human task, open the business process editor and complete the following steps:
  1. Click Receive. Then, in the Properties view, click the Authorization tab.
  2. To create a new human task, click New. The human task is automatically named ReceiveInvocationTask. The Human Task editor opens. Accept the default implementation by closing the Human Task editor.
    Properties of Receive
  3. Save the business process.
Recall that the LoanApprovalProcess component has an interface, LoanApprovalProcessInterface, with a single operation named ApplyOnline. The business process that is displayed was generated based on this operation.

The ApplyOnline operation defines one input and one output. The input is mapped to the Receive activity. When LoanApprovalInterface transfers the data for the bank customer's loan request, it arrives at the Receive activity and is stored in the ApplicationInput request variable. The output is mapped to the Reply activity. The response message that is stored in the BankResponse variable is sent back to the bank customer using the Reply activity, informing the customer about the status of the loan request.

Feedback

(C) Copyright IBM Corporation 2005, 2008. All Rights Reserved.

< Previous | Next >