For our recipe here, we will rewrite the Chapter 2, Creating a sequential workflow recipe that enacts the credit approval system in such a way that we will remove all the
IfElse activities that we used there to verify the credit check. In this recipe, we will have an external method to do that logic for us and raise an event when it is done with its decision. The event will also contain the response back from this external method.
Modify the Credit Approval list that we created in Creating a sequential workflow in Chapter 2 and add a new field named
Text type. The field is not a required field. This is the field where we will store the response from the external method.