Tag Info

Hot answers tagged

5

‘Out of the box’ Workflows SharePoint 2010 Standard and Enterprise include a selection of ‘out of the box’ workflows. These tools help you automate the most common business tasks – sharing and collecting feedback on documents. List of OOB workflows: Workflow Types Windows Workflow Foundation supports two fundamental workflow styles. You can create ...


4

Based on your question, there are two areas to address: How to help your particular problem How to handle workflow errors in general with SPD For your particular problem: I see something that may improve your process based on your description. You mention your general workflow as the following steps: item changes workflow reads fields workflow does ...


4

Sequential workflow A sequential workflow represents a series of steps. The steps are performed one after another until the last activity is completed. Sequential workflows are always strictly sequential in their execution. Because they can receive external events, and include parallel logic flows, the exact order of execution may vary. The following ...


4

One way to do this would be to have your multi-column lookup list stored as a separate list in SharePoint (Maybe you already have that I'm not clear). When you then add a lookup column to your 'main' list that refers to this lookup values list you can select which additional fields to include. You could, for example, include Name and Age. When including ...


3

I haven't tried this method, but I think it should work. If you use the Lists web service to query for the particular item, you should be able to retrieve the workflow status column and see it's value. It should give you In Progress/Complete. In your code, you'd just need to check that status and wait/recheck in a few seconds or redirect to your page based ...


3

The easy way to accomplish this is by changing the AssignedTo field in the task list, although I know this isn't the preferred method. To do this I had the JavaScript update the task list with two fields I created called "Approval" and "ReassignedTo". In the Approval Field I placed the value "reassigned" and in the ReassignedTo field was the value of the ...


3

An easy way would probably be to create a timerjob which: Iterate through your webs and find Doc Libraries with specific name. Iterate through the documents to find an column with expired date, use lambda. Mail targeted groups/users for the specified document. As long as the timerjob doesnt run all the time you can minimize the workload.


3

You can hide that field in NewItem form. One way to do that is with a PowerShell script Enable Management of Content types in Advaced List Settings and Run the following script: Add-PSSnapin Microsoft.SharePoint.PowerShell –erroraction SilentlyContinue $web = Get-SPWeb -Identity http://.... $list = $web.Lists["ListName"]; $field = ...


3

I don't see why you can't use the OOB versioning functionality. If you enable versioning and content approval for your library and turn on major and minor versions, then whenever a document is submitted, it is marked as Draft and it gets assigned a minor version. You can then use a standard approval workflow (or customize it to suit your needs) to approve ...


3

By default, a workflow is run under the security permissions of the workflow initiator. The CheckOut action doesn't let you specify who the item should be checked out to. It will be checked out to the user under which the workflow is running, which is the workflow initiator or the workflow author, when an impersonation step is used. (more info on this on ...


3

As strange as it may seem, this error is often experienced when you are debugging a SharePoint App and you never had published your solution (so the solution package has not been created). Use the "Publish" command to create the package and debugging should work normally afterward. Notice that the deploy functionality works even without the publish step so ...


3

Yes it's possible but it can be annoying. You can create a good workflow on List A and an empty workflow on List B. Then open Workflow A in a text editor and copy the code. Open Workflow B in a text editor and paste in the code. You may need to do this on two files. Now the important part. You need to replace all of the list GUID references in the pasted ...


3

I'm assuming you have some kind of unique ID that will be used in your list/library items/documents. One approach that we are currently looking at: Add a custom webpart to your "view form" and "edit form" pages (either in designer or using the ?toolpaneview=2 URL parameter). On load, use a web services javascript call to reach into your data source and ...


3

Use SPListItem.UpdateOverwriteVersion() Updates the item without creating another version of the item. SPListItem.SystemUpdate method More Explanation


2

In SharePoint designer 2010, we can certainly copy the content of the workflow mail. Here is the way to do it: Click on the email action in your workflow (it means it should be selected). Next go to the advanced properties in the ribbon, if you click that "Send an Email Properties" dialog box will be opened. In that dialog box, there will be a row called ...


2

Try to close SPD and clear its cahce before adding. The cache is located here: %APPDATA%\Microsoft\Web Server Extensions\Cache %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache UPDATE1: It has become much clear after comments. The cause of your issue is the fact that you added fields to a list, but not to content type. As your workflow is reusable it only ...


2

I realise this thread is a bit dated at this point, but I figured I'd give it a shot in case anyone else was interested. I come from an ASP.Net background; whenever I'm faced with developing a business application I'm constantly asking myself the question of whether I should set it up with Sharepoint or just go with a regular web app. Most of the time, I do ...


2

http://technet.microsoft.com/en-us/library/cc262787.aspx#Workflow here are the limitations for using Workflows in SharePoint 2013 according to Microsoft. As you can see for example: Published workflow definitions per web site: 1,000 per web site Supported The maximum supported number of published workflow definitions per web site is ...


2

You will not be able to do this without at least a small impact on performance, and generally this is a bad idea. It is important to understand that when scheduling your timer jobs, if the previous job is still running it will skip a cycle. Since the scope of this setting is not just for the one workflow, you have to understand it can have far reaching ...


2

Go to your hive folder: Then into Template\1033\workflow and find WSS.ACTIONS Inside there will be a reference to a custom DLL, find it and remove it and your designer should start working again. Make sure you take a backup of the file first. Happy hunting.


2

Check below workflow actions Extract Substring from End of String Extract Substring from Index of String Extract Substring from Start of String Extract Substring of String from Index with Length Value stored in to a variable, then after that you can use this variable into your workflow actions.


2

I have just had the same issue in my environment. In my case I have HTTP enabled on the workflow farm. During re-install the workflow farms HTTP endpoint disappeared (you can run the Get-WFFarm PowerShell command and check the Endpoints there). So the solution in my case was to properly configure the HTTPS endpoint and than re-register the workflow farm ...


2

Tasks are saved in a list, you can query and add workflows to them like any other list. https://www.nothingbutsharepoint.com/sites/eusp/Pages/sharepoint-task-lists-what-are-they-good-for.aspx Via SDK: http://msdn.microsoft.com/en-us/library/ee539976(v=office.14).aspx Multiple users on a SP list/Task: ...


2

Put simply, SharePoint content is stored in a a content database associated with the web applications. Each content database has a single table to store all of the list data across all of the sites that use that content database. That includes all of the tasks, in all of the task lists, as well as things like Link and Issues lists. Through the application ...


2

If you want instant updates, I don't think workflows is the way to go. This is due to the fact that a workflow is driven by timer jobs that only executes in a given interval. Here is an extensive walk through of workflows and their architecture: http://www.synergyonline.com/Blog/Lists/Posts/Post.aspx?ID=224 Depending on your real objective, maybe you can ...


2

you can get the idea from the code below SPSite site = new SPSite("http://servername/"); using (SPWeb web = site.OpenWeb()) { SPList list = web.Lists["TestList"]; SPListItem item = list.GetItemById(22); SPWorkflow workflow = item.Workflows[0]; SPWorkflowTask task = workflow.Tasks[0]; Hashtable ht = new Hashtable(); ...


2

You can't start 2 instances of the same workflow on the item, the second workflow won't trigger if the first workflow is still working. You'll need to stop existing running workflow before starting the second. Don't try to start the workflow from an external action if the current workflow is running on the item, by calling the workflow (there is an action ...


2

If you want to filter it based on workflow status This list might be useful when you creates a view based on workflow status. If you are creating a view for a list filtered by the workflow status, you would need use the number rather than the words (e.g. 2 instead of In Progress, 4 instead of Cancelled etc) Status Value Not Started 0 Failed on ...


2

It's possible to set permissions using REST API in Workflow that runs under App identity. Please check my blog post about these methods: BreakRoleInheritance AddRoleAssignment Also we have released a set of SharePoint 2013 Workflow activities to work with permissions - Artezio SharePoint 2013 Workflow Activities. Please check.


2

Take a look at the Approval workflow to name one thing. You can make it trigger when people try to publish a document in certain libraries. The workflow will then create a Task, and if configured, send an Email to selected users, asking for approval of the document. Introduction and more information here: ...



Only top voted, non community-wiki answers of a minimum length are eligible