Tag Info

New answers tagged

0

To work around this issue, follow these steps to set the Approval workflow to start manually, and then disable the workflow to update the workflow status: Browse to the Document Library. Click the Library tab. In the Settings group, click Workflow Settings. Click the Approval workflow you created. Select the Allow this workflow to be manually started by ...


0

Solved, was a compatability issue between vs2012 and vs2013.


0

Yes its possible. When you click the approval process link in the Text based Designer in Sharepoint Designer go to task behaviour ( In short edit the workflow) go to "When the task completes" add a line inside if statement " set content approval ... approve (author).." same for rejected. In that case select "Rejected" save and publish.


0

Have you updated your SharePoint/workflow manager installation lately? You can try running this on your SharePoint server to upload the updated SharePoint Activties to Workflow Manager $credential = [System.Net.CredentialCache]::DefaultNetworkCredentials $site = Get-SPSite "http://<a site collection>") $proxy = Get-SPWorkflowServiceApplicationProxy ...


1

The workflow feature in Microsoft SharePoint Server 2010 enables solution architects, designers, and administrators to improve business processes. Workflow features are available in both standard and enterprise. Now you have 4 options to create workflow: Use the OOTB worflows Create the workflows using the SharePoint designer 2010 Create workflow using ...


0

Have you tried using Sharepoint Designer 2010? There is workflow creation tool. Try it, if you haven't! Good luck!


2

USe the workflow context variable "Current Site URL" when building the REST url as below


0

You might need to add "Scheduled Start Date" site column to your library. By default document libraries don't have this column. And update its value programmatically. Refer to this post for details. Let us know if it helps.


1

Date formats are derived based on the regional settings. If you want date to be like Thursday, June 21, 2013 then change the regional settings to English(United States) You can make this change through site settings page.


0

Yes, you need enable the sharepoint 2010 workflows feature of site collection(if you using SharePoint Online). You should assign the "approval workflow sharepoint 2010" to a library. In library, set the option "Require content approval for submitted items?" to yes. See the links: ...


0

You need to go to your web site cache located in C:\Users{your user name}\AppData\Local\Microsoft\WebsiteCache Delete this data and republish your workflow. The issue is that SharePoint Designer at times after a lot of modifications to the same workflow causes the workflow to publish an older version.


0

If we are talking about documents, it could be firing appropriately if you have required fields or multiple content types in your library and you are uploading files. After the upload, you are taken to a page where you can edit the properties and metadata of the file. This is actually an item edit process and could be triggering your workflow.


2

You have a few options: Use an Association or Initiation Form and when creating the association you tell the workflow which lists it will be working with Use the REST API to query the list by title. You do this using the HttpSend activity.


0

You can download xoml file. It contains information about all activities. Example (without parsing for list activities): Add-PSSnapin "Microsoft.SharePoint.PowerShell" Function GetXOMLFromWorkflowInstance($wfa) { [xml]$xmldocument = $wfa.SoapXml $name = $xmldocument.FirstChild.GetAttribute("Name") $wfName = $name.Replace(" ", "%20") ...


0

After bumping into this myself, here are my findings. This happens apparently a lot in SharePoint 2007, but also in SharePoint 2010, for similar reasons We can enable verbose logging for workflows (CA, Diagnostic Logging) and even enable workflow debugging. However, as the workflow never really starts, there will be little or none relevant log entries. ...


2

dam, you didnt set the auto function off... There is a time to live on workflows that occures i think by default every 60 days... once it reaches 60 days its removed by a timer job. Its active by default as its auto cleaning after two months to save on server speed and resources. If you disable it than it would over time slow sharepoint down! to sort it ...


0

These are the dynamic DLL's generated when requesting the website for the first time. New ones will get generated after an application pool recycle. If your running your code with debug flag turned on you could try to turning it off. Also take a look at the batch flag. If it is set to true it will recompile everything in your site on the first request(longer ...


1

You may want to take a look into SharePoint Designer Workflow String Actions or SharePoint Designer Workflow Extensions or String Workflow Actions for SharePoint 2013/Online. You can just install these solutions in order to access the functionality they offer, including string manipulation that you need.


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

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


1

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


1

I would not do that. SharePoint is not the best with long running workflows. Using SharePoint designer workflows in this fashion takes some doing with multiple lists and such that work off each other. Barring a completely custom solution, I would at either: Using a scheduled task to check the items and send the email Using a scheduled task to start a ...


0

I found this Assembly is sometime missing after installation of Visual Studio 2013 or Workflow Manager. Just copy it from a working System. It should be in the GAC (C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Activities) Of xourse you must already have Workflowmanager and Client installed on System e.g. via Web Plattform Installer. I suggest verify ...


0

yes the interop is available for workflows in O365. I'm not a big fan of the previous workflow engine, but the new 2013 workflow engine has been incredible in terms of reliability and performance. The down side is that not all activities are represented. However - you can regain a lot of that functionality via REST calls from the Workflow flow it self. ...


1

I think you are looking for "Workflow Lookup for a User..". Just select "Workflow Lookup for a User.." > current item > modified by. This would send the email to the one who modified the item. Or you could just chose any other column, like created by. Or if you are using any custom People columns.


0

You can definitely do this in SharePoint Designer. Your logic would be close to this: Send email to [Current Item: Created By] #Receipt Start Approval process for Manager #Initial Approval. If Current Item:Approval Status equals Approved Start Approval process for Secondary Approval #Secondary Approval Else Stop Workflow and log Approval was Rejected


0

Those Workflow features are actually defined at the Web level under Site Features not Site Collection features.


0

You could use OOTB Alerts to send a daily notification about any/or specified changes at a specific time each day. Go to the specific list > select Alerts > Set Alert on this list. Set up the users you would like to receive this mail, when the alert email should trigger and how often the mail should be sent.


1

so I found: http://mazdev.blogspot.ae/2014/05/get-value-of-persongroup-list-item.html the solution is to write "Id" directly after the field name within the GetDynamicValueProperties Path. intuitional? hmh, may be... further links: Declarative SharePoint 2013 Workflow Sending Email to Person Specific in Item List Field of Type Person/Group


0

Well I achieved what I wanna do through this => Implementiong custom aspx Workflow Task. Hope this will be helpful to someone.


0

Better you choose the sharepoint central administration as an admin and navigate to configuration wizard and select the state and servces option and launch the wizard. this may help you


1

With SharePoint 2013 workflows you can always use REST services to make the appropriate calls to SharePoint with the information you are looking for, so that anything outside the list of SharePoint workflow actions can be executed. You can make an HTTP Request action point to a web REST API. Using the HTTP request: ...


1

This is your generated assembly, all you need to do is update the workflow and then use Update-SPSoution. SharePoint will know to use old assemblies for workflows that are still running on the old workflow after you update. Whenever you update a workflow as a solution, it will use the new version first, but keep the old version if there are any running.


2

The names of the web applications don't have to be the same for any MOSS farm. In your case guessing from their names SSPADMIN is used for SP Shared Sevices Provider, MYSITE is used to host the users MySite and INTRANET is for other SP sites (Team sites, Meeting, etc.) Create a site collection on INTRANET and work on its top level site or create subsites.


1

OK folks, Here is the answer for how to codelessly update a project from outside PWA when you need to update enterprise custom fields. Get the property GUID dev1projects/PWA/_api/ProjectServer/Projects('theguidi-just-pick-from-theprojectabove')/CustomFields [GET] retrieve d/results/(the index of the field you want to update)/Id Update the Field ...


1

Try using OData__ModerationStatus if you're using the _api endpoints in 2013. 0 = Approved, 1 = Rejected, 2 = Pending So you would use a URL ending with an OData filter command like: ".../items?$filter=OData__ModerationStatus eq 0" Note: it's actually two underscores between OData and ModerationStatus.


1

WorkflowServicesManager workflowServiceManager = new WorkflowServicesManager(web); var workflowInstanceService = workflowServiceManager.GetWorkflowInstanceService(); var workflowInstances = workflowInstanceService.EnumerateInstancesForListItem(listId, itemId) ; Once we get the workflow Instance, we can get the instance properties as shown below. Any ...


0

I had several instances of the certificates still in Central Admin/Security/Trusts. I deleted all of the certs and re-ran the Register-SpWorkFlow command (once again with -force) I was able to create new workflows at that point.


0

Goto central admin, Select Web application URL and click on User Policy --> For all required admins,Farm account users provide permissions as all zones with full control. Go to UserProfile service(Any SA) and select the Permissions option and all above users give the same permissions. Disable the firewall settings in all Farm servers.


1

You could utilize CSOM/REST API for that purpose, below is demonstrated how to consume CSOM to retrieve workflow status in PowerShell. How to retrieve workflow status for List Item using CSOM in PowerShell [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client") ...


0

So I found out what the problem was, someone changed a few configurations in the users repository. I had a line to get the context, and from that context I took the info I needed, users, Item's description, etc. After getting the context I would use a parser to retreive each info separatly. By changing the way the username is displayed, it messed up my ...


0

You have to include the AD Groups in the user profile sync connection. If your AD Groups are not sync'd with the UPS, then it won't be possible. Make sure the UPS Sync connection includes the containers that the AD Groups are in.


0

SharePoint Online Management Shell is very limited to use. As you can see in the below article only few options are available to query Sharepoint online. Unfortunately there is no cmdlets for getting workflow status or something. http://office.microsoft.com/en-in/sharepoint-help/introduction-to-the-sharepoint-online-management-shell-HA102915057.aspx


1

It is very much possible and you will find lot of article for it on internet. I am providing below link which shows you screen by screen http://spcycle.blogspot.com/2012/01/how-to-create-workflow-to-change-item.html Also there is released a set of SharePoint 2013 Workflow activities to work with permissions - Artezio SharePoint 2013 Workflow Activities. ...


1

Any workflows in progress will follow their pattern, so yes those in progress would remain paused for 1 or 5 days. Any new items created after the update will follow the new workflow rules. Eventually, they'll all work themselves through and everything will operate under the new workflow.


0

You can get workflow as: if (item != null && item.Workflows != null && item.Workflows.Count > 0) { try { var workflows = site.WorkflowManager.GetItemActiveWorkflows(item); foreach (SPWorkflow workflow in workflows) { // match on some indentifiable attribute of your custom workflow // ...


0

You are getting the task list associated list, but it doesn't correlate with a list item. You are essentially getting only the list. You need to associate the ID with the Variable TaskID, and that should be able to find the list item. Another thing I find is that you immediately check whether or not the Task outcome is approved. You should have a different ...


0

Content approval is a core SharePoint process which is used for publishing documents.This process provides the ability to limit the visibility of a document to approvers until the document is approved to be published.This will change the security of the document such that all users who have access to the list will be able to view it.Approval workflow is a ...


0

I found that in step "Pending Task" can not update the item, but I needed a flag that controls the moment when the second task is assigned. Put the action "update" in step "Task Completed" and it usually occurred


0

Take a look at this... this.context.Web.CheckPermissions(SPBasePermissions.EditListItems); http://zsvipullo.blogspot.it/2014/09/sharepoint-2013-access-denied-opening.html



Top 50 recent answers are included