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.
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.