Click here to Skip to main content
15,851,510 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Creating custom WorkFlow Activities for SharePoint 2010 using visual studio.

i need to create a sharepoint custom workflow using visual studio.
My requirement is WHILE loop workflow creating programmatically.please let me know how to create wokflow programaticaly

Hello Gowtham,

Please find complete explanation on creating custom sharepoint workflow activity in link below:

Creating Sharepoint Custom Workflow Activity

Source code can found from below location:


Please let me know if you have any issues.

Thanks & Regards,
Paras Sanghani
Share this answer

here is ideas how to reduce the volume of coding:[^]

Try "Execude Custom Code" activity first.

Also, it is possible to enable WWF WhileActivity for SharePoint, but in this case you'll unable to edit your workflow with SPD, but only in notepad ;) Because SPD2010 can't visualize it.

Other way is state workflows:[^]

WBR, Alexander
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900