Tag Info

Hot answers tagged

6

Here is the solution: Challenges: The requirement needs to be achieved only using Out of the Box solution. And SPD workflow does not give any feature to scan multiple list items. Solution: Since MOSS 2007 SPD Workflow has very few actions, we can not achieve the whole solution using SPD Workflow. So we need to populate the List Item so that most of the ...


5

The solution is to launch the Web Platform Installer (WebPI) and search for "Workflow Manager". Make sure you add and install the Workflow Manager CU2 update that supports Server 2012 R2. You may also need to install the CU2 prerequisite: Cumulative Update for Service Bus 1.0 (KB2799752).


5

This is a known issue with Workflow Manager: If the permissions of a workflow scope are set to BUILTIN\Administrators, Client Applications must run using elevated permissions If the permissions of a workflow scope are set to BUILTIN\Administrators, which is the default setting, an exception similar to the following is thrown if the client application is ...


5

You can use the same workflow if you'd like. Just check if the created date is equal to the modified date - if they're the same, then it's just been created. If they're different, you're running in Modified mode.


4

This is most likely something environment specific. I would say those are Portal Super User and Portal Super Reader accounts as explained here. To verify my theory you could run following PoweShell script on the server and compare results: $wa = Get-SPWebApplication -Identity "<WebApplication>" $wa.Properties["portalsuperuseraccount"] ...


4

Using an event receiver: You can check the last added item, then increment it with 1. Then modify the number as 2014/001, 2014/002 and ect... No need to have workflows. Another way is having a property bag value which stores the last added id, then increment it by 1 and save, set that value to the number to the list item. This too can be done using an ...


4

This will be a challenge to do through Workflows. The reason being we can't get the previous value to compare and confirm which field was updated. In such use cases we should use Event Receivers. It has AfterProperties and BeforeProperties. We can use those to compare and confirm whether the field updated is DaysLeft. If you prefer workflow's then before ...


4

you can use $().SPServices <script type="text/javascript" src="/sites/sprc/Resources%20%20jQuery/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/sites/sprc/Resources%20%20jQuery/jQuery%20SP%20Services/jquery.SPServices-0.5.4.min.js"></script> <script type="text/javascript"> function StartWorkflow(ItemURL, ...


3

Did a complete re-installation with the following power shell script to Configure the App Domain: net start spadminv4 net start sptimerv4 Set-SPAppDomain "<app domain name>" Get-SPServiceInstance | where{$_.GetType().Name -eq "AppManagementServiceInstance" -or $_.GetType().Name -eq "SPSubscriptionSettingsServiceInstance"} | Start-SPServiceInstance ...


3

Without access to Designer to create a workflow, your best bet would be to use an alert on the list. The alert can be configured to send an immediate email when an item is added to a certain individual(s). It will contain all the list item data as well as a link to the item. I don't really like the alters myself, but given your situation, this would be the ...


3

I have found the solution by my self. The tasks were over due. This is a stupid error from SharePoint! Why didnt they show some warning like this: It is not possible to approve this task because it is over due. I have changed the over due date to the future and now it is working.


3

The pause in Workflow is used by SharePoint Timer Job, when the timer job runs, the workflow run. The default time is 5 minutes. So If something starts at 15:02, at 15:05 the timer job will process. Note that this time can be extended if the timer job cannot complete all the tasks. Eg. 15:02 starts, but only at 15:10 timer job can complete the request to ...


3

I have done this before....for fun actually as a learning exercise in a SharePoint Designer 2013 workflow for SharePoint Online using the REST API. I'm sure that you know, but you need to make use of the 'Call HTTP Web Service' action within an App Step. Use this REST endpoint to break permissions on the item: /_api/web/lists/getByTitle('YOUR LIST TITLE ...


3

No, but you can use the "Copy" function and then the "Delete" function. So you have the same "Move" functionality.


3

Copying and then deleting a document is certainly not the same as moving it. Among other things, it will not preserve the document history, if it has a document ID it will not be preserved etc. In your workflow, you just need to “Update List Item” and update the “Path and Name” field with the folder name where the document should be moved in. If the ...


3

I'd create an on creation workflow that does: Add time to date, -2 days from the current item, date field. This is stored as a variable for you. pause until the variable date if current item status is not complete, send email, else end the workflow This assumes you have some sort of status column that tracks the progress of the item. If you have a ...


3

You can use the Copy List Item action to copy a document from one library to another. I suggest you these useful links: SharePoint Designer Workflow: Copy a document from one library to another SharePoint Designer Workflow: Move a document from one library to another


3

Before modifying item, you should Disable event firing this.DisableEventFiring(); After finish updating you can Enable it using this.EnableEventFiring(); Identify if event is fired as part of Check-in if (properties.AfterProperties["vti_sourcecontrolcheckedoutby"] == null && properties.BeforeProperties["vti_sourcecontrolcheckedoutby"] != null) ...


2

The workflow is acting on an item (sometimes called a context item) -- you can get its GUID from workflow.ItemGuid. Then, you can check the workflow status from one of its fields, as eirikb said. Once you have the SPListItem, you can then query its properties to get the workflow status number. Here is a blog post about this, but for completeness, here's ...


2

Look at Virto Workflow Activities Kit from well-known vendor, VirtoSoftware. Use "Send Email" activity where you can specify any recipient(external or internal). Hope it help you.


2

The solution is to launch the Web Platform Installer 5 and search for "Workflow Manager 1.0 refresh". Make sure you add and install the Workflow Manager CU2 Get refresh update that supports Server 2012 R2.


2

Unlike previous versions, SharePoint 2013 does not support workflows that are scoped to a content type. You can check detailed description here: http://msdn.microsoft.com/en-us/library/office/jj163181(v=office.15).aspx ...


2

If you don't want to use Powershell, then only option is to open the site in Designer and remove them. Hope the suggestion helps!


2

This is specific to Issues Lists and Tasks Lists. There is a setting the List Settings -> Advanced Settings that lists if you would like to email the assigned user upon creating the item. Picture is from 2007, but the same setting is across all versions. To answer your question, if you have a list that doesn't derive from the parent Tasks/Issues list, ...


2

When creating a workflow choose the "Assign a To-Do Item", then when choosing users, select "Workflow Look up for a user" and select "Current List", and the "Assigned to" or whatever the field name you want to draw the users from. I tried to reword my previous comment in to a more general answer. EDIT: changed my reply form the unhelpful one, to the ...


2

You can use item.SystemUpdate() when updating the item. This will not cause the Modified By field to change.


2

I've run into this several times, it isn't enabled by default. It needs to be enabled via PowerShell: $spWebService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService $spWebService.DeclarativeWorkflowAutoStartOnEmailEnabled = $true $spWebService.Update()


2

Have you considered using JQuery to do your calculations then update the list items? I have a similar thing I do with priority based off of Due Date and today's date to determaine the priority on a task. You have to convert the SharePoint Date/Time into a figure you can add and subtract easy to find how many days plus or minus you want from the value of ...


2

One of the benefits of the 2013 workflows is that they will run in the cloud, but this benefit does not apply to a code based custom activity. Also, any deployment instructions that involve manually copying files to particular directories are problematic, as a year from now an admin may extend the farm with another server, and needing to also copy the dlls ...


2

It is really depend upon you requirement. from simplest way to workflow to event receiver. Simple way is using the calculted column use the workflow( personally i dont like this) event Reciever: By using this strategy, users have advantage to edit the existing values, we can also avoid it by making field read-only on feature activation. Using item event ...



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