Tag Info

Hot answers tagged

2

This is the expected behavior: in SP 2010, the query only returns the first item. To update multiple items, you'll have to resort to tricks, for example add a column that serves as a flag once an item is updated. Another option is to attach the workflow to the second list (the one with the Owner field). This has been addressed in SP 2013 (kind of...) where ...


2

No, not in 2010. Workflow products like Nintex and K2 give you that functionality at a price though. Alternatively, you could use web services to bulk update information. The SPServices library has a great wrapper to help you out.


2

How to get Workflow status via CSOM function getWorkflowStatus(listTitle,listItemId,workflowTitle, success,error) { var context = new SP.ClientContext.get_current(); var web = context.get_web(); var list = web.get_lists().getByTitle(listTitle); var listItem = list.getItemById(listItemId); context.load(listItem); context.executeQueryAsync( ...


2

You would have to either start the workflow programmatically, or find a way for workflows to be started by the System Account. When changes are made programmatically, the associated modified by is a System Account. SP has a built in feature which does not start workflows when a change is made by the system account (which is good in ways, but can be ...


1

Is this in SharePoint 2013? If yes, SharePoint Designer 2013 Create Task action should let you choose if you want to send out recurring reminder and options for that. If you add a new "Assign a task" action in SPD, if you click on "this user" you can set up Due Date for created task as well as Overdue Emails: For SharePoint Designer 2010, you can follow ...


1

You may follow this link which has clear explanation of how create to create a timer job. It may help you. http://www.codeproject.com/Articles/403323/SharePoint-Create-Custom-Timer-Jobs


1

Is this required by workflow process or are you trying to use workflow just to contact DB and update specific list item in the list? If yes - it might be work looking into writing a custom Timer Job. If you have to do this in workflow - I guess you could build a custom activity and make it do all the required calls from there - someone who is workflow ...


1

Craig, You can use SPEmailEventReceiver to parse the email body.. Tip: If you want to debug your custom EmailEventReceiver, you have to attach your debugger to the ows process (not the w3wp) and you have to reset the Sharepoint Timer Service after deployment. - it costed me 3 days to figure this out. See here Reference: Event receiver not ...


1

According to the section Workflow limits in Software boundaries and limits for SharePoint 2013 For variables Maximum workflow definition (xaml) size Description: Attempts to publish xaml files that exceed the size limit will fail. Max value: 5,120 KB Limit Type: Boundary Workflow variable value size Description: The maximum amount of data that can be ...


1

A better way to set the configuration value via powershell (s. http://msdn.microsoft.com/en-us/library/jj680843(v=azure.10).aspx). To set the timeout to 2 min open Worflow Manager Powershell and use Set-WFServiceConfiguration -ServiceUri *YourURI* -Name WorkflowServiceMaxHttpResponseTime -Value 00:02:00 See the Warning on MSDN Page about possible ...


1

You can use the fact that files from _layouts\ folder are stored separately on every server. For example deploy a text file Test.txt to http:\yoursite_layouts\yourproject\Test.txt and put different content of this file to each of the servers (edit the file manually in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS). ...


1

You can get SPListItem via powershell, set property and update item without firing event, see example below: #Add SharePoint PowerShell SnapIn if not already added if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) { Add-PSSnapin "Microsoft.SharePoint.PowerShell" } $web = Get-SPWeb "http://dev2" $list = ...


1

I encountered the same high CPU problems on our Workflow Manager server. However, on our server we had already installed the February 2013 Cumulative Update. The Workflow Manager event log was flooded with the following error message: Failed SQL command after 1 tries with error '229'. Exception: System.Data.SqlClient.SqlException (0x80131904): The EXECUTE ...



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