< Previous | Next >

Invoking a service to check credit

Define an activity in the process that will call an operation to check if an applicant is eligible for a loan.


CreditCheck
To add the invoke activity to the CreditCheck, follow these steps:
  1. Switch to the process editor.
  2. Click Assign, which is the Assign icon, and then click Invoke, which is the Invoke icon.
  3. Click the connection between CopyInput and Reply. The Invoke activity is added.
  4. Rename Invoke to CheckCredit.
  5. In the Properties view, click Details.
  6. Click Browse. The Select a Partner window opens.
  7. From the list, select LoanLimitsRuleInterfacePartner and click OK. checkCredit will be selected as the Operation.
  8. Check the Use Data Type Variables checkbox.
  9. Click the first Ellipsis button. The Select Variable for applicantInformation window opens.
  10. From the list, select CreditCheckRequest and click OK.
  11. Click the second Ellipsis button. The Select Variable for response window opens.
  12. From the list, select CreditCheckResponse and click OK.
  13. Click File > Save.
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, to either loan approval or loan declination.

Feedback
(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.
< Previous | Next >