Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Custom workflows and .NET 4

Vote:
 

Hi

 

I need to create some custom workflows. Is it possible to write them in .NET 4 and still integrate them into EPiServer 6?

Do I need to write the workflows in .NET 3.5?

Are there any good sources of information on getting started with this, especially on how to link custom workflows to the EPiServer interface. For example, the button to "Start Workflow" etc

Thanks

Ryan

#49261
Mar 10, 2011 11:55
Vote:
 

The workflow implementation in EPiServer is based on .NET3.5 so you need to use that version of .NET. 

There are a section in the SDK about writing custom workflows. You can also find some articles etc. here on world if you search for workflow. E.g. http://world.episerver.com/Articles/Items/Creating-and-Using-a-Workflow-in-EPiServer-CMS-5-R1/

#49271
Mar 11, 2011 7:07
Vote:
 

Is this really correct? Meaning, if a solution is based on .NET 4.0, it is not possible to create customized workflows in EPiServer 6?

 

#51593
Jun 16, 2011 15:17
Vote:
 

Sorry, my latest answer was not really clear.

.NET4 contains the "old" .NET3.5 workflow implementation so you can still create your own workflows and run them in EpiServer under .NET4. However to get your custom workflows to run inside EPiServers workflow engine you must build them using the "old" .net workflow api (which is include in .NET4).

#51594
Jun 16, 2011 15:50
Vote:
 

Okay, that makes more sense. :)

So in other words, the workflows in EPiServer if fully backward compatible with .NET 4 solutions

#51598
Jun 16, 2011 16:38
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.