Code Sample: BCS Full-Trust Workflow Activity Sample
Applies to: SharePoint Server 2010
The BCS Full-Trust Activity Workflow sample shows how to create a full-trust activity for a workflow that uses Microsoft Business Connectivity Services (BCS).
This sample addresses a basic expense approval scenario that uses a workflow to get the approver and safe limit values from the external system by using Business Connectivity Services. These values correspond to the given employee, specified by an employee ID, and expense type. This sample does not require an external list.
Microsoft .NET Framework 3.5 Service Pack 1
Microsoft SharePoint Server 2010
Microsoft Visual Studio 2010 installed on the same computer as SharePoint Server 2010
Microsoft SharePoint Designer 2010
Download and use the sample
Download the Microsoft SharePoint 2010 Software Development Kit (SDK) from SharePoint 2010 Reference: Software Development Kit.
Extract bcs sample kit.zip from the path %ProgramFiles%\Microsoft SDKs\SharePoint 2010\Samples\Business Connectivity Services to a local folder.
In the folder where you extracted the files, locate the BCS Full-Trust Activity Workflow Sample folder and open the Readme.htm file.
Follow the instructions in Readme.htm to use the sample.