Hot answers tagged

10

SharePoint uses the default URL for links in alerts and workflows that are automatically kicked off. The workflow system doesn't have any way of knowing which alternate access mapping any given user would use when logging into SharePoint, so it just builds the link using the Default zone since it has no other info to go on. Without diving into fully ...


9

The simple process of setting item level permission is not available for SharePoint 2013 workflows. The only way I was able to do was through REST api called under Appstep. There are 2 calls made: BreakRoleInheritance AddRoleAssignment This blog by Yuri Leontyev​ ​ over at spssite.pro can be a good start. Excerpt: BreakRoleInheritance​ ...


9

I have yet to actually deploy it - but I'm pretty sure it will still be around - at minimum to support upgrade. It's not on the deprecated feature list https://technet.microsoft.com/en-us/library/mt346112%28v=office.16%29.aspx?f=255&MSPPError=-2147217396 They still exist in Office 365 The biggest reason - they still support database attach upgrades ...


7

You definitely don't want to use a workflow for this. Workflows are good for certain things, but the background color for a list item is not actually stored on the list item, so there is no way a workflow will be able to access or modify it. To me, it sounds like a job for Client Side Rendering (CSR), which would use JavaScript to check the value of the ...


5

I think the best option is using the Open with Windows Explorer, you can copy multiple documents. Another option is, Using the 3rd party add-on, Download Multiple Documents. it is free. Lastly, you can use the PowerShell script to download multiple files.check this


5

I wouldn't do this with workflow, I would do this in a PowerShell script that runs on the server, set it up in a Task Scheduler, and let it run every Monday. The script would kick off the workflow that you want, or alternatively use the PowerShell script to compile and send the email instead of the workflow.


4

You need to load Id of the definition before creating subscription. Also subscriptionService.publishSubscriptionForList needs guid object instead of just GUID string. When we create List workflow using designer it sets few more properties RestrictTOScope and RestrictsToType. While creating definition using code those properties are not configured hence ...


4

It's quite simple: Use pause until like below (Replace hardcoded date with currentItem:EndDate)


4

You could log them to a separate list with limited permissions and use an impersonation step so that the data as written as the workflow publisher. This way no matter who is executing the workflow, they will be able to log the private comments.


4

It is a valid case Microsoft has considered.. SP Designer won't let you create item in same list from a workflow if it executes on item create event.Reason being it will go in infinite loop. Follow this approach: 1) In Original list create a hidden column for you reference. Say Yes/No column 2) Create a temporary list say "Temp" Create 2 columns. ...


4

Isn't default content approval created for this types of requirement? Please try to turn on content approval and draft access restriction at Versioning Settings in discussion board settings. Something like http://www.savtechsol.com/Education/BeckysBlog/Lists/Posts/Post.aspx?ID=122. Official doc is here - https://support.microsoft.com/en-us/kb/825239, and ...


4

Considering that you are using a SharePoint group and presuming that the Assign a task step is not running inside an App Step, then make sure that everyone can view the membership of the group. Go to the group settings page and the select Everyone option under the "Who can view the membership of the group?" question. The reasoning behind this is that the ...


4

What you could to is just create a OOTB custom list, change the Title field to "New Idea" or something relevant and then enable ratings for the list from List Settings > Rating Settings. Enable it to Yes and select Star ratings and voila! Users can now rate the item/idea on a scale of 1-5 stars. If you wanna take it further from there, you could set up a ...


4

Date fields are never truly empty, so the option doesn't exist. An "empty" date field is actually set to 1/1/0001. So for your specific project, forget the whole "storing the string values of the dates" thing, that won't work. Instead, set up the workflow to perform the action if Date field is greater than 1/1/0001.


4

To do this you will need to use an Information Management Policy I found this tutorial which may help you. How to configure a yearly reminder on a SharePoint document


4

Make sure SharePoint server have the WorkFlow Manager installed and configured. WorkFlow Manager also requires ServiceBus to be installed Then run the following commands in the SharePoint Management Shell: Register-SPWorkflowService -SPSite 'http://localhost:24000' -WorkflowHostUri 'https://localhost:12290' -AllowOAuthHttp -Force $WmsSap = Get-...


4

Internally, percent complete is stored as a value from 0.00 to 1.00 so 100% would be 1. Change the Value you set in the workflow to 1 and the problem should be resolved.


3

I just tested this on SharePoint 2010 and for OOTB permission levels, it looks like you would need the Design permission level at a minimum to access the Workflow Settings in a list/library. You can also have the Manage Hierarchy permission level, but this would give you a lot more access than to just the Workflow Settings.


3

I don't think you can send email from SPD 2010 by specifying a from address. I write server code to achieve this. Sending email programmatically in SharePoint


3

I found the solution - works for the same site as well. Copied from the site: Open the site you want to copy the workflow from and click Workflows under Site Objects from the left navigation Select the workflow and click Export to Visio from the designer ribbon to save the file. Note that the default file extension is .vwi Locate the exported file and ...


3

The only way to achieve this with a workflow is to have an "old" column of the changed column. For example, let's say you have a column called ColumnA and another called ColumnA_old. ColumnA_old will be a hidden column. Your workflow is triggered when an item is changed. The changed value will be in ColumnA and the original value will be in ColumnA_old. At ...


3

I still could not find documentation supporting the 10,000 activities limit, however I have found a solution which allows the workflow to process in full. The solution was inspired by a little note in this article: https://msdn.microsoft.com/en-us/library/jj680843(v=azure.10).aspx The limit of the memory allocated by a workflow instance. The quota ...


3

On 2013 CSR and the OnPreRender function is one, and maybe even the best way of skinning this cat. You will have to read the whole list and then not display the Form but a message. But you can do without CSR and make SharePoint do half the work for you. A quick and easy ductape patch from the olden days is to hide the NewForm contents. On the NewForm....


3

To do this you need to use the build a dynamic string action. In it, you construct your url, description value information. Example, http://google.com, Google. The comma and space are important. Then you use this variable in your update action to set the value. Upon completion of the workflow, you should see it set properly.


3

A different way to doing this is to use retention policies. You can get them to run off a given date field as well as set it to X days/months/years. No need to pause workflows as you simply run the workflows when needed. Retention should be under settings for the library/list. (Please note that I use SP2013 but it should work in SP2010 as well: http://...


3

I think you are on the right track. Your 'rev' column should be set to a type of 'Number', but using column settings you can specify this field show integers/whole numbers only by setting the Number of decimal places value to 'None'. Then, in the WF you can insert the Do Calculation step: then Calculate CurrentItem:rev plus 1 (Output to Variable: result) ...


3

In SharePoint 2010 designer, "Save as Template" option is available only for Re-usable workflows and is not available for List workflows, that is why it is disabled.


3

Use CSOM / JSOM with CAML to get all tasks where ParentID is NULL, i.e. all top level tasks. // Create Context etc first List list = context.Web.Lists.GetByTitle(listTitle); CamlQuery query = new CamlQuery(); query.ViewXml = @"<View> <Query> <Where> <IsNull><FieldRef Name='ParentID' />&...


3

Happily, this is straightforward to achieve. What you need to do is insert a section 'If' action immediately after the first, ensuring the 'and/or' toggle is set correctly at the second (and subsequent) 'If' statements. You should end up with something that looks like the following screenshot Where the Column A value is in a separate list you will need ...


3

Instead of using Update item, use Set field in Current Item. In my experiences, the action "Update item" will trigger, which is essentially starting another workflow. This ghost resending of tasks may be the other workflow coming up behind you and finishing out its actions.



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