Working with Workflows in Visual Studio

At times you will come across scenarios when even SharePoint Designer workflows cannot meet your requirements, and you may need to create workflows in Visual Studio. This may be because you need to call some custom business logic components that do complex processing or access external data sources or external systems that is not possible to do in SharePoint Designer workflows. You might also need to create a Visual Studio workflow because you can use the additional workflow activities not present in the SharePoint Designer workflows.

Creating a SharePoint Workflow in Visual Studio 2010

You now create a new SharePoint workflow in Visual Studio 2010. The workflow is executed when a new item is added to a custom list called Loans. This list stores the LoanAmount, Salary, and LoanStatus. The workflow retrieves the Salary and LoanAmount and calls custom components that, based on some calculations, validate if the user is eligible for the specified LoanAmount. If the user is eligible, the workflow auto-approves the loan by setting the LoanStatus to Approved, or it creates a task for the administrator to manually verify the loan and update the status.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.31.209