0
votes
0answers
10 views

How do I check if a collection is empty?

I can't figure out how I can do a simple null check on a Collection variable in a workflow. The variable is populated by a GetDynamicValueProperties activity, so it can (and will be, under certain ...
0
votes
0answers
22 views

Can I call an activity from a Code Activity?

I have an existing activity in my workflow. Can I call it from a code activity?
0
votes
3answers
162 views

SharePoint 2010 workflows from visual studio

My task List has the Following Fields 1) Start Date 2) Due Date 3) Survey Submitted By Through Visual Studio Workflows I want to achieve the below scenario. Can any one give me an idea which actions ...
0
votes
1answer
59 views

Pass data from custom asp.net form to workflow (SharePoint 2010)

I've got a state-machine workflow with custom instantiation and task asp.net forms. My custom task form is pretty easy, it just shows the instantiation data and let the user approve or reject it. If ...
0
votes
1answer
34 views

Deploy a Workflow without changing the Content Type ID everytime

I have a SharePoint 2010 State-Machine-Workflow with a custom Content Type. Everytime I want to deploy the Workflow to my test SharePoint Server I've to change the Content Type ID because it throws me ...
0
votes
2answers
236 views

How to get list item id of the workflow task list

I have a SP2010 workflow created in Visual Studio in which several tasks exist. At each task creation I need to send message to specific user which contains information about specific task, one of the ...
1
vote
1answer
64 views

How can I create a custom task form in Sharepoint 2010?

Is there an easy way to create a custom task form with asp.net/Visual Studio for Sharepoint 2010? I worked with WSS3 before, where you can easily add the form URL to the workflow.xml file but in ...
2
votes
0answers
45 views

How to implement a custom action to run code with access to the current item columns

I am using sp2013. I have a custom list which is using a custom content type. I would like to implement some link or button which is running some code. First you will need to select a listitem. In ...
1
vote
0answers
71 views

Starting a Sharepoint 2013 Workflow via js file

I´m trying to start a workflow 2013 from a custom ribbon icon. I have configured an elements.xml file where I call the Javascript file. The problem is, that I get a JavaScript runtime error “Type” ...
1
vote
1answer
47 views

How to wait for all tasks completion in VS Workflow 2013

I have a workflow which create some number of tasks to different users. These tasks are created in web service method which invoked by workflow. It can create a different amount of tasks. I need to ...
2
votes
0answers
80 views

How to read value from custom user field in Workflow 2013

I have a custom user field (it's used in custom task content type): <Field ID="{d3773326-a0a8-45e2-9c60-82fc7f7ba01c}" Name="IM_Task_ResponsiblePerson" DisplayName="Responsible person" Type="User" ...
0
votes
0answers
13 views

Workflow with EF Does not Execute Properly When Called Programatically. The specified named connection is either not found in the configuration

I have a WF that is using EF 6.0 that needs to be started by another workflow. If I call the WF manually, it runs without any problems and an entry is added in the database. The problem is when the ...
1
vote
1answer
107 views

Add Content Type to existing List when associating Workflow

Using Visual Studio I have created a package for SharePoint 2010 that deploys a Workflow that creates Tasks of a custom Content Type Id. When I first deployed it, I noticed that Tasks were being ...
0
votes
0answers
52 views

State Workflow and Custom Tasks

Using Visual Studio, I have created a custom state workflow for a SharePoint 2010 Document Library. As typical with most custom workflows, this is an approval workflow where the document in question ...
1
vote
2answers
245 views

Workflow debugging prerequisites failed to complete - VS2013 Autohosted App

I am creating an auto-hosted app on VS2013. I am working with SharePoint Online and not locally. The problem is that when I try to enable the workflow debugging on my project I receive the error: ...
0
votes
1answer
121 views

Error in VisualStudio 2012 when creating Workflow 2013

I receive an error in workflow designer when created new "Workflow" item in "SharePoint 2013 Empty Project" or "App for SharePoint 2013". An error when created new "Workflow" item in "SharePoint ...
0
votes
0answers
43 views

Visual Studio Sequential Workflow: DeleteTask does not always delete the task

I have a workflow with various branches and loops, and multiple levels of approvals. My approvals are all laid out like this: About 90% of the time, this executes just fine and once the while loop ...
0
votes
0answers
164 views

Sharepoint 2013: Workflow for Survey item created

How can I create a workflow for a survey item created in SharePoint 2013 version. I need to insert survey ID and survey name to another list. It would be more helpful, if this thing can be achieved ...
2
votes
1answer
328 views

Visual Studio 2013 - Workflow debugging prerequisites failed to complete

I am experiencing an issue with debugging SharePoint 2013 Workflows in a SharePoint App solution: Has anyone encountered this error?
0
votes
1answer
142 views

Workflow Completed Event for correct workflow

Im writing an workflow event receiver that fires on workflowcompleted for a list. If I have two workflows on that list, how can I restrict the completed event to check its happening for the correct ...
0
votes
0answers
28 views

How to create Workflow Association Columns using Visual Studio

Using Visual Studio 2013, I have created a State Workflow and associated it with a Document Library on a SharePoint 2010 site. I would like to created Association Columns so I can present the user ...
0
votes
0answers
172 views

Tasks get completed but workflow Status shows 'Error Occured' and not 'COmpleted' in Sequential Workflow Visual Studio 2010

I have a custom approval sequential workflow which works properly, the task status gets completed When the tasks are 'In Progress' the workflow status also remains "In Progress" but when the task is ...
0
votes
0answers
100 views

Save Conflict error on task when saving task

The idea of the task lifecycle is this: CreateTaskWithContentType: Set all the task properties OnTaskCreated: Set unique permissions for the task OnTaskChanged: Complete task and continue workflow ...
0
votes
0answers
119 views

What has to be added in the replicatoractivity for the workflow to work

I have a sequential workflow which is associated to a list which contains column name " "Business Process" which could be Purchase Order, Sales, Leave Request etc I have another list 'Approvers' ...
1
vote
1answer
478 views

Adding Approvers in a Sequential Workflow Visual Studio

I have a sequential workflow which is associated to a listwhich contains column name Business Process which could be Purchase Order, Sales, Leave Request etc I have another list 'Approvers' which ...
0
votes
1answer
349 views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
0
votes
0answers
11 views

create workflow maintenance using visual studio

I have to create workflow maintenance using visual studio, it should include all the conditions like SharePoint Designer. I should create something similar to a SharePoint Designer. Since I have just ...
0
votes
2answers
535 views

SP 2013 VS Workflow error “MTW Client is invalid”

When deploying a Workflow enabled app from Visual Studio (2012/2013), receive the error "MTW Client is invalid". More of the same error in the ULS logs. SharePoint 2013 designer Workflows deploy ...
1
vote
1answer
709 views

Correct Way to Reassign Workflow Tasks in Visual Studio WF

What is the correct way to programmatically reassign a task to another individual in a SharePoint 2010 custom workflow? We do not want to simply change the person to whom the task is assigned although ...
0
votes
0answers
35 views

How To Automate SharePoint Custom Workflow Testing

I have a custom visual studio 2010 workflow that has over 30 separate phases in it. It is very time consuming to test. For example, if I make a change to the 18 phase of the workflow, for example, ...
0
votes
0answers
114 views

Can BizTalk be used to transfer list item data from one site to another?

We are building a new environment with three site collections (SharePoint 2013) (enforced by the customer's IT) and they want us to "sync" some data between those sites with the use of BizTalk (2013). ...
0
votes
0answers
104 views

CreateTaskWithContentType Specialpermissions are set wrong

Okay, I'm using a statemachine workflow, and this type of task is used to reassign an item to a user, this can be done as many times as needed. So in the end, after the onTaskChanged, the workflow may ...
5
votes
1answer
1k views

Importing a SharePoint 2013 workflow in Visual Studio

I'm creating a simple workflow in Visual Studio: I can deploy it, and it works. I then try to open it with SharePoint designer: However, the steps/activities/stages are missing. How come I'm not ...
1
vote
2answers
649 views

Custom Workflow in Visual Studio e-mail issue “The E-mail message cannot be sent”

I have a workflow that I have created in Visual Studio 2010 for publishing to my SharePoint 2010 site. It's for a list I created and the workflow itself is pretty simple. A while loop that contains ...
0
votes
1answer
47 views

Remove WorkFlow from List Instance

I have Created one Document Library Definition.I have Created two Document Library Instance from that Definition.I had created one workflow.I want to associate workflow for only one Document Library ...
1
vote
1answer
327 views

Workflow consumes WCF Service: Exception is invalid or unrecognized

I have got issue. It's an update from a question that I have asked a week ago: I have a State Machine Workflow that is deployed in my local SP machine. It is attached to a list, and will consume a ...
0
votes
1answer
100 views

OnWorkflowItemChanged fire multiple times

I have been using a State Machine workflow (SharePoint 2010). Workflow design Main State: The Main State does not update the item. The Main State contains a OnWorkflowItemChanged. When the item ...
0
votes
2answers
84 views

How to embed image in SharePoint Workflow Association Form?

I am developing a custom SharePoint workflow in Visual Studio. I have a custom association form (ASPX) and I'd like to display an image, which is embedded into the project (and subsequently wsp). ...
1
vote
0answers
83 views

CopyItemActivity how to configure

I want to copy an item using a workflow in VS. So i've used the copyitemactivity. In the properties what do i put in the ListItem? I want to reference the current item the workflow is operating on. ...
0
votes
2answers
53 views

I want to execute workflow when new item is inserted

private void codeActivity1_ExecuteCode(object sender, EventArgs e) { SPSite objsite = SPContext.Current.Site; using (SPWeb objWeb = SPContext.Current.Web) { ...
0
votes
1answer
108 views

Reusable Workflow in Sharepoint 2010

I have created a simple reusable workflow using designer and deployed its solution on the server. I have done it using Powershell. Now I wanted to know; how can I attach this workflow to a list or a ...
1
vote
1answer
1k views

Programmatically altering approval workflow task in separate workflow

Here is my code to programmatically alter the task at hand, the only problem is that the code doesn't alter the "Outcome" of the approval task. The Outcome field is blank. "Task Status" is Complete, ...
0
votes
1answer
50 views

Add configurable field to workflow builded in VS

I have created a workflow in VS which doing some logic. I would like to add some configurable text field so that the SharePoint administrators can change it. For example this is a text field with ...
0
votes
1answer
51 views

Visual Studio Workflows and Sharepoint

I am new to designing workflows in Visual Studio (2010) for MOSS 2007. I have a "best practices" question: I have two separate, unrelated processes on one content type I need to manage with WFs. The ...
0
votes
1answer
226 views

Workflow configuration by custom config file

I'm currently researching workflow configuration possibilities delivered by Sharepoint 2010 (I am meaning the Visual Studio development side). The kind of configuration I'm meaning is the one done by ...
0
votes
1answer
215 views

Sequential workflow running twice sharepoint 2007

I inherited a site with a sequential workflow (created in Visual Studio 2008). The workflow is attached to a content type and is set to run only on item created. Recently, I attached three declarative ...
4
votes
1answer
178 views

Use site URL in build event

I wrote a powershell script that associates a workflow with a site and I want to call it in the post-build event of the workflow project in visual studio. How do I get the "Site URL" field in the ...
1
vote
1answer
540 views

send email from workflow based on loopkup column

I have a workflow in visual studio and I need to send an email to a domain user whose name is entered into a sharepoint Person or Group lookup. The value will not be in a sharepoint group, it is from ...
0
votes
1answer
495 views

SharePoint workflow canceled on start only when automatic

I'm having a strange issue with a Visual Studio Sequential workflow. We're uploading files to SharePoint Document Library via Client Object Model using File.SaveBinaryDirect. Error in log is as ...
0
votes
1answer
375 views

Visual Studio 2010 Workflow Error

I have created a simple workflow in VS 2010. What it does is creating a task for a person, when the person changes the task status to "Complete", it logs a message to workflow history. When I change ...