Tag Info

New answers tagged

0

Does this issue seem similar to you? The suggested solutions could be tailored to your situation. I would have quoted some of the code but the OP never marked one as an answer. Basically my suggestion to the other person was filter the workflows that had been running for more than 4 hours. Without having any real long running workflows that should have ...


0

You can lookup the list using the GUID of the new item created.


0

You can use email event receivers for this. Check a similar question here : How to enable an Event Handler to intercept upload from email in document library


0

Although it's not a real answer, I am not able to comment, so here it goes: I have the exact same problem with lists created declaratively with Visual Studio: I cannot use lookup fields inside SharePoint Designer workflow. I created another list in the same site from UI, added an existing lookup site column and when creating a workflow on this new list, the ...


1

Using out of the box workflow actions you can't do it because of security limitations. As solution I would like to suggest to have a look at a Plumsail Workflow Actions Pack. It is extended set of workflow actions for SharePoint Designer which also contains a set of workflow actions for permission management. I'm one of developers of the product and I'm ...


0

You need to change the column format on the list settings to specify the decimal places you'd like.


2

You can use "Enforce Unique Values" in the field. Go to the List -> List Settings -> click on the Field you want to change, and select Enforce Unique Values - Yes.


0

Meanwhile I found out the answer myself. My mistake was, that I tried to add the SAME SPWorkflowAssociation to every list. I found out that this generated an error in the database, because the code would add the same primary key each time - what isn't allowed obviously. So I adjusted it that everytime I add the workflow to a list, I create a new ...


0

I had a similar problem, tried all the fixes in several blogs, even tuned the servers, but still sometimes 'failed on start' My sp workflow was quite large, probably a few hundred lines, I noticed it failing at certain places, which were usually deep within the wf code within several else if statements. I removed the majority of else if and else statements ...


0

Recently I had a similar task too, but found ready-to-use Workflows Activities Extensions that contains this action (allows you to copy and move element) and its free. So you can use it without building your own. You can download it from here: http://www.virtosoftware.com/sharepoint/workflow-activities-extensions-for-microsoft-sharepoint-designer#features ...


5

The simple process of setting item level permission is not available for SharePoint 2013 workflows. The only way I was able to do was through REST api called under Appstep. There are 2 calls made: BreakRoleInheritance AddRoleAssignment This blog by Yuri Leontyev​ ​ over at spssite.pro can be a good start. Excerpt: BreakRoleInheritance​ ...


0

The Powershell Cmdlet you are running is wrong. The parameter should be -SPSite . Please remove the _ from the cmdlet


0

I don't think this is actually the answer. In SharePoint 2013 I create an item that starts a workflow that immediately pauses for 5 minutes, then sends an email. If I delete the item before the 5 minute pause completes, the workflow still wakes up and sends a blank email. Bizarre...


2

No, the best you could do I believe is to create your own workflow action that would introduce your own business logic that you could then call in your workflow. http://social.technet.microsoft.com/wiki/contents/articles/13604.sharepoint-2010-create-a-workflow-activity-using-visual-studio-2010.aspx


0

I had this exact issue and never found an answer, but in continuing to just "try stuff out," I stumbled across a solution. Go to "Edit View" and scroll down to the "Folders" link (or if you're creating the view for the first time, be sure to scroll down after setting your parameters) Click the plus sign next to Folders Click the radio button next to ...


0

Workflow Manager Client 1.0 was the problem. During the SharePoint Designer installation, "Workflow Manager Client 1.0" is install too. If you running SharePoint Designer on your personal computer and not on the server, uninstall it, this will fix the problem.


1

It depends a bit on what your actual requirements are. 2010 workflows do have the capability of extracting substrings, but you have to know the indexes ahead of time. There is no functionality similar to indexOf where you can find the index of a certain character. So in your example, if you know that you will always be taking only the first four ...


1

If you cannot use Visual Studio for it, so I would recommend you to take a look on ready solutions, that have already actions you need for SharePoint Designer. You can try Workflows Pack from Virto. And looks like they have that action you need and it's free. Check the actions list it on their website - ...


0

Add two fields in the list: Status (text) and Assigned to(user). Initially, they will be empty. In the workflow, check if they are empty. If yes, fill the status and assigned to columns and send a link to Edit / Display form of that item. In display / edit forms, make a check for both of these fields. If both satisfy the condition, hide the other fields and ...


0

Maybe creating AD group and than instead of a username you put AD group name. That is how we did this for alerts and some other notifications. and answer to your question is yes, you can send an email to group. here is a topic about it: Definitive answer to sending emails to SP Group from Workflow


0

Solution described by variable, as well as "set field in current item" works fine in a Sharepoint 2010 workflow.


0

It looks like this is a known issue with various versions of SharePoint when you try to filter by a workflow status. Instead of filtering by the string Complete or In Progress, etc. in the Filter section of the view, you'll need to use the integer value for the workflow string in the Filter section. Here are workflow status integer values: NotStarted = 0 ...


1

Since this popped up again being refreshed by Community account, I want to summarize the general idea of what you need to do: Workflow Side Use DynamicValue to represent a JSON object to be passed into a REST-service. Also, DynamicValue to receive return values from a REST-service. Use 'BuildDynamicValue' action to add properties to the DynamicValue ...


1

Found the solution.. Thanks to Thiru Srinivasan's blog. Here's what I did.. I developed a custom web part. See the UI and code below. Webpart UI Webpart CS Code protected void CheckIfWorkflowExistsButton_Click(object sender, EventArgs e) { Guid siteId = SPContext.Current.Site.ID; Guid webId = SPContext.Current.Web.ID; ...


0

I had similar situation, to send reminder to the assigned users. In button click you can use below code, which will send single mail to single user who are assigned to more than one task. What happening here actually i am saving the user information who is already informed, so that it should not receive more than one mail on single button click. ...


3

I just tested this on SharePoint 2010 and for OOTB permission levels, it looks like you would need the Design permission level at a minimum to access the Workflow Settings in a list/library. You can also have the Manage Hierarchy permission level, but this would give you a lot more access than to just the Workflow Settings.


0

Okey so I did a workaround. First i put the ID from the list into the document column on item created. Then I used a workflow to trigger on change in the document library, which checked two columns: fromApp and isSet. If both are true, it sets its own ID to the correct item in the first list, and changes isSet to true. Then, through code in the app, I set a ...


0

To add oob 2010 workflow to sharepoint List by CSOM . Get the List of SharePoint 2010 Workflow Templates by using the below method webObj.WorkflowTemplates I needed the Approval workflow. So i get it by its name after finding out in previous method. $wfApprovalWFTemplate = webObj.WorkflowTemplates.GetByName("Approval - SharePoint 2010") Note: When ...


0

I was able to create dynamic email message without replace string inside designer workflow 2013.


0

Adding comment as answer Using impersonation step, there is a way to break inheritance and remove all the permissions. Check: Using item level permissions. Specifically, replace permissions action will do the job.


0

I checked in the code and stripped down the workflow to just have a simple sequence with a log to history and tried deploying that, still had the same error.Which made me suspect that the problem must have been with the server or Visual studio itself. I did a server restart and viola!, it worked just fine.


0

If you have to customize the permissions on item level, while on added and updated events you have to remove all permissions (except for author), then grant permission for each user as you want to assign. Suppose, i am taking example of Assigned Users, Everyone and Author itself. Just go through the code here, you will get idea. private static void ...


0

Although uberz91's solution should work fine, I came up with something different, because the use of SPD is restricted in many companys. My solution is a bit fiddly and may not work for everyone, but there is no coding or SPD required. :) I created several content types and added a custom approval workflow to every content type. For every available value in ...


0

Yes, you certainly can link them, it's a really powerful way to manage content approval. If content approval is enabled on your library, then when you associate the approval workflow to the library you will have an option to "Start this workflow to approve publishing a major version of an item". Select this. Then when you are configuring the workflow ...


0

As I figured out, the solution is very easy: In the workflow settings check the box Update the approval status under Post-completion Workflow Activities. The box is disabled, if the workflow is started when an item is changed under Start Options, which was the case for my list. However, I do not know why there is no possibility to go back to a pending ...


0

In SharePoint Designer there is a Replace String action; This is from my SPD 2013


0

I just came across this while looking for a solution to another problem. It's probably a bit late, however someone else might end up here. I had a similar problem, perhaps not quite the same, in SP2010. My solution was to run a main procedural workflow with a lot of key stages and "wait / pause until" conditions, and then trigger different workflows. The ...


0

I've pushed my clients away from InfoPath, and use SharePoint Designer Forms. You can do custom development, leverage Bootstrap, AngularJS, Breeze, jQuery and any other tools that help you bridge the gap between idea and solution. If you are doing more queries with REST/CSOM it will be supported in the next versions and in SP Online. This also gives a very ...


0

I specifically asked about this at Ignite this year as there was nothing that talked about the future in this space. Kashman dodged the question stating the group was going to make an announcement when ready. The stance I've seen most is to still use InfoPath. We are using it in our ventures into SPO. There are other alternatives like the model binding ...


0

HTTP Web Service allows you to access anything in the SharePoint site using APIs. The main functionality of what you want to do may differ, but essentially you will get some details from the Workflow column in one list and create a condition which will start the new workflow. An example would be: You would be able to use the request to create conditions ...


0

I would suggest to use power shell with CSOM for SharePoint online which is the best and efficient way to handle these kind of automation's. overall solution will be: writing a windows powershell script leveraging CSOM for accessing sharepoint resources and then connect to FTP/SFTP to trasfer the documents. powershell based CSOM references FTP usage in ...


0

Item Added is an Asynchronous event receiver, so your workflow can run before the event receiver or after as well. This Question is same as yours posted here. It Says : Answer By : Chris O Brien If a list has workflows defined which are set to auto-start, these will always execute before any other 'ItemUpdated' or 'ItemCreated' event receivers ...


0

I'm using Powershell and CSOM to do this so there has to be a way to do it in REST I would think. Function Set-GroupOwner{ Param( [Parameter(Mandatory=$true,HelpMessage="The URL of the site collection",Position=0)][ValidateNotNull()] [string]$SiteUrl, [Parameter(Mandatory=$true,HelpMessage="The group that needs ...


0

You use Today as date type and make comparison. It works.


1

Basically you need to set EnableModeration = true. var ctx = new SP.ClientContext(siteUrl); var web = ctx.get_web(); var list = web.get_lists().getByTitle('Your list'); list.set_enableModeration(true); list.set_enableMinorVersions(true); list.set_defaultContentApprovalWorkflowId("guid"); list.update()


0

Can you please make sure about the following steps: User have sufficient rights on the task list, I suggest using impersonation step As it happened all of a sudden, can you verify if 2010 workflow features are activated, it's possible that site admin have deactivated them by mistake. If none of this works can you create a new site in a different site ...


0

I don't know about creating a new list and copying all the data but a similar functionality exists OOTB. You can create a linked data source which would gather data from all the 6 lists and display that in a data view web part. This way, any update in the other lists will also reflect in the data view web part. See: ...


0

There is a site feature called Workflows can use app permissions that can be enabled allowing the workflows to be trusted.


0

Using a calculated column was the answer. Based on this article http://www.concurrency.com/blog/sharepoint-hyperlink-edit-column/ I added this formula and selected number for the data type and it worked! ...


3

Check out http://www.viewmaster365.com/#/How and http://www.viewmaster365.com/#/Create/ActionDelete It step by step explains how to execute JavaScript from a Calculated Column. The ID for an item is available on the Table Row, because a Calculated Formula is displayed inside that TR structure; all you have to do is: var ...



Top 50 recent answers are included