I want to create a custom workflow for an existing list or library with code in visual studio and I do not want to do it on this way : Create VS WorkFlow

I want to create the workflow from the beginning using code (to specify the stages) and then to publish it to SharePoint.

  • What do you mean "from the beginning"? be more clear, pls
    – Nk SP
    Apr 20, 2015 at 10:01
  • all the steps that i use to do when i create a workflow in sharepoint designer i want to do it with visual studio : Apr 20, 2015 at 10:14
  • And why the link that u provided is not right for u? It is from visual studio
    – Nk SP
    Apr 20, 2015 at 10:16
  • because i don't want to use visual studio workflow designer i want to use code only Apr 20, 2015 at 10:20

1 Answer 1


The best solution to deploy a WorkFlow without using the design manager, is to deploy some event receivers and handle the items event.

workflow or event receiver?

How to: Create an Event Receiver

Table of SharePoint Events


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.