O'Reilly logo

Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook by Balaji Kithiganahalli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a pluggable workflow service

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.

Getting ready

Modify the Credit Approval list that we created in Creating a sequential workflow in Chapter 2 and add a new field named Credit Status of Single line of Text type. The field is not a required field. This is the field where we will store the response from the external ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required