Implementation of eventDrivenActivity1 in state workflow

by | Apr 2, 2013 | Microsoft, SharePoint | 0 comments

Currently I make a lot of SharePoint projects and in one case a I faced very interesting problem. One of the project requirement was to delay workflow for specific amount of time, so for me it was obvious to use Delay activity. In fact for some states I needed three of them. Piece of cake, but when I compiled the project I get strange error:

“Only the first child activity of ‘EventDrivenActivity’ ‘eventDrivenActivity1’ can implement the ‘System.Workflow.Activities.IEventActivity’ interface”

What’s going on? There’re a lot code and activities, so it was difficult to find out what’s the source of problem. Finally I disabled Delay activates and it works. So what’s the problem. On the network problem is solved in different way, but the main explanation can be found at MSDN. You don’t  choice and you have to make some work around.l I have to switch to sequential workflow.

By the way the new workflow platform allow to make such implementation… I have to check it Uśmiech

Written by Tomasz Szulczewski

Hi, my name is Tomasz Szulczewski, and I have been in love with information technology for over 25 years, but I still have an IT passion and feel like a geek. I am a person who is problem solver who thinks that not all people must be experts in IT.

Related Posts

What is SharePoint in Office 365?

What is SharePoint in Office 365?

What is SharePoint in Office 365, and why is SharePoint for small business the critical product? So you bought a Microsoft 365 license, and your tenant is online. You open a browser, and you have no idea what to do next? Don't worry; I will try to give you a few...

read more
Ignite 2018

Ignite 2018

I'm starting to write this post when Ignite 2018 is approaching the end, so the time is preparing for a summary. A year ago, when I wrote about Ignite 2017, I thought that the conference was presenting revolutionary solutions to the market in many areas. I had a sense...

read more
Hubfly

Hubfly

A few days ago I have a chance to play with SharePoint online solution called Hubfly and I was really impressed with his capabilities. And here is my review. So let’s start from the begging. I wrote a few times on this blog that the main problem with SharePoint is...

read more

0 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.