Does WF support patterns like Simple Merge And Multi Merge?  
Author Message
anderskj1





PostPosted: Windows Workflow Foundation, Does WF support patterns like Simple Merge And Multi Merge? Top

Hey

Im doing a comparison of serveral workflowframeworks. I need to determine which patterns from www.workflowpatterns.com WF supports. The important part is, we are not allowed to extend the framework to implement / simulate these behaviors.

My first concrete question, for know, is whether WF support the patten "Simple Merge" where two branches merge together. can we compare this to the IfElse contruct (link: http://www.hide-link.com/ )

Second. What about multi merge http://www.hide-link.com/ . Guess i would be imposible with the standard Sequential workflow since it is single threaded.

Have anyone created a list that sums up on these patterns in relation to WF

Thanks!



Software Development for Windows Vista12  
 
 
Vignesh Kannappan - MSFT





PostPosted: Windows Workflow Foundation, Does WF support patterns like Simple Merge And Multi Merge? Top

From the link for Simple merge it looks like for the examples described I think ListenActivity would correspond better. For instructions on how to use it refer here: http://msdn2.microsoft.com/en-us/library/system.workflow.activities.listenactivity.aspx

Vignesh



 
 
anderskj1





PostPosted: Windows Workflow Foundation, Does WF support patterns like Simple Merge And Multi Merge? Top

From the link for Simple merge it looks like for the examples described I think ListenActivity would correspond better. For instructions on how to use it refer here: http://msdn2.microsoft.com/en-us/library/system.workflow.activities.listenactivity.aspx

I think you are absolutly right.(Thanks) What about the other


 
 
Kavita Kamani - MSFT





PostPosted: Windows Workflow Foundation, Does WF support patterns like Simple Merge And Multi Merge? Top

No Multi-merge is not supported out of the box. You could write a custom composite activity out of the box to do something like that yourself.

 
 
Angel Azcarraga - MSFT





PostPosted: Windows Workflow Foundation, Does WF support patterns like Simple Merge And Multi Merge? Top

You could achieve complex patterns like this with the ConstrainedActivityGroup activity in a rule-based fashion.

As Kavita pointed out though, you could also achieve this through a custom activity. This would probably be a great activity to upload to CodeProject for workflow: http://www.codeproject.com/WF/

Thanks!
Angel



 
 
Vignesh Kannappan - MSFT





PostPosted: Windows Workflow Foundation, Does WF support patterns like Simple Merge And Multi Merge? Top

Sorry I couldn't think of an OOB activity that would correspond to the Multi-merge pattern. Since you didnt want to extend the framework in any manner, writing your own custom activity to achieve this, I was out of ideas.

Vignesh