Defining the GoodCreditScore case

The choice activity in the mainProcess process has been created. Follow these instructions to add the GoodCreditScore case:
  1. Switch to the mainProcess editor.
  2. Click the Case label.
  3. Switch to the Properties view.
  4. In the details section, click the Description tab.
  5. In the Display Name field, type GoodCreditScore.
  6. In the details section, click the Details tab.
  7. From the Expression language list, click Java.
  8. From the list, click Java. The Question window opens.
  9. Click Yes.
  10. In the Expression Type field, type return CreditCheckResponse.getBoolean("response") == true;.
  11. Switch to the mainProcess editor.
  12. Click the Invoke icon on the palette.
  13. Click the Assign icon on the palette.
  14. Click the GoodCreditScore label. The Assign figure Assign was added.
  15. Switch to the Properties view.
  16. In the details section, click the Description tab.
  17. In the Display Name field, type AcknowledgeReceipt.
  18. Switch to the mainProcess editor.
  19. Click the connection between GoodCreditScore and AcknowledgeReceipt.
  20. Switch to the Properties view. The Name field is set to AcknowledgeReceipt.
  21. Click the Properties tab.
  22. In the details section, click the Details tab.
  23. Click the Properties tab.
  24. From the From list, click Fixed Value.
  25. From the list, click Fixed Value.
  26. In the Description field, type Your application has been received and is being processed..
  27. From the To list, click Variable.
  28. From the list, click Variable.
  29. In the navigation tree, expand OutputVariable : applyOnlineResponseMsg > applyOnlineResult : applyOnlineResponse > response : string. The Query field is set to /response.
  30. Click the Properties tab.

Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.