Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The WorkflowDiscovery sample demonstrates how to make a workflow service discoverable and how to author a custom code activity that searches for a particular service.
Discovery Find Activity and Workflow Usage
In the first part of the sample, a workflow service is made discoverable using configuration. Configuration can also be used to apply the service appropriately with custom metadata (such as scopes). On the client, the sample uses a custom code activity, which uses Discovery to search for a service matching a particular contract. The code activity outputs a URI, which is later used by a send activity.
This sample uses HTTP endpoints, which must have proper URL ACLs to run (see Configuring HTTP and HTTPS for details). Executing the following command at an elevated command prompt should add the appropriate ACLs. If your shell does not understand the variable format, substitute your Domain and Username for the following arguments.
netsh http add urlacl url=http://+:8000/ user=%DOMAIN%\%UserName%
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now