Professional Documents
Culture Documents
WF Events1
WF Events1
WF Events1
Event-Driven Activities
Host will fire the event and the Workflow will Sink the event
via this interface model we have to work it through
Suppose we wish to send a simple string from
host to workflow.
We will create a Events args and pass the String
over it
Implementing the Event
Arguments Class
• Before you can define an event in the local service
interface, you need to define the event arguments
class that the event will pass.
Local service
Defining the Service Interface
Notice that the interface is decorated with the
ExternalDataExchangeAttribute. This is required to identify this as a local
service interface and make it available to workflows.
Implementing the Local Service
class