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 ...


4

One way to do this would be to have your multi-column lookup list stored as a separate list in SharePoint (Maybe you already have that I'm not clear). When you then add a lookup column to your 'main' list that refers to this lookup values list you can select which additional fields to include. You could, for example, include Name and Age. When including ...


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"] ...


3

This guy mentions something about a feature that wasn't enabled because of use a blank Site Template, have you tried this ? Enable-SPFeature -Identity WorkflowServiceStore –Url $yourUrl Source: http://anujabhojani.blogspot.be/2013/06/the-option-for-sharepoint-2013-workflow.html


3

Use SPListItem.UpdateOverwriteVersion() Updates the item without creating another version of the item. SPListItem.SystemUpdate method More Explanation


3

Solution was: Register-SPWorkflowService –SPSite "http://localhost/yourSite" –WorkflowHostUri "https://localhost:12290" –AllowOAuthHttp had to be executed!!


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

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 ...


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

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 ...


2

Thanks for this! This comes in handy when you want to click on a link within a column to start the WF. To do so, add a calculated column and select the number type. and use the following code: =TEKST.SAMENVOEGEN("<a href=javascript:StartWorkflow(";ApparaatID;",";"'";"{e5859b62-c666-41d0-94be-4df08b86e8d4}";"'";")>ingeleverd</a>") Sorry for ...


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

I used reflection to force the Automation Services to execute immediately. Works fine in our environment :-) http://devtopics.de/2013/11/18/making-sharepoint-2010-and-word-automation-services-convert-to-pdf-immediately-for-real/


2

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 ...


2

@Chaholl's answer is correct but if you need, as was our case, the url value from a field in the lookup item, this won't be sufficient as it is not exposable under "additional fields", as are some other field types. In this case you would need what you are suggesting yourself, a workflow: that runs whenever an item is created or updated that copies you ...


2

If you pause the workflow, it gets picked up again the next time the workflow timer job runs. So even if you set it for a fraction of a second, it is effectively paused until the next time the timer job is set to run. The default configuration is 5 minutes I believe and it can be altered via powershell to reduce the time to a minute.


2

You can change the Read Only field of this list in SharePoint Manager in your server, and use a workflow to change it.


2

If you are using SP Designer 2013 you can type:- Create item (I believe you have already done this, to create itemB in ListB). This will generate a GUID which is saved into a local variable. (check the variable name at RHS of this line) Then type: Update and hit enter key This will generate as:- Update Item in THIS LIST --> Click on 'this list' --> ...


2

I've done what Unnie describes above before. First you create a list and populate it with all your choice values. Then you configure your list people will add items to by creating a new column of type lookup that points to the list you just created using the Title column. You set it to allow fill in votes. Then in a workflow, you check if a fill in option ...


2

Status workflow you can get using the following method public string GetWorkflowStatus(SPListItem item, String workFlowName) { SPWorkflowManager manager = item.Web.Site.WorkflowManager; foreach (SPWorkflow instance in manager.GetItemWorkflows(item)) { if (instance.ParentAssociation.Name == workFlowName) { foreach ...


2

This cannot be done with out of the box functionality, AFAIK. There is a free tool, called the HarePoint Workflow Scheduler. Once installed on the server, you can configure it to run on each item in a view. It can even work without views by providing the CAML query directly to the scheduler task. ...


2

How to get Workflow status via CSOM function getWorkflowStatus(listTitle,listItemId,workflowTitle, success,error) { var context = new SP.ClientContext.get_current(); var web = context.get_web(); var list = web.get_lists().getByTitle(listTitle); var listItem = list.getItemById(listItemId); context.load(listItem); context.executeQueryAsync( ...


2

No, not in 2010. Workflow products like Nintex and K2 give you that functionality at a price though. Alternatively, you could use web services to bulk update information. The SPServices library has a great wrapper to help you out.


2

This is the expected behavior: in SP 2010, the query only returns the first item. To update multiple items, you'll have to resort to tricks, for example add a column that serves as a flag once an item is updated. Another option is to attach the workflow to the second list (the one with the Owner field). This has been addressed in SP 2013 (kind of...) where ...


2

According to the section Workflow limits in Software boundaries and limits for SharePoint 2013 For variables Maximum workflow definition (xaml) size Description: Attempts to publish xaml files that exceed the size limit will fail. Max value: 5,120 KB Limit Type: Boundary Workflow variable value size Description: The maximum amount of data that can be ...



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