Tag Info

New answers tagged

0

I would consider using jQuery to find your date and times for your emails. This is going to eventually cause a large timer job service load. From what I can tell your workflow is running for 90+ days. Just because it is paused, does not mean it is not running on the services in the background. I have some code which gave here on another WF question that ...


0

PLs check whether the account is a domain admin and check they system is joined in domain properly. If not try to re join in the domain again and then try to configure workflow. It will work fine.


0

My support group provided me with the answer to the alerts issue. If you navigate to the folder that contains the sub-folder, click on the sub-folder’s ellipsis, click the ellipsis in the pop-up, and select View Properties… …you will get to the properties of the folder. From here you can select Alert Me. You can tell you are in the right place because ...


0

I had similar issue, where the email recipients list was being pulled from another list. Then as per answer given above - I saw that the user initiating the workflow was not having access to other list. This solved the issue by giving permission.


1

So, after quite some time, MS Support answered that the issue is the following: The site I want to build a workflow in was originally created in BPOS-S and later migrated to SharePoint Online. The SharePoint App model uses the OAuth standard to authorize apps to communicate with SharePoint. OAuth requires that relying parties identify themselves with a ...


0

Yes, after a long hit and trial. Its working now. Create Workflow task list using Event Receiver only as this way the required content types will get automatically added. public override void FeatureActivated(SPFeatureReceiverProperties properties) { using (SPSite site = properties.Feature.Parent as SPSite) { using (SPWeb web = site.OpenWeb() as ...


0

Building on Ashish Patel's answer, if you were to just do those changes alone, then exported the workflow, it would not work. To get this to work Save workflow as template then download file from site assets Change file extension *.wsp -> *.cab. Extract using iZarc inside the Instances folder, change any reference to the old file name in Elements.xml and ...


1

Are you looking for Workflow Context:Current User? On the collect data from user, click this user and select Workflow Lookup for a user and then set Workflow Context and Current User, unless this is triggered off an item create/change then you could use the Current Item Created By or Modified By from that window instead.


0

Well in the end, after trying every possible solution, I had to resort to rebooting the SharePoint server. Sure enough, this fixed the problem! This was a development server. But if it was a live server rebooting wouldn't have been an immediate option. Although I managed to resolve the problem, the underlying cause of the problem is still not understood - ...


0

You can use the following formula and set the result to a variable. Or use this in a calculated field =CONCATENATE("STRINGTOPREFIX",REPT("0",MAX(0,3-LEN(ID))),ID) Replace ID with the value you read from the list.


0

The following may not be best practice, and I appreciate that it doesn't completely solve my issue, but I wanted to write down what I did anyway, in case it helps someone else. So, I am using: C# code and the ItemCheckingOut event to check for active workflows on the relevant item. It looks for the word "approval" in the name (as all my approval workflows ...


0

System administrator run Disable-SPFeature -Identity WorkflowServiceStore -Url http://superawesome.info -Force Then you have to reenable the feature again. And a IIS reset That worked :)


0

ListItemID cannot convert into a date, change the first line output to SMT run date variable, then you can delete the last line in the screenshot. So the code should look like this: Collect Get run date from Master Scheduler from Steve Scott (Output to Variable: collect2) then Log received date from master scheduler... to the workflow history list Set ...


1

If the task is created using a designer workflow you can setup a due date for it and send recurring email reminders. Please check if this helps you: [url]Recurring designer workflow email notifications


1

If this is a SharePoint 2013 workflow you may be able to build a timer on the workflow by utilizing the loop functionality. This is described in another stackexchange post at Trigger workflow daily. Then you could just do your check weekly and if the task still shows as incomplete fire off the reminder email. You could improve upon it even further by saying ...


1

You should keep the data in a single list and create separate views for different teams. List views can be created by opening the List Settings and create view.


1

You can incorporate that same logic inside a workflow, but it will not be in that format. The way it will look in a SharePoint Designer workflow will use the "Find interval between two Dates" action: Find days between CurrentItem:Created and Today (Output to Variable:DifferenceVariableinDays)


0

If you want to choose the multiple value you will run into a SharePoint limitation. Basically SharePoint Designer isn't smart enough to figure out that you have multiple values and will only give you the first one (hopefully this will get fixed sometime in the future). A workaround might be to make 2 fields and call them primary and secondary. Then it is ...


0

There are a lot of things you want to happen in this Workflow. are you using timers? If not try waiting. Reason is that some of your actions might get lost as you do not have control over what happens first. By waiting for every field and logging you can be sure where you encounter the "problem" and then troubleshoot around it.


0

How about the workflow setting a hidden status field to 'in progress' and an event handler not allowing any changes when the status field has this value? When the workflow is done, it resets the status field to the initial value (whatever you choose it to be).


0

Sounds like you need to create a list to buffer the outgoing emails. When I update item #1, add this to the list and do nothing for a length of time (maybe 30 minutes). At the end of that time, look back through the list, compile all the edits into appropriate emails, then send.


0

Use the impersonating step in the workflow, so you don't need to worry about the permissions. It will skip the permissions but still having your users as the level restricted you want them.


0

Taking a new initiation form we get the workflow to work. So what's the difference? The old form had within its PlaceHolderMain section an WebPartPages:WebPartZone tag. Probably it was copied from another aspx and this led to the sorry error message. So take care what you are doing within an aspx on one hand but on the other hand Microsoft could deliver ...


0

I think I found the solution: I have been just created a calculated column where I have copied the HTML column content. If I will need the text value in a more flexible column (calculated columns are not really so!), I can use a WF to copy it.


0

It cannot be done in workflow alone AFAIK since WF 2013 doesn't allow you to have custom code in it. Actually, this is not entirely true because you can create custom activities, but this is not preferred way. You should create web service which implements the conversion (http://stackoverflow.com/questions/286813/how-do-you-convert-html-to-plain-text) and ...


1

The "contribute" access rights consists of "add", "modify" and "delete" access rights. You may try to create a customized access right to allow only "modify", i.e. without "add", nor "delete" access rights. User who is assigned to this customized access rights would be only able to update the existing entries in the list, so as to trigger a workflow, but ...


0

From the information provided in your post I see that you developed your solution on a version of SharePoint which is newer than the version of SharePoint used on production environment. IMO, this is a bad practice if you don't plan to upgrade the production environment, because who knows what has changed between two builds of SharePoint. If I was you, I ...


-1

works when the field is set to ID instead


0

You should allow multiple values on lookup column: EDIT: This will allow you to enter multiple lookup values in the column:


0

Since, you changed the configuration of the workflow(list of approvers) at the time when some(at least one, which you are talking about) of the workflows were in progress. SharePoint auto-cancelled these workflows to prevent any data inconsistency due to change in the configuration. If you have the option enabled and have the permissions, you can manually ...


1

For some reason, SharePoint Designer WF do not like sending emails to user and permission groups. One way to get around this is to create your email groups for your workflows in a separate list, then create a workflow variable to set the user names into the variable as a string. Then use the string as a collection of your user group names and set them as ...


0

Turns out the Task library that we were keeping the tasks was a system provisioned library. Creating another task library and updating the workflow to stores the tasks there made things appear just fine. Couldn't find a setting in the system provisioned library that would prevent it from being searched. Even went as far as giving everyone complete rights ...


0

I solved it. The problem was that somehow my WF databases had gotten removed. Reconfiguring Workflow Manager rebuilt the databases and now it works.


0

I had come across this issue not too long ago. I was able to find what was causing it in my case. From what I've seen it happens with 2010 workflows and not 2013. If you go to the list/library that is triggering the workflow and go to List ribbon -> Workflow Settings. From here you should be able to see the different workflows associated with this list. ...


0

My personal preference would be to substitute both workflows with a single, synchronous event handler in List A, which will take care of the original item and the copied item in List B.


1

I've done some extensive research on this issue and I finally have a working solution. I've done the same as @tomvanderhoek, i.e. installed VS 2013 side by side with VS 2012. This is a bad idea if you're developing workflows. For a reason specified on another thread (Retract WSP in VS 2013 - Delete Content Types) I cannot use VS 2013. So I rolled back to VS ...


0

This was answered in Stackoverflow by "Mayo": http://stackoverflow.com/questions/1796875/sharepoint-send-an-email-to-users-specified-in-a-field I have limited experience with SP Designer workflows, but have you tried the email action with "Workflow Lookup" selected in the To field? This allows you to use specific fields from the submitted list ...


-2

Try SPWeb.Lists[listName] instead of SPWeb.Lists.tryGetList(listName) and this exception will go away.


0

Got it: I created a second workflow that starts when an item on my master list is changed, wherein if the status is not unassigned (in which I've likely just assigned one somehow), it updates a column on my availability list. That in turn prompts my "low stock" alert workflow. There are probably ways to refine the process, but for now, it works.


1

There is no limit officially suggested by Microsoft on the number of Email recipients. (Check this) But, still if the recipients have not received the email. You may want to look for following, Whether none of the receipient received the mail or its just few of them. They may want to check the Junk folder :) There could be firewall issues(blocking the ...


0

if "Number of Units" is your lookup "count" column (via count related), then you don't get a number but a SPFieldLookupValue, so the comparsion step 2 doesn't work. Also check if your other mails work on the server, had this happen to me.


0

Thank you for this post. To start workflows 2010 you can use InteropService. var interopService = wfServiceManager.getWorkflowInteropService(); interopService.startWorkflow(workflowName, null, null, null, initiationParameters); Worked example here.


1

Check you are not using System Account for testing. Workflow will never start automatically with system account. Check the options Start workflow automatically when an item is created or changed from Workflow Start Options.


0

My requirement was to get all the tasks associated with the workflow, I managed to achieve the same by querying the task list and filtering the tasks on the basis of new field added to sharepoint 2013 "related items". I am not sure how efficient this approach is but nevertheless worth mentioning using (SPSite mySite = new ...


0

Based on your description, your workflow service is not connected. For troubleshooting this issue, I recommend to verify the things below: 1. Check the workflow management site is starting. If yes, restart the workflow management site. 2. Check the ULS log to see some information about your problem. 3. Re-register workflow service with force: ...


-1

I generally do this by using the Modified By field and populating that into the "Closed by" field.


2

In the update item activity. You can use following look up


1

Each time a new workflow is published within SPD, a new instance is added. What this means is that each time a workflow is published, it overwrites a previous version but the previous versions are not removed. If an administrator were to check the active workflows, they'd see a history that looks like this. This is to allow any items that still have ...


0

if current item:xyz equals 123 update item in this list


0

Seeing as migrated 2010 workflow work, the workflow back-end is all running and functional. You can still develop 2010 style workflows and deploy them using a normal Farm Solution (as you would in 2010). You might have trouble in future migrations (as the built-in engine's future isn't clear) and you definitely won't be able to move this workflow to ...



Top 50 recent answers are included