How to create a three state approval workflow in SharePoint 2013 using visual studio 2013
Hi Everyone,
i have a requirement like 3 state to approve. Here is the details:- when the item added into the list it will go for reviewer. Once the reviewer review the item, he will assign the task to concern person/department(Parallel process more than two persons).
Once they will approve the request again it will come back to reviewer and he will assign the task to team member(parallel process). Once the team member accepted then workflow terminate.
i want develop this workflow using visual studio 2013 only, not using designer..
Thanks in Advance.....
Mallesh
Hello,
you can find multiple sample on the web like those
http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
http://msdn.microsoft.com/en-us/library/ee231606.aspx
I don't think that's very different using VS2013 or VS2012
Best regards, Christopher.
Blog |
Mail
Please remember to click "Mark As Answer" if a post solves your problem or
"Vote As Helpful" if it was useful.
Why mark as answer?
Similar Messages
-
Create SharePoint 2013 hosted app using visual studio 2013
i tried to create sharepoint hosted app, i just created a new project and try to deploy it but it failed every time with different error sometimes system account can't run the project, created another administrator and try to re deploy it so i had a new
error that the visual studio project need a administration permissions and i already grant the administration permissions for the new user, any one can provide a complete tutorials on how we can create new hosted sharepoint app using visual studio 2013
Mohamed AbdeenHi,
According to your post, my understanding is that you want to create SharePoint 2013 hosted app using visual studio 2013.
Here are some great blogs for your reference:
How to: Create a basic SharePoint-hosted app
My First Sharepoint-Hosted App in 2013 - CodeProject
Setting up your App domain for SharePoint 2013
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
Three State Approval Workflow Error
I have created one Task List. Add Three state approval workflow to it.
When i created New Task. It started workflow. But after couple of minutes it throws error "Error Occured". How to find error.
Please let me know. If you know any resolution for workflow error then also let me know.
Thanks in advance.Hi,
Please go to the task list settings page, click Assigned to column and check "No" for "Allow multiple selections", then check whether the issue still exists or not.
Here are two threads for your reference:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9231b505-7e78-4e98-b6c0-02ad85b247c3/error-occured-three-state-workflow-multiple-selection?forum=sharepointcustomizationlegacy
http://social.technet.microsoft.com/Forums/sharepoint/en-US/5a9f37ea-40b4-494b-b4af-db15be9d91ff/error-occured-three-state-workflow?forum=sharepointgenerallegacy
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Create SharePoint 2013 workflow using visual studio 2013
Dear Team,
How to create a workflow for template approval process using visual studio 2013.To achieve this do i need to install share point on my machine.Hi,
According to your post, my understanding is that you want to create a SharePoint 2013 workflow using Visual Studio 2013.
We need setting up and configuring Microsoft SharePoint Server 2013 and the Workflow Manager Client 1.0 server, see Start:
Set up and configure SharePoint 2013 Workflow Manager.
The following materials for your reference:
Develop SharePoint 2013 workflows using Visual Studio
http://msdn.microsoft.com/en-us/library/office/jj163199(v=office.15).aspx
How to: Create SharePoint 2013 Workflows using Visual Studio
http://msdn.microsoft.com/en-us/library/office/dn584771(v=office.15).aspx
Developing SharePoint 2013 workflows with Visual Studio demo
http://www.bing.com/videos/watch/video/developing-sharepoint-2013-workflows-with-visual-studio-demo/10t0er5gh
Best Regards
Dennis Guo
TechNet Community Support -
SharePoint 2013 State Machine Workflow Developped using Visual Studio 2013 Terminated
Hi all,
I developped a state machine workflow using Visual Studio 2013, and deplyed to SharePoint 2013, the workflow work fine for first task, and some times for second task.
after that the workflow become terminated with below error:
- System.Activities.Statements.WorkflowTerminatedException: The workflow instance exceeded the throttle of 10000 activities executed in a row and could not be unloaded because it was not persistable.
I spent many days to solve this issue but witout any result...
Please advice...Hi,
According to your description, there seems an endless loop in your workflow which makes the workflow exceed the throttle.
A suggestion is that you can create a new clean sample state machine workflow firstly, when it works without error, then adding other activities with custom logic
gradually.
By doing this, it would be easier to find out what might cause the error in this workflow.
A demo about Create State machine Workflow In SharePoint 2013 for your reference:
http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
Cannot connect to SharePoint online to create SharePoint App in Visual Studio 2013
I have an Office 365 account and I am trying to create a SharePoint App via Visual Studio 2013 Here are the steps:
1. Open VS 2013 and select Office/SharePoint > App for SharePoint (type the name) then click OK
2. I type in URL of the site (of course https://) and Select SharePoint-Hostedoption, then click Finish
3. I get the Office 365 authentication dialog box.
I type in the username and password and it opens the SharePoint in the same rectangular dialog box and it stays there and nothing happens:
link : i.stack.imgur.com/USYcG.png
link : i.stack.imgur.com/rlUpJ.png
If I click the close icon on the Connect to SharePoint dialog box that still shows my SharePoint online site, I get the following error :
link: i.stack.imgur.com/p1ztW.png
If I click on OK I get the Connect to SharePoint dialog box again
Link : i.stack.imgur.com/ZgyW9.pngHello,
I'd ask in the
Office 365 Community.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Create office app for word using visual studio 2013
i tried to create an app for office using visual studio 2013 i just created one in task pane with all default settings and then deployed succesffully and i can't find the app in task pane in word office any ideas
Mohamed AbdeenHi Mohamed Abdeen,
Please try to enable a build-in app for Office, such as "Bing dictionary" and check if the task pane pop-up.
If the "Bing dictionary" works well, I suppose that this issue might be caused by itself. I recommend you post the question to Word for DEV forum:
https://social.msdn.microsoft.com/Forums/en-US/home?forum=worddev&filter=alltypes%2Calllanguages&sort=lastpostdesc
If all the apps can't be used, they might be blocked. Please go to File/option/trust center/trusted app catalogs/enable it.
Reference:
https://technet.microsoft.com/en-us/library/jj219429.aspx?f=255&MSPPError=-2147217396
https://msdn.microsoft.com/en-us/library/office/jj220060.aspx?f=255&MSPPError=-2147217396
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
How I can use Visual Studio 2013 to create lists or libraries via remote?
Hello guys,
I use visual studio on my machine and try to create a list, but the sharepoint server is on another machine. It is possible to run a program on my computer and then create a list on the sharepoint server. If yes, how can I achieve this?
Best regards
MatthiasYou can create and manage lists and libraries using SharePoint Designer. To use Visual Studio you would have to create a SharePoint project, create a feature, define the list, etc. then create a Solution package and deploy that to the server. If you just
want to manually add a list then use Designer.
Mike Smith TechTrainingNotes.blogspot.com
Books:
SharePoint 2007 2010 Customization for the Site Owner,
SharePoint 2010 Security for the Site Owner -
How do I use infopath 2013 with visual studio 2013 to modify forms with code?
Dear all,
I am using sharepoint online and infopath 2013, I wonder how do I edit infopath 2013 forms with visual studio? When I try to edit form code it says I need visual studio 2012 and some other tools, I installed them and visual studio 2013, I wonder how
do I get rid of the message and start coding? Can someone provide a detailed procedure of doing so? I am having trouble with creating multiple items with single infopath form with repeating table on sharepoint online. Thanks.
TimothyHi,
According to your post, my understanding is that you want to create InfoPath form with code using Visual Studio.
More information about develop InfoPath form with Visual Studio:
http://msdn.microsoft.com/en-us/library/office/ee526362(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/office/aa942693.aspx
For the second question, I suggest you can create another post , it will be easier for others to focus on one question in one thread.
Best regards -
Getting a error while running creating a sample page on sharepoint 2013 and visual studio 2013
hi,
When i trying to create a sample web service for create page dynamically to sharepoint 2013 using visualstudio 2013 getting a error message while consume the web service browser itself. so i have tried to change the target platform but
to 32 but its not possible but only "Any CPu" available on the list
Visual Studio :2013
Sharepoint 2013
Error msg :
Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable.
at Microsoft.SharePoint.Utilities.SPUtility.CheckFrameworkAndProcess()
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_RegistryConnectionString()
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Local()
at Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& farm, Boolean& isJoined)
at Microsoft.SharePoint.Administration.SPFarm.get_Local()
at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
code :
<%@ WebService Language="C#" Class="sharepoint_cust_service" %>
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Publishing;
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class sharepoint_cust_service : System.Web.Services.WebService {
[WebMethod]
public string HelloWorld() {
return "Hello World";
[WebMethod]
public void Export_To_Sharepoint()
SPSite site = null;
SPWeb web = null;
site = new SPSite("http://sites/pages/");
web = site.OpenWeb();
PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(web);
SPContentTypeId contentType = new SPContentTypeId("NewContentTypeID");
PageLayout[] layouts = publishingWeb.GetAvailablePageLayouts(contentType);
PageLayout pageLayout = layouts[0];
string pageName = Server.MapPath("/newpage.aspx");
PublishingPage newPage = publishingWeb.GetPublishingPages().Add(pageName, pageLayout);
newPage.Update();
newPage.ListItem.File.CheckIn("created");
newPage.ListItem.File.Publish("created");
web.Dispose();
site.RootWeb.Dispose();
site.Dispose();
Software developergoto propeties of your project and click on build tab and select 64X or any cpu platformtarget as it should work .
-
How to create Event Receivers using Visual Studio 2013
No parsing error came while creation of Event Receiver in Visual Studio 2013
Hi Shaheena
Please search MSDN Articles, TechNet Articles and The Code Project Articles before asking questions.
Answers to the basic as well as professional questions are available there.
Go through the links below for the issue.
Create an Event Receiver
Indul Hassan
Microsoft Community Contributor
http://www.indulhassan.com
You Snooze.. You Lose !! -
How to Create Custom Timer Job for SharePoint 2010 using Visual Studio 2010?
While creating timer job Visual Studio showing some kind of error and assembly issues.
Hi Aryav
Please provide the errors so that we can resolve your issue.
Meanwhile go through the step by step process of creation of Timer Job in the articles given below.
Create and Deploy Custom Timer Job Definition in SharePoint Programatically
Indul Hassan
Microsoft Community Contributor
http://www.indulhassan.com
You Snooze.. You Lose !! -
How to determine which CDockablePane in a group is currently active in Visual Studio 2013
I understand that to activate a pane, I can do the following:
dockablePane->ShowPane(TRUE, FALSE, TRUE);
But, in a group of panes, how can I tell which pane is currently active?
For instance, let's say there are 3 groups of panes on the screen. The first group contains three tabs captioned "A", "B", and "C". The second group contains "D", "E", and "F" and the
third group contains "G", "H", and "I".
How would I determine the active pane within each group? (As an example for reference, within Visual Studio in the left pane group, I can currently see the contents of "Solution Explorer" while "Class View", "Property M...",
"Resource Vi..." and "Team Explo..." are within the same group but not active. In the bottom group, I can see the contents of "Output" while "Find Results 1" and "Find Results 2" are present but not active".
In the right group, I can see "MySource.cpp" while "MySource.h" is present but not active. So, I need to know how to request from each pane whether they are the current tab within their container or not.
SteveHi Steve,
Thanks for posting in MSDN forum.
(As an example for reference, within Visual Studio in the left pane group, I can currently see the contents of "Solution Explorer" while "Class View", "Property M...", "Resource Vi..." and "Team Explo..."
are within the same group but not active. In the bottom group, I can see the contents of "Output" while "Find Results 1" and "Find Results 2" are present but not active". In the right group, I can see "MySource.cpp"
while "MySource.h" is present but not active. So, I need to know how to request from each pane whether they are the current tab within their container or not.
This scenerio in your example, we don't need to know the current tab within which tab group. Actually I don't understand why do you need to know that? If you are using
AFX_DOCK_TYPE::DT_SMART model dock pane, the dock pane should be implemented in a internal MFC
CSmartDockingManager
class and it is not intended to be used directly from your code. . You could read the source code of this class at VS installed path-> VC->altmfc->src->mfc->afxsmartdockingmanage.cpp
For the dock pane layout in VS interface, I remember there is a sample named Visual Studio Demo sample in Visual C++ 2008 Feature Pack. You can download it at here.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/b4e6cb6e-e2a8-4e02-9c67-0dc431618157/visual-c-2008-feature-pack-samples-where-to-find?forum=vcgeneral
And the dock pane control implements the core functionality that controls docking layout in a main frame window by CDockingManager class.
https://msdn.microsoft.com/en-us/library/bb983791.aspx
A greate article about using CDockablePane:
http://www.codeproject.com/Articles/493218/Understanding-CDockablePane
Please tell us more details about what you want to do.
Best regards,
Shu Hu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi,
I am creating provider hosted app in visual studio 2012 using app scoped external content type having OData with Northwind url
App manifest start page url :
ODataNewAppWeb/Pages/Default.aspx
In XML it is:
<StartPage>~remoteAppUrl/Pages/Default.aspx</StartPage>
When i am deploying app pressing F5 the app gets deployed successfully....
Now i am changing my start page url in Appmanifest like this:
ODataNewApp/Lists/Employees
In XML it looks like:
StartPage>~appWebUrl/Lists/Employees</StartPage>
When i am deploying app pressing F5 the app..
Getting register SOD error.....
I have followed all the steps like:
1)Creating app domain
2)Starting all the required services
3)Creating root site collection
But still no success.. Please help me on this.... I am struggling with this from two weeks...Have you set up a wildcard DNS entry for the spapps.com domain?
Also if you're trying to connect from the server you might be hitting loop back check issues. -
How to create demand management workflow using visual studio
Hello all,
I need to create demand management workflow (Project server 2013) using visual studio 2012. I need to understand how we can write code in it. Any references??Hi Shanila,
Here are some of the articles you can use for designing workflows using Visual Studio.
Getting started Project Server 2013 Workflows :
http://msdn.microsoft.com/en-us/library/office/ee767694(v=office.15).aspx
Using workflow for Demand Management:
http://technet.microsoft.com/en-us/library/dn458861(v=office.15).aspx
Creating Project Workflows using Visual studio 2012:
http://blogs.msdn.com/b/project_programmability/archive/2012/11/07/creating-project-workflows-using-visual-studio-2012.aspx
Thanks,
Phani
Maybe you are looking for
-
Exchange Rate Change in Invoice (LIV)
Hi All, Can we change Exchange rate at the time of LIV . We see field Currency and Exch Rate is grayed in MIRO / Details Tab. How can I activate these two field in MIRO. Thanks Sanjay Sharma
-
New versions of apps are available, but app store says no updates
Hi all, I wonder if anyone can help. I'm running a late 2008 aluminum Macbook. It's running 10.9.1 Mavericks with 4 GB of RAM and runs just fine. My problems are with app updates. Specifically, when I launch Keynote, Pages, Numbers, etc., they all sa
-
Which port to use for the peer-keep alive
Hi All, We have 2 Nexus 6001s in our data center. The management port of each 6001 is connected to the other and this link is used as the peer keep alive link. My colleague is suggesting that we use one of the inline data ports as the keep alive link
-
Which field matches to the WBS element
Hi, I am doing an interface program, in that I need to populate the WBS element in trasaction VA01 under the tab Account Assignment. I am using the BAPI 'BAPI_SALESORDER_CREATEFROMDAT1'. Let me know which field matches the field WBS Element in t
-
Why does my screen show all windows when mouse moves
When moving the mouse my display shifts to showing all open windows. Why is this happening all of a sudden? Have checked Disk Warrior and restarted, but it keeps doing this!