Hot answers tagged

9

I believe when you said this was possible in SharePoint 2010, you were referring to this link: http://msdn.microsoft.com/en-us/library/ff798499.aspx I have got this working with SharePoint 2013 too. Here is the sample project: https://dl.dropboxusercontent.com/u/21118137/SPWork.zip I have tested this in Office365 too and it works. There is one caveat ...


7

Finally, I was able to address this requirement as follows: Create a Custom Activity which takes a SharePoint group as an input parameter and outputs a set of email addresses of people added directly in the group. At the core of the activity I used following method which gives me list of email addresses for people belonging to the group strOutput = ...


6

We've found it's much easier to just add a webconfig.something.xml file to the Config folder. So for your one entry you can create an xml file with these contents: <?xml version="1.0" encoding="utf-8" ?> <actions> <remove ...


5

I guess I will answer my own question. The solution was to create a ActivityName.actions file in TEMPLATE\1033\Workflow folder. ActivityName.actions <?xml version="1.0" encoding="utf-8" ?> <WorkflowInfo> <Actions> <Action Name="My custom activity" ClassName="SharePoint.ActivityName" Assembly="SharePoint, Version=1.0.0.0, ...


5

I've implemented this method in the past, so I just share my code with you: add: private void AddAuthorizedType(SPWebApplication webApplication, string assembly, string namespace_) { SPSecurity.RunWithElevatedPrivileges(delegate { var modification = new SPWebConfigModification(); modification.Path = ...


5

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 ...


4

Our issue was the missing feature.xml for the PowerView feature: 14\Template\Features\PowerView\feature.xml on our WFE. Rather than using Fiddler which didn't seem to help, we discovered the error in our ULS logs (see below). Working on this missing feature, we then activated the feature on the Root Site collection, but this didn't solve the problem. I ...


4

The most common issues are: Make sure the authorizedType entry is in your web.config (for testing you can manually add it or add it using code) If this is a new iteration of an existing DLL, you may have to clear your cache on the machine where you are using SharePoint designer. Make sure your .actions file is correct. You might also want to check out ...


3

Ours didn't send an email to a SharePoint Group until we: Set the "Who can view the membership of the group?" to Everyone Give Read permissions to the group for the site We then tested with a very simple workflow with SPD and it worked. We got some hints from here. If your email is still not sending after that, then you may need to see: Verify it's a ...


3

The problem here was actually a custom branding solution. I was helped by Microsoft Support on this issue, and we discovered that the branding solution had been applied twice. Once as a Farm-level solution and once as a Site Collection-level solution. There must have been something wrong with the Farm solution because when we removed that one the problems ...


3

This may just be a work around, and not a real solution, but if you set those old workflows to fire when an item is changed, you can add a new column ('Fire Workflow' with a yes or no drop down) and then go into the datasheet view and set them all to Yes. That should force designer to see that every entry changed. Once the workflows have completed, you can ...


2

Unfortunatley you cannot debug SharePoint Designer created workflows easily (unless you actually debug the SharePoint codebase). I suggest you add some logging features to the Workflow, examine the ULS logs, check that your workflow history is cleaned up properly etc. (If you updated your post with the Visio diagram of your Workflow it could possibly help ...


2

To link back to your item, you can do something like "<a href=\"" + li.Web.Url + "/" + li.ParentList.Forms[PAGETYPE.PAGE_DISPLAYFORM].Url + "?ID=" + li.ID.ToString() + "\">Link to Page</a>" Where li is the SPListItem. HTH!


2

You would need to look at VS Studio workflows as your option here. You are correct that the OOTB workflows are limited and won't fit your requirements. You could look at SharePoint Designer to offer a lot more actions etc. The problem here is that you won't get the State Machine workflow you are looking for. If you ha the budget the Nintex workflow product ...


2

You would be correct, support is blowing smoke at you. This isn't the first time I have heard people complain that Sandbox solutions that run on-premise get this exception when running on Office 365. I have deployed and run Sandboxed workflow actions on Office 365, and they have run just fine, however that may simply be that the servers my account run on ...


2

I have two recommendations: Professional Workflow in SharePoint 2010: Real World Business Workflow Solutions (Wrox Programmer to Programmer) http://www.amazon.com/Professional-Workflow-SharePoint-2010-Programmer/dp/0470617888/ref=sr_1_1?ie=UTF8&qid=1331150309&sr=8-1 SharePoint 2010 Workflows in Action ...


2

The best you can do in SPD is craft a URL to the EditForm of the task I believe. If you're wanting to do it strictly in email, you'll need to get a tool like Nintex Workflow that allows for LazyApproval. This feature, when enabled in the workflow, allows users to simply respond to a workflow notification via email with a configurable list of predefined ...


2

I've encountered the same issue and I had the SP1 for SharePoint Designer2010 already installed. SP D2010 Version : 14.0.6123.5001 (32-bit) with SP1 The issue : I am using SP2010 with infopath 2010. i've designed a custom approval which contains one approval process. this workflow prompts users to fill in reviewer, CC and comments on the workflow ...


2

I do not believe there is a "standard" solution for this. But, it also depends on your definition of "standard." The only non-code way to do something like this that I know of is to use a complex set of Sharepoint Designer workflows to create a loop that will go through and initiate the workflow on all Items. See the reference for loops in SPD here. A ...


2

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 ...


2

If you want to use Workflow Foundation 4.5 (that is used in SharePoint 2013 and SharePoint Online) you can use different approach to create custom action (but, it will work only in Sharepoint 2013, in Sharepoint Online you can use only declarative activities) The second way, you can deploy your action in SharePoint 2013 and use 3.5 Workflows Foundation for ...


2

You've almost got it... you have to write an expression in that condition that evaluates to TRUE/FALSE. So something like testProp == 'something'


2

One of the benefits of the 2013 workflows is that they will run in the cloud, but this benefit does not apply to a code based custom activity. Also, any deployment instructions that involve manually copying files to particular directories are problematic, as a year from now an admin may extend the farm with another server, and needing to also copy the dlls ...


2

You can write your Custom activity to write your custom code. You can follow following link to write your custom code activity. http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/08/28/how-to-develop-a-workflow-code-activity-in-sharepoint-2013.aspx Other approach would be write a WCF service to update the data in your service and call that ...


2

Follow the same directions as for SP 2010. I've done this and installed onto SP 2013 just fine.


2

You don't have the copy item in the 2013 workflow engine, indeed. This doesn't mean you can't do it in SharePoint 2013 - you just need to choose the 2010 platform, you have a dropdown when you create the workflow and the default is 2013 but you can change it. 2013 lost some actions as it's a platform that sits outside of SharePoint (WAW - Windows Azure ...


2

The Association form is used when a user attaches (enables, associates) your workflow with a list/doc lib. This is the form that appears right after he choses the WF definition/name/task list/etc. when he clicks OK, if you have an Association form on your workflow, it will be displayed. Information from the first default page will be passed to the ...


2

Try Using Following steps Go to corresponding List's Setting and in list settings page click on "Workflow Settings" in Workflow settings page click on "Remove, Block, or Restore a Workflow". Remove all previously running workflow instance. Try to republish the the workflow with modified triggering condition from SharePoint designer. If still you don't ...


2

First Nice question...got me thinking and would like other members to post their approach.... What I can think of now is to have a different field (call it New Members) on the form where new users needs to be added. Once the members are added there... workflow email triggers to these new members and in next step of workflow, add the member from this new ...



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