Tag: Workflow
Get notified whenever a SharePoint workflow fails
Requirement Get SharePoint to notify you whenever a workflow fails to start. Solution Configure a SPD notification workflow for the Workflow History list so that it sends you an e-mail every time a workflow fails to start. This is relatively simple to do and all you need is full control permissions to the site. Your […]
Continue Reading...Re-assign a workflow task that is not assigned to you
Requirement Allow certain users to re-assign workflow tasks in SharePoint. Challenge SharePoint by default only allows the assignee to re-assign the task. If you try to re-assign a task that is not assigned to you, you get the following message: Task update was not accepted. To edit a task associated with a workflow task process, […]
Continue Reading...Start a workflow using PowerShell
Requirement Start a workflow on all / specific items in a list. Change the site and workflow names to suit your requirements. I included a condition in this script to only start the workflow on items where ‘Status’ is not equal to Complete. You can remove this condition if you wish to run the script […]
Continue Reading...Open Workflow Initiation form after InfoPath form submit
Requirement After users complete an InfoPath web browser form, we want the user to be redirected to the approval workflow initiation form after the InfoPath form closes. We could not use the option to start the workflow on item creation as we needed to user to select an approver or multiple approvers. Solution We managed […]
Continue Reading...Cancel previous version workflows in a list and restart new ones using Powershell
Problem You have multiple running workflows in a list either in ‘pause’ or ‘wait for item change’. You make a modification to the workflow and publish again. All existing running workflows become ‘workflow name (previous version: date – time). The next time someone updates the list item, you end up with 2 running workflows. This […]
Continue Reading...