SharePoint workflow refers to the automation of a business process by step by step execution of steps. There are two types of workflows - Sequential Workflows - State Machine Workflow
14
votes
1answer
511 views
Why is setting task fields in a “Before A Task Is Assigned” step not working?
I have a custom process in a SharePoint 2010 workflow where I need to allow the first participant to be able to change the second participant in the participant list.
What I have tried is asking the ...
12
votes
2answers
768 views
sharepoint designer 2010 workflow lifecycle
I've build a workflow with SharePoint Designer 2010 on a dev computer. Let's say it's in V1.
Now I want to move the workflow to the production environment. What is the correct way to do that ?
I've ...
11
votes
1answer
296 views
View problem when attaching workflow to list programmatically
Very irritating problem. I have a list with the following view
<View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,All_Documents;" DefaultView="TRUE" ...
10
votes
1answer
709 views
Why is my workflow DependencyProperty event handler not firing?
I have a custom workflow activity (SharePoint 2010) with a Dependency Property defined as follows:
public static DependencyProperty TaskChangedEventPropertyEvent = ...
9
votes
1answer
3k views
How to use onWorkflowItemChanged in a State Machine Workflow?
I'm using a simple Workflow for demonstration purposes:
Init sets State1. State 1 waits for item changed and set's state 2. State 2 waits for item change and finishes the workflow.
The problem: ...
7
votes
3answers
732 views
Sharepoint template bug, workflow fix not working
I downloaded Microsoft's Employee Training Schedule and Materials template and installed it. Everything works as I need it to except for one bug, which seems to be well documented. When you register ...
7
votes
3answers
629 views
Creating a workflow to be run by a timer
I have been attempting to resolve this issue for about two weeks now. So far, everything I try has a problem that makes it unworkable.
Problem
One of the current requirements is that I need to be ...
7
votes
4answers
7k views
Trigger workflow daily
Is there a simple or OOTB way in SharePoint to trigger a workflow to execute daily? Maybe through the use of timer jobs? My goal is something that doesn't require the use of a solution or some type ...
6
votes
4answers
2k views
how to run workflow for item expiration?
As I understand WF are triggered with events (or event). I have a expiration column and I need to send notification 45 and 30 days prior to the expiration data. What are my option?
6
votes
2answers
747 views
Workflow and EventReceiver execution order
I have an event receiver, and I'm capturing the "ED" events (Added, Edited). I also have a Workflow on the list that is triggered on Item Added and Updated. Does the workflow get called before the ...
6
votes
1answer
5k views
Include link to task in task notification email body
I am customizing the Email task notification message body in SharePoint Designer and need to include a link to the task. I can get all the pieces of the url except the task list id. I have:
[%Task ...
6
votes
1answer
113 views
Is it really required to enable SharePoint Workflow Timer Service on all application server?
As the title states, may be this is a very basic question. In a SharePoint 2010 farm, the SharePoint Foundation Workflow Timer Service is enabled for all servers in the farm by default. However, I ...
6
votes
1answer
238 views
Custom Activity Dependency Property Inheritance
I have created a couple of custom workflow activities for SharePoint 2007 and they are working. However, I find that my custom activities share a lot of properties/methods and so I have attempted to ...
6
votes
1answer
102 views
Creating a new user via code, have to wait before account is able to login
I am creating new AD accounts on the fly in a workflow. Once created I call SPWeb.EnsureUser, then add the user to a SPGroup. If I browse to the group I see my new account in there. If I log out and ...
6
votes
3answers
3k views
Detected use of SPRequest for previously closed SPWeb object within workflow
I have a visual studio sequential workflow. In that workflow, I have a string property called AllowDisposition. When the workflow starts, I populate that value by doing workflowProperties.Item["FIELD ...
5
votes
3answers
980 views
What is downside of reducing the workflow timer job in SharePoint2010 from 5mins to 1 mins
I am working on a project which trigger the workflow in code asynchronously, the default time for the workflow timer job to pick the workflow is 5 mins , I would like to reduce the timer job from ...
5
votes
3answers
714 views
using ftp in a SP list
I am not yet familiar with Visual Studio SP development as I have just started developing on SP sites less than 2 months.
I would like to use a SP list to initiate a transfer of HUGE files which ...
5
votes
3answers
821 views
Multiple workflows across a list versus one workflow iterating the list
I have a process that needs to be run across every element of a list, doing specific things (mostly sending emails) based on several different fields of that item. This operation will always be done ...
5
votes
2answers
81 views
Why does SharePoint Workflow Project in VS 2008 get modified every time it's opened?
The same goes for the workflow source files -- every time I open the project or go to the source file, it's indicating (by the asterisk) that the file has been modified. Which means two things:
when ...
5
votes
2answers
258 views
Office 365 developer site SharePoint 2013 preview: SPD2013 workflow is always canceled
I try to create a workflow using SPD2013 preview on the Office 365 developer site (company.sharepoint.com). I can create and publish WF using SPD2013 without any problems, but when I start it on the ...
5
votes
1answer
450 views
How to make custom workflow activity parameter optional
I'm developing a custom Sharepoint 2010 workflow activity and I need some of it's parameters to be optional. For example, I need a user, using Sharepoint Designer, to be able to specify document path, ...
5
votes
2answers
647 views
Upgraded instances of a workflow become 'stuck' and do not pickup OnTaskChanged Activities
I have a very simple workflow as seen here:
When a user goes to act on a task, they are presented with an InfoPath form. The form displays some information. The user either selected 'Approve' or ...
5
votes
2answers
801 views
How do programmatically determine when Approval workflow has completed
I have a list with 2x declarative approval workflows associated with it (the workflows themselves are copies of the OOTB Approval workflow and were built in SharePoint Designer 2010).
FYI: The ...
5
votes
1answer
1k views
Approval (OOB) Workflow modified as System account Issue
We are having a problem with an out of the box approval workflow.
Environment:
5 Server Farm (2 wfe, 2 app,1 db)
SharePoint 2010 Enterprise. (upgraded from moss enterprise)
Problem
Every time a ...
4
votes
5answers
1k views
Transferring files between 2 SharePoints
I need to sync files between 2 SharePoint sites. The 'origin' SharePoint is our internal SharePoint we all use. We have a subsite for each client. The second SharePoint is semi-public/accessible to ...
4
votes
2answers
3k views
How do I create a new document in a document library according to a template in a workflow ?
I have a document library with a DOCX template file. I want to create DOCX file in this library in a workflow but I did not succeed.
Before, I created a workflow in Sharepoint Designer to create a ...
4
votes
4answers
2k views
Custom activity created and appearing in Actions list in SPD, but cannot select it
I've been following several examples regarding custom actions. I've been trying to deploy my own one, but although I can see the action inside SPD, when selected it doesn't appear in the workflow ...
4
votes
2answers
2k views
modify web.config programatically to add a workflow authorized type
I need to add a line in the web.config under authorizedtypes, I want to do it with a wsp solution so that sharepoint takes care of syncrhonizing it with other front end servers.
I just want to put ...
4
votes
3answers
839 views
SharePoint Designer Workflow Not Always Firing
I have a very simple SharePoint Designer workflow on a SharePoint list. All it does is fire when a new item is created, copying one column value into another.
The workflow generally does exactly what ...
4
votes
6answers
5k views
How to restart workflow from within it self?
Being new on the whole Sharepoint administration scene, I need a little help from those in the know.
I may be doing this "completely" wrong, so apologies if I am and I would really appreciate your ...
4
votes
4answers
5k views
SharePoint workflow history in SP2010
I don't think there is one answer to this problem but at the same time I don't get what Microsofts expectations are.
Facts:
Workflows log to the history lists.
This list shouldn't be assumed or ...
4
votes
1answer
5k views
Assign Tasks to multiple people with multiple completions
Sharepoint 2010.
Question 1:
I need to create a task that can be assigned to 1 or more people at the same time, but creates a separate tasks for each of the so that they would mark the task as ...
4
votes
3answers
6k views
How do I customize a workflow task form?
I am trying to edit the form that appears when I edit one of my tasks in SharePoint 2010. I currently have a Workflow with an approval process. I believe I can get to the relevent form for my ...
4
votes
1answer
205 views
Why is there space at the beginning of my SharePoint Designer Custom Emails?
Every time I setup a custom email and use the slightest bit of HTML within the email, there's a block (for lack of a better term) of dead space at the top of the email. I can't seem to get rid of it. ...
4
votes
2answers
794 views
Can workflow send e-mail to SP Groups?
I'm trying to send an email with attachment using Useful Sharepoint Designer Custom Workflow Activities from Codeplex.
I've put my recipients in an SP group but when I try to email to that group I ...
4
votes
5answers
1k views
Programmatically added workflows unavailable
I've written some code to add a couple of workflows to an existing document library. Basically, it's not more then these lines of code:
// Create an association for the default ...
4
votes
1answer
2k views
Remove “Add new item” functionality from lists
I have lists where the items are created from nintex workflows. I need to prevent the users from adding list items manually, as the workflows ensure dependencies.
Revoking the add item permission is ...
4
votes
1answer
761 views
Workflow not triggering on new item in e-mail enabled list
A simple workflow with only one step, update column, is set to "start on new item" on a E-Mail enabled list.
When we send an email to the list, the email gets processed and a new item is created but ...
4
votes
2answers
592 views
Finding pages that are pending approval across an entire site collection
I am in the process of creating an administrative view which allows our intranet authors to view all the pages across the entire site collection that are awaiting their approval.
As our site ...
4
votes
1answer
194 views
How to alter SP2013 workflow task from an ASP task form?
I have created SPD workflow with a custom ASP form. My form opens when clicking on a task link and I can show information about the task. Now I want to alter the task after pressing a button, but ...
4
votes
1answer
71 views
Add a Three-State Workflow by Code?
I want to add a three-state-workflow to a list. I know how to add this via Designer but - to keep manual works low - I want to achieve the same goal by Code.
This is what I need:
Add a ...
4
votes
1answer
424 views
Is it possible to export a site workflow?
If I have a Site Workflow on my development machine, what's the best way to deploy it onto the production system which is hosted on Microsoft SharePoint Online?
I have found a way of doing it which ...
4
votes
3answers
218 views
Is there a way to refire a retention policy after a document has been updated.
Scenario:
Retention policy set on "Expiry Date" column. Starts a workflow that notifies a user.
User updates the document (and expiry date)
Retention policy no longer fires when the new expiry ...
4
votes
0answers
184 views
Assign tasks to multiple users using workflow without Visual Studio
My requirement is, we want our employees to read the document whenever the administrator asks them too.
For this I can manually start a workflow against a document. The problem is, I can only create ...
4
votes
1answer
571 views
Sharepoint 2010 Workflow: Create multiple tasks and change them
I want to write a workflow which creates and updates tasks when the workflow item is changed. For example: the workflow-item has a multivalue field with users who should approve the workflow-item:
...
4
votes
2answers
1k views
How to configure a SPD Workflow to start using an account different from the System Account
We have created a group of SPD workflows that are associated to different document libraries in a Record Center. The workflow themselves work great, but right now (after installing the latest CU ...
3
votes
3answers
765 views
Why has sending emails from workflows stopped?
We have a SharePoint system installed. The customer has changed the email system.
After that emails that are sent out in our code using SPMail, and as the user uses the system work OK.
Mails that ...
3
votes
2answers
387 views
Calling WCF Service from a workflow in Sharepoint Online
Is there any way to call a WCF service from a sharepoint online workflow (Sandboxed Solution)? I have looked up quite a few samples but they all seem to use farm solutions which is obviously not an ...
3
votes
2answers
2k views
Find all SPD workflows in site collection
I am migrating a sharepoint farm and need to update all SPD workflows in the migrated site collection. I need to get a list of all SPD workflows that exist in the site collection so I can update URLs, ...
3
votes
3answers
6k views
No InfoPath forms in SP 2013 workflows?
I just read here, that InfoPath forms will no longer be used in Workflows. Is there something that will replace InfoPath? or are forms in the Workflows just going away?
Thanks!

