New answers tagged

0

If you have done it in Manage Site Features,then you need to try it from Site Collection Feature by Activating/Deactivating Workflow Feature. Let me know whether it solves your problem. Thanks


1

You can create an additional column in your library - say a yes/no column "IsWorkflowExecuted". Initially set to "No". Once your workflow is executed set that flag to "Yes". Your workflow first step should Check IsWorkflowExecuted flag Is No -Do your logic - Set to "Yes"


0

The task outcome is returned by default, variable "Outcome ". To find out who approved the document is a bit of a sticky solution. You can have the user save the document and then perform the approval/ rejection. Then, perform a lookup on the said document for last modified by and that will represent the person who approved/rejected.


0

You should be able to get save the comments field into a variable like this (screen shot from a task process WF though)


1

There are many ways to achieve this: Build an html page and add your css (inline or external even) then place a content editor web part where you like the photo to appear, and reference the html page you built. Create a custom display template and your query can be customized to pull this photo and our add you can build the UI to your requirements. Place ...


0

Now issues is when I call Loadscripts function from ECS_ProviderSubmit.js, it just execute this.LoadScripts function and returns. Right, because you are doing a lot of async stuff and not waiting for it to be done before moving on to closing the modal. It looks like you are already using promises in the updateItemRequest function, so I would just ...


1

You can upload your image to sharepoint library (Site Assets ideally if it won't be changing too often) then add CEWP (Content Editor Web Part) to your page and inside CEWP add <img src="/sites/yourSite/yourLibrary/yourImage.jpg" /> Then you can also use css to design it, for example iof you need a border: <img ...


0

After reading your question, i searched on net and get that there are several reason which can trigger this error message. Here is a blog about SharePoint 2013 workflow troubleshooting. The article is giving a walk-through as following: First checking the workflow manager server. And if the workflow manager server is ok. Then need to check SharePoint ...


-1

try PowerShell pnp, it should be helpful. https://github.com/OfficeDev/PnP-PowerShell/blob/master/Documentation/RemoveSPOEventReceiver.md


0

What you want to do can easily be done by using retention (Library/list settings>information management> enable retention). Please note that in SP2013 retention only works with 2010 workflows. You want to add a retention stage that starts after date field created +7 days with the action set to run your workflow. The result is that after 7 days your ...


1

Default Functionality of export to excel for list is Awesome, but according to me the same cannot be call through any API. So I would suggest rather than Workflow, go with SharePoint Timer Job feature. This link would help you do the same and achieve your functionality http://bhatiaashish.blogspot.in/2012/09/export-to-excel-and-email-sharepoint.html ...


0

From the first picture, SharePoint2013 workflow is not available yet. It happens if you don't have workflow manager integrated in your SharePoint server. If you have administrator access you can install and configure Workflow Manager 1.0. Here is a details walk-through on it. Or you can contact with your server administrator to provide the service. From ...


0

Follow the below steps: Click on Add an app in SharePoint site Type Nintex workflow in find an app search box Click on 2 results in the SharePoint Store You can see Nintex Workflow for Office 365 in store. Open it. Click on Add it button Install it


1

Possible duplicate of Create an item with REST API from workflow - Sharepoint 2013. Please go through this thread once.Let me know whether it helped or not.


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.


1

Is it a list workflow? If it is, you should be able to just use the current item and choose to return the value from the person field as email,display name or login.


0

Unless, it's resolved already, here's a simpler way, especially for those who are not farm admins Site Settings > WorkFlow Settings > WorkFlow Health > Enable Workflow Store Service Ref: http://sadomovalex.blogspot.in/2015/06/enable-sharepoint-2013-workflows-in.html


0

Just an idea... Remove delete permissions for all end users. Add a checkbox for Delete Item. Update your workflow to do all your tasks and then in an impersonation step delete the item if Delete Item = true.


0

I had similar troubles and I got an error while running the Workflow Manager Configuration Winzard after step "Add host to Wokflow Manager Farm." and "Configuration Operation successful." For Fixing, I installed Service Bus Cumulated Updates 1 and then Setting up the farm again by using WMCWizar and it worked fine!


1

We were facing the same issue, we solved this by changing the following parameters (Power Shell). In our case, it was caused by very large workflows processing in parallel. ServiceBusTopicSizeQuotaInBytes: Set-WFServiceConfiguration -ServiceUri "https://workflow-service-url:12290" -Name ServiceBusTopicSizeQuotaInBytes -Value 18737418240 ...


0

In our case, we have SPD workflow which triggers on item update. The workflow perform below actions; Delete the item from second list with same title Then copy the item from first list to second list. This way we keep the latest copy of item of first list to the second list


0

With regards to automating emails with regards to replies I have used multiple status indicators to help prevent multiple notifications. For instance, have a status1 and a status2. status1 is your master status, status2 is specific to a reply. status1 defaults to "submitted". status2 defaults to "pending". You can then create a workflow where you check ...


1

I had the same problem and I've found a solution. It's a tricky one, but it works. You can do that with Designer in your workflow. What you have to do is: Test if a field of your element of list A is different than the same field of the element of list B (e.g Title field - maybe it doesn't exist yet, that's why it's tricky), Do your stuff if it's true, if ...


1

Short answer No. SPD does not allow attachments OOB. MS wants people to send everything as links. Long answer Yes. You can create your own actions (coding required) or get a third party code which you can find online to create the appropriate action to allow emails to send attachments. (This is answer is based on on premise 2013 I assume that online ...


0

Under manage site features activate "Workflows can use app permissions" feature and you it should solve your problem.


0

You need to add SharePoint designer workflow on the list. I am going with the per-requisite that SharePoint workflow manager is installed and configured. Open SPD --> Workflows --> Add list workflow --> Select the list --> Provide workflow name, description. Add new action --> Send an Email --> Modify the action --> For "To" field --> Workflow lookup for a ...


0

Any running Instance of the Workflow will be lost. i think it is not best practice to deactivate it in Production farm. If you have lower environment then try to reproduce the issue over there. also have a look into this post SharePoint 2010: 3 of 6 Workflows "Failed on Start". SharePoint Designer Workflow Works Fine? ...


0

You can avoid this behaviour (the two events that fire on upload) by setting the Require documents to be checked out before they can be edited to Yes in the Versioning settings of your library. This way the edit metadata form won't trigger the ItemUpdated event because the file hasn't been checked in after initial upload. Just be sure to update your ...


0

Re-usable workflows will, in most cases lack the stuff you have access to while working on a list workflow (e.g. custom columns, specific content types made for list/lib etc.). If you have an array of sharepoint lists or libraries which are made using one particular template you cannot use one workflow with them - even if it was carried over correctly with a ...


0

I think your workflow is not getting triggered because when workflow start the column is automatically created, the reason may be you are performing the list operation by system account try running workflow from another account. If you are logged in with system account then please have a look to this Deploying Workflows as 'System Account'? Just Say 'NO!' ...


1

Item can be created by calling REST service API from SharePoint workflow.SharePoint workflow provide various actions like call,Build etc. Build action is used to call your REST service API. Call action calls the REST service and execute the action that you have given into REST API. Please look at this Rest call using SharePoint workflow for reference ...


2

If both lists are same, you can use SharePoint designer workflow to copy list item from one list to other. Below link may help you to get started: http://blogs.salmanghani.info/copy-item-workflow-using-sharepoint-designer-2010/


0

Sometimes getting away and coming back wth fresh eyes is a good thing. I have made it work using the copyto function. /_api/web/getfilebyserverrelativeurl('folder/filename.txt')/copyto(strnewurl='sites/sitesname/libraryname/filename.txt',boverwrite=false) I still have an issue to fix though, the file get corrupted and cannot open (Happens on xlsx and docx ...


0

Solved it. Problem was that SP.workflowservices.js needs to be loaded on demand with SP.SOD.registerSod and not by adding it with JSLink to the page. So code in my question description would be wrapped in: SP.SOD.registerSod('sp.workflowservices.js', _spPageContextInfo.layoutsUrl + '/sp.workflowservices.js'); ...


0

The reason why this error is thrown is that when your SharePoint 2013 Workflow tries to start the related SharePoint 2010 workflow, SharePoint checks permission level for both the current list as well as the Site level permissions. So you need to elevate permission at the site level for the people who are going to be initiating the workflows. Go to site ...


1

Just finished v2.1 of a CSR support library last week. http://iCSR.github.io It now has a whole slidedeck with Why,What, How With the icsr.js library loaded (no jQuery or any dependencies) all you need to write in a CSR file is: iCSR.Me({ file:'~sitecollection/style library/csr_remindercolor.js', Fields: { ReminderDate:{// internal fieldname! ...


5

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


2

I struggled with the SP.WorkflowServices.WorkflowServicesManager as well, trying to do the same thing (start a workflow from a button on the Display form). I don't remember exactly what my problems were, but I ended up resorting to using the REST API and jQuery AJAX: function getWfSubscriptions() { var listID = _spPageContextInfo.pageListId; var ...


0

I had the same issue with one of my client. Try to change the machine and SP Designer. This normally happens when the workflow store revision number and the host which actually respond to the workflow has a mismatch of the revision number. Make sure your Workflow farm architecture exists on ODD number of servers i.e 1 or 3. This is officially from ...


0

you should go to SharePoint Designer and chose Publish Globally and it will be shown there.


0

This can be achieved using the following steps as described here. Create a workflow variable called "delay_timer": Number Use Calculate action to get required delay/pause time and save in workflow variable "delay_timer" (eg: 1 divided by 20 = 3 seconds) Pause workflow for "delay_timer" duration. Also refer this relevant thread.


0

Go to Site Settings - > Manage site features ->Activate "Workflows can use app permissions" and all the call to REST endpoint within the app step". Refer the following url's for the actual steps: https://msdn.microsoft.com/en-us/library/office/jj822159.aspx http://summit7systems.com/app-step-or-impersonation-step-in-sharepoint-designer-2013/


1

I have seen many issues with long running workflows with pause until... My recommendation, if it works for your scenario would be to use a the "Information Management Policy" to trigger a workflow on the Due Date -3. The workflow would consist of only sending the email to the assigned person(s). The IMP uses a timer job that "watches" for a date to fall ...


0

You don't need to use a calculated column, just a standard workflow using the Add Time to Date actions. I've been told that in 2013, if the Due Date is changed, the workflow will detect the change, so just run the workflow on create.


0

Hi I have some problem with workflow built in SharePoint Designer 2013 - platform SharePoint Online. Despite of activating feature, setting elevated permissions for workflow at http://{hostname}/{the Site Collection}/_layouts/15/appinv.aspx and putting actions under app step, still I get failure for users with lower permissions. Can anyone help me?


0

You do need an information management policy (which is neither as difficult as it sounds, nor as time consuming as a timer job). First off, you could take a look at this article on information management policy: https://www.dynamics101.com/sharepoint-information-management-policy/ You need to do the following: Create a policy for your list There should ...


1

You can achieve this easily by using timer job. Create a timer job which will run on daily basis, write condition to check List A items age like, today - created date if it's more than 50 take that SPListItemCollection and do foreach on it to move to List B. Delete collection post successful movement to List B.


0

Check for the information management policy in the list settings. You should be able to execute a workflow based on age. You may have to tweak settings in central admin, I think the timer job for that runs once per week by default, but I could be wrong.


1

I believe that only the Manage Lists permission is required (at the library level)



Top 50 recent answers are included