Search This Blog

Sunday, March 20, 2011

Error:Only the first child activity of 'EventDrivenActivity' can implement the 'System.Workflow.Activities.IEventActivity' interface

If you are working on state machine workflow and placed a eventdriven activity in the state and getting error "Only the first child activity of 'EventDrivenActivity' can implement the 'System.Workflow.Activities.IEventActivity' interface".Make sure that you have not placed the two events in the same eventdriven activity.Event driven activity supports only one event activity in the state machine workflow.If you want to put multiple event activities in the state, you need to use the two eventdriven activity in the state and individually place the event activity in each of them

No comments:

Post a Comment