Sharepoint workflow sits on the top of windows workflow and adds the human workflow flavor.

learn more… | top users | synonyms

18
votes
2answers
4k views

Sharepoint Out of the box Approval Workflow Approve/Reject comments issue when programmatically altering it

I have a resusable out of the box sharepoint approval workflow 2010, and I am programmatically approve/reject workflow using the below code snipelet inside infopath formcode (2010). Hashtable ht = ...
6
votes
1answer
2k views

Cannot build workflow project with msbuild (Sharepoint 2010)

I use teamcity to build Sharepoint projects using 64-bit MSBuild. All projects work fine instead of my workflow project. When using Framework 4.0 I get the error message ...
6
votes
3answers
2k views

SharePoint 2010 workflows suddenly does not work

I've been having this issue and been looking for a solution to no avail. Situation A: We have a SharePoint 2010 site which contains a list that has a SharePoint Designer workflow. Now everything ...
5
votes
3answers
11k views

Approve a SharePoint workflow task using SharePoint Web Services / Object Model

I have created a workflow is SharePoint Designer and associated it with a list. The workflow creates an approval process, so SharePoint creates a task in the Tasks list so that the user can approve or ...
4
votes
2answers
3k views

How do you format managed metadata/term in a SharePoint Workflow email?

I have a SharePoint workflow that will send out an email with details of my list item. The problem is that some of the details include data saved with that item that is managed metadata or a custom ...
4
votes
1answer
1k views

Unit-testing SharePoint workflows

I was wondering if there are any existing solutions for unit-testing Windows Workflow Foundation workflows that run in SharePoint context. Unfortunately, SharePoint libraries were not designed ...
4
votes
1answer
253 views

How to get the event/trigger of a SharePoint workflow?

A SharePoint workflow can be associated with a list, and configured to 'start when a new item is created', 'when an item is changed' or 'manually started by an authenticated user'. This is my ...
4
votes
0answers
685 views

SPSite.BypassImpersonationStateCheck - a mystery showing up in Sharepoint error logs

In the process of tracking down an elusive Sharepoint custom workflow problem, I cranked up the verbosity level on our sandbox MOSS server and noticed the following error message start popping up: ...
3
votes
5answers
5k views

Automatically copy data from SP2010 external list to an SP2010 custom list

I have an SP 2010 external list that is populated with customer names. The list is updated occasionally throughout the day. I would like to automatically copy the newly added names to another SP 2010 ...
3
votes
3answers
10k views

Why does this File write fail after a SharePoint 2010 migration?

I migrated my MOSS 2007 application (with custom approval workflow) to Sharepoint 2010. I had this generic piece of code to log data private void WriteToLog(String logInfo) { ...
3
votes
4answers
7k views

Cancel multiple SharePoint Workflows using PowerShell

How is it possible to cancel all running workflows in a SharePoint (2010) List? I found this script via technet. ...
3
votes
2answers
1k views

SharePoint 2013 Visual Studio Workflow not updating

I created a workflow with 2 sequences. I deployed it to test and everything worked fine. I went back and added a sequence between the two. Now it doesn't seem to execute anything in the new ...
3
votes
2answers
2k views

Start a workflow every first day of the month

Is it possible to start a workflow automatically the first day of every month? Edit: In principle I think this has to be programmatically although if it can be achieved using an out of the box ...
3
votes
2answers
3k views

How to associate a SharePoint workflow using the Client Object Model?

Using the SharePoint Object Model (SP 2010), how can you associate a workflow with a given list? I've been able to associate a workflow, but the configuration settings do not get saved back to ...
3
votes
1answer
1k views

Can a SharePoint Workflow start when an email is received in Outlook?

I have a shared folder in my outlook inbox that multiple users have as well. This email account was set up to receive voicemails as .wav file attachments. I wanted to know if it was possible to create ...
3
votes
1answer
354 views

SharePoint 2010 “foreach”

I have 2 SharePoint lists, and I have to copy all items from List1 to List2. On List1 there is a boolean field (defaults to 'no'), a text field and an associated WorkFlow which triggers on ...
2
votes
1answer
3k views

how to debug custom workflow activities in visual studio 2010

I have been searching the web for an answer to my problem, but so far I have not been lucky. I have create a custom workflow activity and I would like to debug it in visual studio 2010, but I don't ...
2
votes
3answers
7k views

SharePoint 2010 workflow not starting

I have an issue with a SharePoint 2010 list workflow created in SharePoint Designer that is not starting. I have one list where list items are edited and then a workflow is triggered and it copies the ...
2
votes
1answer
4k views

Retrieving rich text box sharepoint in javascript

I have CustomNewForm for inserting items in the sharepoint list. The fields are "Reason" and "Reason OverView"; both Multiple Line Rich Text fields. I need to copy some text from "Reason" to "Reason ...
2
votes
1answer
137 views

Regular Expression to split by ;

17;#Nancy Williams;#894;#Brian Smith,;#895;#Kart Russell, I tried ;# RegEx to split but the numbers and the comma after name are not needed. Also, I have another scenario where the string looks ...
2
votes
1answer
4k views

How to get SPuser object from Assigned To field of task

Hi I have a sharepoint 2007 workflow and i need to get the SPuser object in order to send mails to the user but all i can get is a string from the task's assigned to field. How do i do this? This is ...
2
votes
2answers
2k views

Share Point Foundation 2010 - Failed to Start Workflow

I am using SharePoint Foundation (Sharepoint 2010) to develop a workflow in Visual Studio with an ASP.NET Workflow Initiation Form. I use this form to set some properties on the share point list item ...
2
votes
1answer
1k views

How to trigger a SharePoint workflow on clicking a link item in the list

I have a sharepoint list and user will click 'start now' link in that list, then, I have to start a workflow. How this can be achieved. Please advice! Thanking you.
2
votes
1answer
2k views

How to check if a document is checked in, in SharePoint Designer Workflow?

I am trying to create a SharePoint designer workflow which should be triggered every time a document is checked in. How do I pause till the document is checked in? Will the condition Wait For ...
2
votes
1answer
3k views

How can I customize custom task form in sharePoint 2010?

I have master detail lists in SharePoint. I created a workflow for items in detail list and create a custom form with collect data from users action. in this form I have related item to workflow but ...
2
votes
1answer
7k views

SharePoint 2010 - Create liste items with looping workflow - limitation of 5?

I have a little problem creating new list items (rows) with the help of a workflow in a list in SharePoint Server 2010. Here are the facts. What I want to do: Create an item in a main list. While ...
2
votes
6answers
7k views

Workflow Fails to Compile and Publish in SharePoint Designer 2010

The SharePoint install is a SP2010 install on a 2008 R2 server. Everything is fully patched. I am running the SP Designer on the SharePoint Server directly. I have a workflow which is intended to ...
2
votes
1answer
507 views

How to catch item changes on list?

I have created state workflow in Sharepoint. My idea is: 1/ when workflow is started create copy of list item on which workflow was started, this copy is created to another web list within current ...
2
votes
1answer
2k views

Active vs. Running Workflow

At SharePoint Saturday in Lisle, IL this weekend, Robert Bogue said there's a difference between active and running workflows. I've looked on the web, but can someone clarify? If I can have up to ...
2
votes
2answers
2k views

Why can't I get my SharePoint custom workflow activity DLL to update?

I have created a custom activity that I am using in my workflows. Initially changes that I made were picked up right away. Now for some reason it keeps running with an old version of the DLL. Is ...
2
votes
2answers
2k views

Custom SharePoint Designer (SPD) workflow activity sentence not visible in SPD

I created a custom workflow activity (action) for SharePoint Designer. I deployed the assembly to the GAC, added the entry in the web.config file and created a .ACTIONS file in the 12hive ...
2
votes
1answer
25 views

Is it possible to get the value of a SharePoint column in the worflow without any reference to the other table?

Is it possible to get the value of a SharePoint column in the worflow without any reference to the other table? Here is my scenario... List 1 Title Status Reminder 1 Date Reminder 2 Date Reminder 3 ...
2
votes
0answers
35 views

How can I update an calculated column using Sharepoint Designer 2013?

I'm new to Sharepoint Designer and I'm having trouble to get a task done. I've created a list and each item of this list should have an specific code. Here's an example: **2014DEM/000023**. ...
2
votes
0answers
345 views

Packaging SharePoint 2013 List, Site, and Reusable Workflow and How to Deploy the Package

How to deploy a List workflow (not reusable) which is created in SharePoint designer 2013 to another site collection without recreating it again? I have got this link which is a good post about this ...
2
votes
0answers
200 views

Can you import a visio sharepoint workflow template directly into Visual studio without using Designer?

We are trying to determine if it is possible to import a workflow directly from Visio to Visual Studio without using SharePoint Designer. A comment here: ...
2
votes
1answer
287 views

Is it possible to terminate a SharePoint workflow via Javascript?

I want to batch terminate workflows by clicking a custom button in the ribbon that (with JavaScript) grabs the selected items in the list by ID. Can I terminate workflows in JavaScript? ...
2
votes
1answer
218 views

Custom Windows workflows with inforpath task forms-Switching Multiple views in same form

I am customizing a developed windows workflow by adding more views to the task form. And in Workflow.xml there are task forms defined as ...
2
votes
1answer
932 views

SharePoint 2010 Approval Workflow for a sub site?

I m new to SharePOint Workflows. I could see that the following workflows are currently ACTIVE. I went ahead and created a sub-site. In that sub-site, I want to attach an Approval (OOTB) to my ...
2
votes
1answer
562 views

how can i get all users who have interacted with a sharepoint workflow

I have a custom state machine workflow written in VS2010, when the workflow is canceled, or completed, I need to send an email to all the users who have interacted(completed/changed a task or the ...
2
votes
1answer
2k views

Using the default approval workflow task form in a custom Visual Studio Workflow

I am making a custom approval workflow in VS, but I dont wan to create a custom infoPah form to create the task edit form. Is there any way to use the form that comes with the OOTB approval workflow?? ...
2
votes
1answer
469 views

Error message when writing to the Windows Event Log

When I run a piece of code that I wrote I keep getting the following error: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. I have ...
1
vote
3answers
4k views

Sharepoint Desinger 2010 - Transfer Reusable Workflow from Stage to Prod

I need to transfer a reusable Workflow from the stage env. to the prod. The workflow is associate to a list, so the list id is stored in the workflow. Is it possible to transfer the workflow and ...
1
vote
3answers
4k views

Unable to find Approval Workflow in SharePoint 2010 Foundation

I'm new to SharePoint and I'd like to develop a Leave Form Application which utilizes the Approval Workflow, but I cannot find it on SharePoint Foundation 2010. How can I enable it? I have already ...
1
vote
1answer
859 views

SharePoint 2010 VS Workflow Upgrade

I feel this is probably a common task but I'm struggling with it. I have developed a custom workflow with VS 2010 and have deloped it. This workflow is attached to many lists. I would now like to ...
1
vote
1answer
42 views

PurchReqApproval Workflow stopped working

PurchReqApproval workflow stopped working, that is all the workflow's messages are in pending state. There were no modifications made to objects related to that workflow (maybe except EDTs). I am ...
1
vote
1answer
1k views

SPWorkflowTask.AlterTask throws “Specified method is not supported”

I'm trying to call AlterTask on a newly created Sharepoint task to add extended properties to my task, and a NotSupportedException is thrown. What's going on?
1
vote
1answer
606 views

How to send the Assignment Email with a link to the task in it SharePoint 2013 Visual Studio Workflow

I have developed a Visual Studio 2012 workflow for SharePoint 2013. I am trying to find a way to simply send a link to the actual Task in the Assignment email. I have created a variable and set the ...
1
vote
1answer
4k views

Programatically Approve/Reject workflows and add comments

I'm trying to programatically approve/reject workflows in SharePoint. I can successfully do this, but I cannot add comments. I got my code from a year old question, which hasn't been answered ...
1
vote
1answer
3k views

Sharepoint 2010 Calculated Column based on Name field [closed]

I need to get around the restriction that prevents the use of the Name column in a calculated column. I basically need to create a new library column (BeginsWith) which is the first three letters of ...
1
vote
1answer
4k views

How to associate custom Tasks list with workflow?

Firstly, I have created a custom list definition based on the Tasks list in Visual Studio. This feature also creates an instance of that list titled "My Workflow Tasks". Secondly, I have developed a ...