New answers tagged

0

You can create folder using SharePoint designer workflow by adding folder content type in list and then add action "Create list item" in workflow in which will create item using folder content type to create folder in list. Steps are given in this Post


0

Let consider Folder name TestDoc and here i am coping a file from source folder FolderA(or from any where in the TestDoc library) to destination folder FolderB see code below. public override void ItemUpdated(SPItemEventProperties properties) { string strItemProperty = properties.ListTitle.ToString(); if (strItemProperty == "TestDoc") { ...


2

Yes you can use the UpdateListItem activity. In the ListItemPropertiesDynamicValue property you need to set the Path and the Value. In Path select the field you want to update. In Value enter the value you want the field to be. So, for example, if you want a field called Status - which is a Single Line of Text field - to be set to "In Progress" it would ...


0

Judging from the documentation, I don't know if you can call another SITE workflow using REST at least with the documentation I can find. Look at the parameters for: StartWorkflowOnListItemBySubscriptionId - https://msdn.microsoft.com/en-us/library/dn683475(v=office.12).aspx Then look at the parameters for: StartWorkflow - ...


0

I've written a function that lets you fire off workflows using JavaScript. https://gist.github.com/iOnline247/1b3c26f7175296a44274 I've copied the code here, but it may change over time, so refer to the Github link for the most up to date code. Use this to fire list workflows by name or subscriptionId. Raw $sp.wf.js /*! * Created by Matthew Bramer - ...


1

I don't think workflows would be the best approach for this. Is there a reason why the documents need to be checked out? If it's to prevent other users from modifying the original documents, you might look at removing the ability for users to modify content instead. I haven't attempted with going backward in versions, but have a look at Export-SPWeb and ...


0

Instead of checking if the document has been uploaded, could you not instead create a task to the user to upload the document. Once they have done so they mark the task complete and the WF continues on? This will still force the WF to wait, but requires the user who is supposed to add the document to mark their work as done. This way you don't have to ...


0

Don't concatenate, work with the individual fields. In the workflow, create a string variable MyVar. Set the value of the variable with the String Builder. Inside the String Builder use the "Add or change Lookup" button to perform the lookup for the first selection field. type a semicolon repeat steps 3 and 4 for all selection fields, but don't add a ...


0

In SharePoint 2013 there is no need to use alter the task. Directly access the list Workflow Tasks and update the item. Following code worked for me: using (SPSite _site = new SPSite(spSiteURL)) { using (SPWeb _web = _site.OpenWeb()) { ...


2

I would personally just restart the approval workflow so that the first person rejects the item. This way the workflow status and history accurately reflect the intent should it ever need reviewed.


0

Just as a heads up to anyone currently (2016) considering these options, Nintex has the advantage in my opinion from a usability standpoint. K2 no longer supports InfoPath integration (see K2 smartforms), meaning all of your XML Forms Libraries will need to be recreate to support their new appify model. Nintex works substantially well with InfoPath, and ...


0

OK - got this finally. Found and installed a CU for Service Bus, rebooted server and logged in as the SP Administrator, not the domain admin. Ran the configurator and it's done. Next problem - unhandled exception in Workflow Service Host.


-1

You can use the action of wait for a field change and then test your condition.


1

No out of the box solution. You need to create custom solution for the same like Timer job or Visual Studio workflow. PFA url to create and deploy timer job. http://www.codeproject.com/Tips/634208/Create-and-Deploy-Custom-Timer-Job-Definition-in-S


0

Yes we can create a second list as required. So the workflow goes this way: Start a task process/ Approval process -- And if the out come is Approved, then do the following: a. Start a loop with variable "Noofdays" times (calculated column) You can get that Here b. Inside the loop, use create a item in List (output to variable: create1) action to create ...


0

Option #1: Use jQuery/Javascript on DOM ready SharePoint creates two text fields for the URL field type, you'd need to set the value for the second matching element using javascript. Here's an example using jQuery: $(document).ready(function() { //Note: id selector below needs to be the internal name //Use Firebug or IE tools to see how id(s) are ...


0

To link an existing List Workflow to the new list, I have used an approach described here and it worked for me (SharePoint 2013 on-premises). My situation: I had to copy existing subsite with List Workflow to other SharePoint farm. After Export-Import PowerShell command execution List Workflow lost list assotiation (on destination farm). Solution: ...


0

I am able to resolve the issue using below steps: Check whether the workflow files like *.xoml, *.wfconfig, *.rules etc, are in check out state. a. Open site in the SharePoint designer b. Click All files and open the Workflow folder. c. Navigate to your SPD workflow and you can see the below files. d. If the above are in “checked-out” state, try to ...


0

If you want to get Approval, Collect Feedback, and Collect Signatures Workflows in the list. Then you need to activate a Workflows Site Collection Feature. Follow below steps Navigate to your Site Collection Go to Site Settings Find the Site Collection Administration section, Under it click on Site collection features Scroll down at bottom, find and ...


0

Check in 'Manage Site Features' as well - double check all workflow related such as Workflow Task Content Type - to this point... I am not a big fan of the workflows in sharepoint that are included out of the box - they use tasks and become complicated / and not end user friendly. Prefer, instead, to use a sharepoint designer workflow that leverages ...


0

I read this book and it really helped me learn to actually build the workflows- it was very focused on business people - he highlights no coding required and he wasn't kidding. Very logically written. Sharepoint Workflows for Today's Knowledge Worker - from Amazon


1

I would suggest a timer job or a console application to handle this. Pausing until a date won't have a huge performance impact as the workflow gets serialized to the database until it is time to do something. This big problem is that if that date changes, it doesn't affect the workflow that is currently running on the item. We have converted several ...


0

As explained before, but I will summarize it in here, the user of the workflow can't make REST calls to other sites or subsites by default, you should give the sites and subsites the permission to the workflow to make those calls. To be able to do it, first Allow your workflow to be used as an App by activating the feature Workflow can use app permissions ...


2

You don't get workflow scheduling with the ootb workflow engine. We had a very similar requirement where list items needed to be checked daily to see if they were due/overdue and send notifications as such in O365. It was a workflow previously but didn't work well. We converted it to a console application that is scheduled to run every day. The console ...


0

Just a thought, you could create an empty/blank variable (of type Date-Time) and then set the column value to equal your variable. Hope this helps


2

It looks like at some point, you tried to configure Workflow Manager to work with SharePoint (so you can create/deploy/use 2013 mode workflows). To do so, you set up Workflow Manager (a dedicated -free- product) and then connected SharePoint to it. Workflow Manager generally sets up on http://<WFserver>:12291/, where WFserver is the Web server you ...


0

This behavior seems to be by design, it's supposed to work with alternate access mappings, but emails are clearly not considered. There's a function in SharePoint Rich Text Editor JavaScript that strips the domain, so if you switch to plain text, your HTML source will not be modified. See this Q&A as well Absolute URLs converted to Relative URLs when ...


0

Use an impersonation step inside of SharePoint Designer. Design and save the workflow as someone with highest permission level and the workflow will run at that level. Then the permissions for all users can be checked with the following step: If Created By - Then click on the specific person link and you can choose a SharePoint group. If all of your ...


2

The meaning of the lookup action in your screenshot is to find the “Manager” field from the second list which the value of this column (is returned as email address type) is equals to the value of “Responsible People” field of the current Item (is returned as string type). I logged the different returned value type of a person field for your reference: ...


0

This is the cure for most any SPDesigner misbehavior. It also worked for me in a situation very similar to the issue in this post. Close SPD2013 Delete everything at %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache Delete everything at %APPDATA%\Microsoft\Web Server Extensions\Cache Go to SPD2013 options –> General –> Application Options –> Uncheck ...


0

This is the cure for most any SPDesigner misbehavior. It also worked for me in a situation very similar to the issue in this post. Close SPD2013 Delete everything at %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache Delete everything at %APPDATA%\Microsoft\Web Server Extensions\Cache Go to SPD2013 options –> General –> Application Options –> Uncheck ...


0

You could try calling a Web Service from your sharePoint desinger workflow, you'll need the SharePoint UserGroup.asmx service and the GetGroupCollectionFromUser web method.


0

Why can't you just uninherit the permissions on the calendar list so that admins are able to contribute and everyone else can just view (if that was your intention)?


1

An issue is solved! I tried the same WF at a site level (previously it was at a list level) and it completed without any problems. After that, I recreated a list and bound the WF to it. Now I suppose that the issue was related to some permissions on the original list. Thanx! Alexander


1

Instead of pointing at /SiteAssets/mydata.txt I pointed at /_api/web/GetFolderByServerRelativeUrl('/SiteAssets')/Files('mydata.txt')/$value and used these headers: Accept: application/octet-stream Content-Type: application/octet-stream X-RequestDigest: <obtained in an earlier request> I was then able to process the response (which I left as JSON) ...


0

I already have an if statement - Workflow 2: If Current Item: 2Item equals Yes, then email Current Item; Created By, then stop the workflow and log. Workflow 3: If Current Item: 3Item equals Yes, email me.


1

I've been stuck on the same problem as Emaborsa. It's not well documented but Status and FormData (and Completed) are important fields. Status field in particular has to be set to "Approved" even though the field's valid choices for my install shows as <Field Type="Choice" ID="{c15b34c3-ce7d-490a-b133-3f4de8801b76}" ...


0

Have you checked that within the Set Permissions module, that you are not removing the already existing permissions on that item (breaking inheritance). The list item permissions will most likely inherit from the List to begin with.


0

Did you also check the Item specific settings? You can add a workflow to a specific List content type, which as well has an option to trigger a workflow automatically. It can be found via Settings -> Content Types -> Item -> Workflow settings


0

You need to select your item that you want to update in your this list item (action). E.g.: I am updating a List Item and using Current item for that. Select this list option Select List (in my case "current item") Add Select field that you want to update Select / Add value that you want to update (which as well can be another list item or a text ...


0

First of all, I'm sorry for not being able to provide screenshots to you. For resolving your problem I'm thinking about the SP API. You can find an exemple of using the API with a workflow on this blog post, I tried it for a project and it works very well. So, here is a method, step-by-step : Get the current site URL (project level) using workflow context ...


0

Use the set approval status to ... action in your workflow. Do not forget to allow workflows to read and write items, by activating the appopriate feature in your site preferences.


0

Alan, do you have access to the content database? You should be able to get it from there. That's where the report data comes from. Look at the WorkflowUsageTelemetry view in your logging database. You'll have to join that with the view of ListIDs and WorkflowIDs, so you know what is what. Let me know if you need more help. I wasn't able to find an ...


0

This code works in updating task correctly. var ctx = SP.ClientContext.get_current(); var list = ctx.get_web().get_lists().getByTitle("Workflow Tasks"); var item = list.getItemById(2); item.set_item('Completed',true); item.set_item('PercentComplete',1); item.set_item('FormData','Completed'); item.set_item('Status','Approved'); ...


0

First your Workflow must be enable to allow "start by a major checkin". Just Edit the .wfconfig.xml file via SharePoint Designer and add the attribute: AllowStartOnMajorCheckin="true" See more details here. You're are able to do the same using SharePoint Objects using C# or PowerShell. SPWorkflowTemplate template = ...


0

So there is no need to reference numeric values only in InfoPath Designer 2013 in this example. From the managed data connection to the workflow (here named AccTestJanuray2016), the Description property: View post on imgur.com is returned as a string that corresponds directly to the Workflow status that is set in the SharePoint Designer 2013 Workflow by ...


0

We have now fixed this, it was actually quite simple: Go to IE, Internet Options, Advanced, Untick within the Security section the option called: Do not save encrypted Pages to Disk


0

The List Items endpoint does not expose the PublishingPageImage column, so you would need to make two requests. First, you call that /_api/web/lists/GetByTitle('Pages')/items(10)/ endpoint to get FieldValuesAsHtml.__deferred.uri, then you can make a request to the URI you obtained in your first call to get the Image field.


2

After researching this error, I noticed there was no simple solution. Each person solved the errors in different ways. I have mentioned every solution I found. The easiest solutions are listed first. Solution 1: The new changes to the SharePoint 2013 workflow, there was also changes made to which account is used to write logs to the Workflow History list. ...


1

Out of the box, SPD doesn't allow you to do this. As a solution, you can use 3rd party components. I would recommend you to use Workflow Actions Pack it contains Copy Document from Library workflow action which can do it. I'm one of the developers of the product, so I'm glad to recommend it.



Top 50 recent answers are included