Tag Info

Hot answers tagged

2

Update-SPSolution is what you need, assuming you did not add any new features to the workflow. If you did, you need to use Install-SPSolution Check out this link referencing upgrading workflows: https://msdn.microsoft.com/en-us/library/aa543659.aspx In both, the DLLs and the files will be updated in the GAC the same way, but if the solution has changed the ...


2

In Sharepoint 2013 one thing called App Step and that it is a mechanism provided to developers of SharePoint 2013-platform workflows (Designer workflows or Visual Studio workflows) to elevate permission of the workflow. you have to do following steps. Allow workflow to use app permissions. Grant full control permission to workflow. Develop the workflow to ...


2

Sharepoint workflows have always run under the context of the user who initiated the workflow process. There were ways to run as the system account in 2007 but that was removed. In 2010 there are impersonation steps that allow actins to run under the context of the person who publishes the workflow. I believe the impersonation steps exist in 2013 as well.


2

With limited details in question, I am assuming few things. First all events will be created well in advance at least more than a week before, second you will be using OOB Start Time field. So to create a workflow which sends an email before 7 days of an event we need to take following steps. 1. Based on the Start Time calculate the Date which is 7 days ...


2

We can store the field values into a workflow variable. For that first we need to create a variable and then assign values into it. 1. Create a workflow variable: From the ribbon you can select local variables and create as shown in below image. 2. Assign values to variable: From actions menu we need to select an OOB action Set Workflow Variable which ...


2

There is an action in SPD Workflow available in both 2010 and 2013 version Set Workflow Variable This will store a field value in variable. The variable value would be updated if the field value updates. With this action you can even build strings. Stop Workflow action is no more available in SPD 2013 workflow. This action is deprecated in 2013.


2

You will need to create another field in the list by the name of Previous Owner. Don't display it in the view. Set it to the same value to Owner when the item is created by a separate workflow that is run when a new item is created. Then create another workflow that only runs when the item is updated and compare the values of the Previous Owner and Owner. ...


2

No direct way because SharePoint Designer workflow don't give us Previous values like Event Receivers does. If you don't want to follow Event Receiver path, then try below workaround You need to have a hidden field in the list (Say Previous Owner). Add logic in you New/Edit form to populate Previous Owner field with what value in Issue Owner field. (This ...


2

Did you try to send your request to e.g. http://requestb.in/ to see if it looks the way it should?


2

SP Online workflows don't support code, so no, not directly. Though, you could create a web service and call it from workflow via the Call HTTP Service action.


2

If you have a SharePoint task list where the task is assigned to a SharePoint group, you may notice that the My Task list does not show tasks even if you are a member of the group of which the task is assigned. Fortunately, there is a simple fix. It does require SharePoint Designer though. Open SharePoint Designer and then open the My Tasks view of the ...


2

When you're exporting and importing workflows you can only do this in the same site. If you need to copy (import) a workflow to another site the steps are a little different. First, you create a blank workflow in the destination site using SharePoint Designer. Go back to the source workflow and copy its content. Paste the content into the destination site ...


1

The effect of a lot of paused workflows are almost non-existing. So you shouldn't worry about that. But you should ALWAYS code your workflows such that they can be restarted on the same item and behave correctly (otherwise you won't be able to change them). With that in mind I'd suggest that in your scenario you just end your workflow unless you have a ...


1

Event Viewer, but: By default the Analytic and debug log for workflow manager is disabled. You can enable the event viewer and see what’s going on under the hood. You can find out details on how to enable the event viewer in Analyzing Workflow Management Logs in Workflow Manager 1.0 Also more information about Debugging SharePoint Server 2013 ...


1

In your workflow, you would us an if/else branch to build a dynamic string (using the set workflow variable action) based on some condition. The key is to output the strings to the same variable. Then in your email body, you insert this variable into the body. Then when an item is submitted, based on the list metadata, it selects the appropriate string and ...


1

To remove older running workflows Open the context menu of the item and click on Workflows On the Workflows screen older stalled workflows will be listed under "Running Workflows". Click the workflow that you want to remove. You will be able to cancel the stalled workflow the next screen. To remove older version definitions Click on the workflow ...


1

Use SharePoint Designer to create a Workflow which reads the values, does the calculation and writes the result. If you don't know Designer start with the basics, see what actions Designer can do, play with it for a day. Then create your own workflow.


1

The basic thing to remember is that declarative workflows (the one’s created by SharePoint Designer) always run impersonating the user who started the workflow Declarative Workflows and User Context in SharePoint designer 2010 microsoft has introducted a concept called impersonation steps where a sections of the workflow can be run under the identity of ...


1

Updating the work flow's wsp is little shady. You can use the Update-spsolution to upgrade it but what about the running instance of the Workflow? and it also depend what you change in the wsp. Check this for more information. Upgrade custom workflow in SharePoint


1

The restored workflow can be started by any user having the Edit Items permission on the list where the workflow is. To edit the workflow, users with Manage Lists permission can change the workflow. It doesn’t matter who created the workflow, it will still be in place and functioning even if your user doesn’t exist in the production environment. To add a ...


1

Put a dynamic value variable in the response content box and put this in the RequestHeader box: Then after the HttpSend activity add a GetDynamicValue activity in which you extract the values you need:


1

Agreed with @ps. You can create a SharePoint Designer workflow that uses "Pause for duration" action, setting its value as 7 days. When we add an item in a list/library, the date columns "Created" and "Modified" are always same unless you update the item. After an item update "Modified" date column is updated. Your workflow will trigger on item creation and ...


1

If you are using SharePoint designer, you can use "Pause for duration" or "Pause until date" action in your workflow. Using this action workflow will wait till that duration and then it will trigger. Set workflow to run when item added and item updated. For example you can refer this link.


1

I dont think their is any such limitation on the workflow timing. Workflow history deleted after 60 days(be default),after a workflow is completed or cancelled. In other words, Workflow Auto Cleanup only delete the history items for the completed /cancelled workflows. Workflow history items themselves are not deleted, but the entry point to view them ...


1

You can use below script for removing all Workflows Associated to a Particular List $SPSite = Get-SPSite "http://siteurl" $Web = $SPSite.OpenWeb(); $SPList =$Web.Lists["ListTitle"]; $workflowAssociations = $SPList.WorkflowAssociations; if($workflowAssociations -ne $null) { foreach($wf in $workflowAssociations) { ...


1

First of all, you should use the ItemAdded event, instead of the ItemAdding, as in the latter you don't have access yet to the SPFile object. That said, here is how to get hold of the file that was added to the library: public override void ItemAdded(SPItemEventProperties properties) { var file = properties.ListItem.File; // open the file either as a ...


1

From what I can tell, using one multiple people picker to assign multiple permissions via an Impersonation step is not possible on SharePoint with out of the box options. The workaround I found was to create 10 different people picker fields and set the "Account ID" data to a separate Library column that is the data type "person/group." From there, you can ...


1

This is because SharePoint 2013 Workflows are hosted on Workflow Manager. So you need to add a new workflow subscription to Workflow Manager. I found the following articular useful to workout how to do this. Although this uses the CSOM rather than PowerShell. Working with the SharePoint 2013 Workflow Services Client Side Object Model Here is a ...


1

I needed to configure service Application Associations "WorkFlow Service Application Proxy" Go to Appliaction Management - Manage web appliactions Select Web Appliaction Service Connections Check "WorkFlow Service Application" In this site have another solution that I really worked. ...



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