Sample workflow searches customers via OData service

A sample workflow in SharePoint bound to a Customers list uses a manually run workflow to search for customers via CustomerID in OData service

The sample workflow is bound to a list named Customers. After the user enters a value for CustomerID, they can manually run the workflow. The workflow uses the CustomerID to search for the customer using the public Northwind sample OData service (http://services.odata.org/Northwind/Northwind.svc/).

When it finds the customer, it adds the details it retrieves from the service to the list item and then concludes. The part of the workflow that calls the web service and extracts the details from the response is contained within a custom activity.

Warning: MSDN Archived
When Microsoft retired their MSDN site, it impacted their Code Samples. Therefore, the link referenced for this sample may no longer work.
Andrew Connell
Developer & Chief Course Artisan, Voitanos LLC. | Microsoft MVP
Written by Andrew Connell

Andrew Connell is a full stack developer who focuses on Microsoft Azure & Microsoft 365. He’s a 20+ year recipient of Microsoft’s MVP award and has helped thousands of developers through the various courses he’s authored & taught. Andrew’s mission is to help web developers become experts in the Microsoft 365 ecosystem, so they can become irreplaceable in their organization.