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 ( ).

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 web & cloud developer with a focus on Microsoft Azure & Microsoft 365. He’s received Microsoft’s MVP award every year since 2005 and has helped thousands of developers through the various courses he’s authored & taught. Andrew’s the founder of Voitanos and is dedicated to helping you be the best Microsoft 365 web & cloud developer. He lives with his wife & two kids in Florida.