Hello,
How can i create a workflow programatically without using SharePoint designer and toolbox in Visual studio
Is there a way to create a workflow from scratch with all activities?
Thanks in advance
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 19, 2014, 8:40 AM EDT
aline badr31 reputationPosted Mar 20, 2014, 12:12 AM EDT
Thank you for your reply.
Actually, I want to create an approval process task in SharePoint without using SharePoint designer and the controls in toolbox in Visual studio.
I've created a custom task inherited from CodeActivity, the workflow send an email to the assigned users contains the task's details. but I can't add the link to the approval form of SharePoint in the email.
Any idea?
Thanks in advance
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 4:27 AM EDT
aline badr31 reputationPosted Mar 20, 2014, 4:30 AM EDT
Many thanks
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 4:33 AM EDT
aline badr31 reputationPosted Mar 20, 2014, 4:36 AM EDT
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 4:48 AM EDT
aline badr31 reputationPosted Mar 20, 2014, 4:52 AM EDT
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 5:00 AM EDT
aline badr31 reputationPosted Mar 20, 2014, 5:06 AM EDT
kindly check the attached file contains the custom task activity.
I've added this task to the sequence of activities of the Workflow
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 5:08 AM EDT
aline badr31 reputationPosted Mar 20, 2014, 5:12 AM EDT
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 5:17 AM EDT
aline badr31 reputationPosted Mar 20, 2014, 5:24 AM EDT
when you create a task, the workflow automatically send an email. But this email is missing the "Open task" button
aline badr31 reputationPosted Mar 20, 2014, 5:34 AM EDT
this email sent by Approval workflow in SharePoint designer
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 6:29 AM EDT
aline badr31 reputationPosted Mar 20, 2014, 6:38 AM EDT
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 6:43 AM EDT
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 6:47 AM EDT
aline badr31 reputationPosted Mar 20, 2014, 6:50 AM EDT
Thanks for your help :)
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 6:52 AM EDT
aline badr31 reputationPosted Mar 20, 2014, 6:56 AM EDT
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 20, 2014, 8:42 PM EDT
aline badr31 reputationPosted Mar 20, 2014, 10:49 PM EDT
not yet, the problem still exist
I want to handle it by code in Visual Studio, not in SharePoint designer.
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 21, 2014, 9:44 PM EDT
aline badr31 reputationPosted Mar 30, 2014, 10:20 PM EDT
I'm creating a custom form without using the one of SharePoint.
I have a question if you can help me:
how can i assign activities to a workflow before run it.
Build all actions in the workflow by code then run it
Thanks in advance