New answers tagged

1

Workflows will not run under the system account. This account is not set to run workflows at all; at least not automatically when items are updated, created, or deleted. This will not show up as an error in the workflow history or ULS logs. You can try putting an impersonation step in the workflow before it is fired to see if you can get it to work that ...


1

Can you check if the workflow might actually be attached to a content type, rather than the list instance? You can check this directly from your affected list by going to List Settings > Workflow Settings. Then click the dropdown "Show workflow associations of this type" (which defaults to 'This List'), and see if there is anything else listed there. ...


0

Is it possible to make rest api calls in SharePoint 2010 Workflows? No. That feature was introduced with SPD 2013 workflows. So I am trying to figure out some other way to accomplish the same thing to run on a monthly basis, without me having to push the button or manually run it. Do you have access to a PC or server that is always turned when you need ...


1

I'm probably committing a fatal faux pas here, but I think I solved my own problem. Paulster, your question led me to the issue. I mentioned twice that I've confirmed that the two comparison fields had the same value. I did this by adding both to a list view. They both displayed the same person, in Display Name format. But, for whatever reason, if I ...


0

I'd prefer to try this solution with Microsoft Flow. You have there more powerful feature and you also have better debugging tools to monitor your workflow.


0

There are at least two options to achieve this. Use Information Management Policy, define retention stages. Under List Setting -> Information Management Policy Setting -> Enable Retention and Add Retention Stage. You can start a workflow based on the retention. Create Calculated Column with formula e.g. =[Contract Expiry Date] - 2, and create a workflow ...


0

It is not advisable to create a workflow that keeps looping over and over and over. Eventually it will fail and you might not know it before it's too late. The best way would be to use a scheduler to kick off the workflow every hour, but SharePoint does not come with any scheduler. You could use powershell for it though - assuming you have a server to run ...


1

For better testing, I set to create an item every minute. For your Transition to stage, have it redirect back up to the first stage. In addition, only SharePoint 2013 workflow has the Transition to stage option. You need to create SharePoint workflow 2013.


0

Check out Information Management Policies. You can create a suitable policy that will trigger an alert or an workflow when a certain condition is met. You can read about it here: https://support.office.com/en-us/article/create-and-apply-information-management-policies-eb501fe9-2ef6-4150-945a-65a6451ee9e9 The other option is simply to create a workflow ...


0

There is a way to inherit the metadata, I hired a consultant to develop this functionality for us, so I can confirm its possible. Unfortunately I cannot provide a step by step guide for your use case as our needs were different. I believe the consultant used the SharePoint Online Management Shell which is far beyond my expertise, so unfortunately I can't ...


0

Without knowing more it's hard to guess, but it could be that the workflows get suspended due to the users not having write access to the workflow history list. Commonly users with read permission on site level does not have write access to the workflow history list. This means if your workflow has any log actions it will fail once it get to that action. ...


0

Without seeing the workflow it is hard to understand what is happening. They way I would approach this is to create a HYPERLINK column and set the URL to the files path and then set the display name as the files name like you have now. Then hide your TITLE column, and move the Hyperlink column to Position 1. Note: I would edit the Hyperlink column to be a ...


1

What you're seeing is correct behavior. Get-WFFarm etc (and the SB cmdlets) will report the Workflow Manager servers. You only have 1. To test, use SharePoint Designer 2013 and create a SharePoint 2013 workflow.


0

In SharePoint Designer 2013 workflow, while using Assign a task action you can edit the email body as per your requirements. Follow below steps: Click on this user(see in below image) to open the properties of Assign a task action. Scroll down and expand the Email Options. Click on Open email editor. One pop up will open. Here you can edit the email body ...


0

If someone still face this problem, here is the solution. Just install this MS Fix and restart SPD. https://www.microsoft.com/en-us/download/details.aspx?id=41491 Good luck


0

This is related to the authorization for the workflow instance. So you can try with activating the feature called "Workflow can use app permissions" under Site Settings --> Site Features.


0

Use a Designer workflow to only set the "timestamp in progress" column if it's currently blank. That way, if it already has a value, the value won't be deleted. I'd probably use date/time fields for the timestamp columns. Make sure you don't specify a default value. You could also use text columns if you want. Workflow pseudocode: If TimestampInProgress ...


0

The code snippet above WorkflowServicesManager is used for SharePoint 2013 workflow platform. For SharePoint 2010 workflows, use the code snippet below: ClientContext ctx = new ClientContext("http://sp/sites/dev/"); List list = ctx.Web.Lists.GetByTitle("currency"); WorkflowAssociationCollection workflows = list.WorkflowAssociations; ...


0

For that you have to store current year value some where else in different list(configurable). Query this list and get current year and compare it with today's date year if it is equal Increment ID to next counter. if not, Reset ID to 0 and update year column (in configuration list) to current date's year.


1

Yes. 2013 style workflows can call SharePoint REST API web services. While the example is for a JavaScript call, this article shows how it can be done: https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-rest-reference/dn600182(v=office.15) Let me know if you need the workflow steps.


1

As per Limits and configuration in Microsoft Flow, there is a 30 day limit to the duration of any Flow. If your Flow exceeds this, it will time-out. If your Flow is expected to run for around one week only, you should be safe.


0

sometimes, SharePoint gives you more details on your error in the response Body. Does SharePoint returns HTTP 400 only ? Can you give us more details ?


1

To add Else branch > click on if statement then click on add Else branch from the above ribbon. Then you can add if condition inside else block, then add Else branch, then add if condition inside else block... Similar issue post for your reference: Else block in if-then-else statement missing in SPD2013


2

Except removing Delete permission, in general, we can consider using CSS/JavaScript code. However,currently, CSS/JavaScript is not supported for "modern" lists and libraries. So, except managing permissions, I am afraid there is not another way to hide Delete Button. Customizing "modern" lists and libraries


1

Start Updating your workflow association after setting: $association.AllowAsyncManualStart = $true $association.AllowManual = $true Using: $list.UpdateWorkflowAssociation($association) Or $list.WorkflowAssociations.Update($association) About StartWorkFlow() Method: The boolean parameter shows the property isAutoStart. This method comes with two ...


1

I see that you are using the workflow 2013 platform. You can create stages and put the IFs in different stages. To create a stage, click outside of the current stage and you will see the option on the ribbon. At the end of each stage, you can set the transition to end the workflow. You can also define IFs in the transition and set the workflow to go to the ...


0

I faced similar issue before. You should look for errors in your SharePoint database. Try to look for errors these table: [WFInstanceManagementDB].[dbo].[DebugTraces] [WFInstanceManagementDB].[dbo].[Instances] Even an unused variable can sometime break the SharePoint Designer's Workflow.


1

Is it a OOB workflow or a custom workflow ? For OOB workflow i am not sure if it is feasible. For custom workflow, there is a stop workflow action in 2010 platform workflow. You can add the action to your approval process for the condition when when a approver reject or other required situation. For 2013 platform workflow, you can add if condition in the ...


0

Did you create the workflow as a reusable workflow? From the second image you provided, the workflow(Safety Audit Checklist) is a reusable workflow, you need to create a workflow in UI based on the reusable workflow as the second image and type a name in the Name line and set related start options(for example, start it manually). Then you should could start ...


1

A couple of immediate thoughts on this. 1 -> Try this link and steps -> https://blog.devoworx.net/2016/01/31/unauthorized-http-workflow-how-to-create-a-workflow-with-elevated-permissions-by-using-the-sharepoint-2013-workflow/ 2 -> I have seen an Anomaly before where in the Workflow Settings page, there is a setting to allow the workflow to update the ...


0

Remove the Authorization from your dictionary


0

You can use Out-of box feature Alert Me (List>Ribbon panel) or you can use workflow as given by @Ganesh if you want to send email to any specific/other user.


0

You can use SharePoint Designer Workflow to send an Email on item creation in List. For this you will need SharePoint Designer installed on your computer. How to create a workflow: Open SharePoint designer. Connect to your site. Go to Workflows from ribbon. Click List Workflow on ribbon and select your list. Now go to 'Workflow Settings' Setup workflow ...


Top 50 recent answers are included