Quantcast
Channel: Workflow Manager 1.0 forum
Viewing all 897 articles
Browse latest View live

Bunch of Issues

$
0
0

I've been working with Workflow Manager (in SharePoint 2013) for a while and about to finish a project with few 2013 workflows. Few issues listed below:

  • Calling custom SharePoint WCF service from workflow running in SharePoint requires 'anonymous access' to be enabled. If anonymous access is not enabled then the workflow gets access denied error. Problem Reported.
  • Modifying and redeploying workflow from Visual Studio 2012 doesn't update workflow. Though few reported workarounds but these works sometimes, sometimes don't. Problem Reported.
  • After installing March Update, sometimes workflow manager can't access database. Problem Reported.
  • Enough activities are not there to work for a big projects. For example, if someone would like to call an external service with URL encoding some parameters, there's no activities to encode URL inside workflow. Problem Reported.
  • Even if workflow activities exist, they don't have enough options to configure. For example, n SingleTask activity in SharePoint, there's no way not to send 'assignment' notification for a task. When a task is assigned to a user, user get notified whether whether notification is disabled in the list level or not. Problem Reported.

These are all the issues I've been through for my current SharePoint 2013 project. And the scariest thing is that when you deploy workflow in test/prod and it fails, you get mad to find out what went wrong. If the workflow fails you need to search through your whole farm, workflow manage event viewer, log files, sharepoint log files, workflow database etc.

I would really like to know when the workflow manager will be ready enough? Is there's release plan for major bug fixes or improvements? If we would know what going to be fixed/released and when, we could plan for our projects accordingly whether we'll use workflow 2010 or 2013 in our next SharePoint 2013 projects.


Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com


Cannot activate workflow feature - is not in an updatable state. Its current state is 'Unregistering'

$
0
0

I'm trying to active a workflow feature. But I'm getting the following error:

System.InvalidOperationException: Microsoft.Workflow.Client.InvalidRequestException: Scope 'SCOPE_NAME' is not in an updatable state.
Its current state is 'Unregistering'. HTTP headers received from the server - System.Net.WebException: The remote server returned an error: (400) Bad Request. 

I've tried to retract/restart the server but with no luck. Though there's workaround to  update the 'unregistering' items status to 'active' from database but I'm not sure if it's the recommended way.


Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com



how to resume bookmark in a workflow hosted using workflow manager 1.0

$
0
0
how to resume bookmark in a workflow hosted using workflow manager 1.0?Is it possible or not.

Sanketh K

Workflow Configuration not working

$
0
0

I feel like i am going crazy.

I have tried several times to follow this guide to the letter: http://technet.microsoft.com/en-us/library/jj658588(v=office.15)#section4

Everything works as described, until i launch SharePoint Designer, i do not receive the 2013 drop down.

I have tried hosting the workflow farm with SharePoint and without, it makes little difference at all.

Visiting the sites in IIS just gives me HTTP 403 forbidden.

When running Get-WFFarmStatus the backend service is started and has:

WARNING: Endpoint https://server:12290 is not responding: The remote server returned an error: 403 forbidden

Then Frontend service is stopped.

This is doing my head in, it shouldnt be this hard..



InfoPath MVP | SharePoint 2010 MCITP & MCPD | Office 365 MCITP | CUBE4 SharePoint Blog | InfoPathTips.com

HttpSend to call custom wcf service

$
0
0

Hi,

I've developed a workflow in Visual Studio and that is invoking a custom WCF service that I've developed.  But the workflow gets '401 Unauthorized' while try to access the cusom service. I've used a network monitor to find out the details. However the workflow can access the SharePoint contents using out of the box REST API.

After investigating the http traffic, I've found while the workflow is calling REST API, the http header 'authorization' has access-token filled automatically. However while my custom workflow is invoked by workflow, the authorization header is just 'Bearer', so access-token is missing. Is there any way I can access the token in workflow and pass it in header to call my custom wcf server? Or is there any suggestion on how to call custom wcf service from sharepoint workflow 2013?


Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com


PublishNotification with string array content throws SerializationException

$
0
0

I have configured a ReceiveNotification activity to receive a string[] (array) as part of its Content property. When I use the workflow client API to publish a notification which includes a Content item that is of type string[], I get the following exception:

System.Runtime.Serialization.SerializationException was unhandled by user code
  HResult=-2146233076
  Message=Type 'System.String[]' with data contract name 'ArrayOfstring:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.
  Source=Microsoft.Workflow.Common
  StackTrace:
       at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
       at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)

....

The code used to publish the notification is as follows:

 // publish notification
client.PublishNotification(new WorkflowNotification()
{
	Properties =
	{
		{ "EventName", "Office Approval Decision" },
		{ "OfficeId", workflowDto.OfficeID }
	},
	Content = new Dictionary<string, object>()
	{
		{ "Decision", workflowDto.Decision },
		{ "Domains", workflowDto.Domains },
	}
});

In the above code, workflowDto.Domains is of type string[].

I understand how this problem can be solved when you directly control the serialization code, but in this case it is wrapped up inside the Microsoft.Workflow.Common.dll.

Is this a bug, considering that string arrays are supported within workflows and the trusted surface?


Mapped Variable / External Variable not being persisted when declared as a workflow variable

$
0
0

When publishing my workflow definition, I specify three mapped / external variables, i.e: 

client.PublishWorkflow(workflowName, @"..\..\MyWorkflow.xaml",
	new Collection<ExternalVariable>
		{
			new ExternalVariable<string> { Name = "AccountID", Modifiers = System.Activities.VariableModifiers.Mapped },
			new ExternalVariable<int[]> { Name = "AssignedDomains", Modifiers = System.Activities.VariableModifiers.Mapped },
			new ExternalVariable<int> { Name = "OfficeID", Modifiers = System.Activities.VariableModifiers.Mapped }
		},
	new Dictionary<string, string>()
		{
			{ "ApprovalReminderPeriodHours", "1" },
			{ "ResubmissionReminderPeriodHours", "1" }
		});

Within the workflow, OfficeID is defined as an input argument, whereasAccountID and AssignedDomains are just variables at the root workflow scope.

After starting an instance of the workflow, only the OfficeID is accessible via mapped variables and onlyOfficeID is persisted to the WFInstanceManagementDB.dbo.MappedVariables database table. The other two are nowhere to be found.

Has anyone else experienced this?

link to download sharepoint 2013 workflow manager

$
0
0

where can I download this software? where is the link?


Throttle behaviour in workflow manager

$
0
0

Hello,

I have a workflow of type x which i want to start using message activation filter.

Consider my message activation filter consists of 2 fields. field1,field2.

I want to allow only N active instance per field1 value. ( I thought I can deploy the workflow with hardcode value of field1, then let the message activation happen per field2).

But how does the throttle happens in workflow manager, I was not able find any documentation.

Can some one please help with me it.

regards

Workflow Manager 1.0 configuration- Specified RunAs account is invalid

$
0
0

Hello - I am trying to install and configure Workflow manager 1.0. As part of workflow manager configuration specifying the user id inConfigure Service Account  section throwing error as "Specified RunAs account is invalid".

I tried different ways and means suggested in forums and KBs - but I think it is unable to validate the user in Active Directory. Our Active Directory is AD 2003 functional level and wondering it has any issues with Workflow manager 1.0?

Here are the environment details:

WF Machine: Windows Server 2008 R2 SP1

AD: Active Directory 2003

Workflow Manager 1.0 installed and also applied the below latest workflow and service bus hotfixes.

http://support.microsoft.com/kb/2799754http://support.microsoft.com/kb/2799752

Also moved the service account to the default OU=Users container in AD as specified in below forum but no luck.

 http://social.msdn.microsoft.com/Forums/en-US/servbus/thread/3d803e15-606a-4f06-96fe-97c23ad3c01a

I am not sure where the issue is wondering if any one has run into similar issue. Appreciate any feedback.

Is Recive Notification acts as Bookmark in Workflow Manager,and whether the activity thread is active or passive at this stage?

$
0
0
Is Recive Notification acts as Bookmark in Workflow Manager,and whether the activity thread is active or passive at this stage?

Sanketh K

Using Bookmark in Workflow Manager 1.0

$
0
0
which is the best way to use bookmark in workflow manager 1.0,where input is dynamic value in the middle of the workflow hosted in workflow manager.and how to manage to resume back the bookmark in workflow manager?

Sanketh K

Workflow manager 1.0 not taking inputs as dynamic value while using WCF rest services

$
0
0

Hi,

I have a workflow designed for workflow manager 1.0, and calling wcf rest services using HTTP activities, but while passing inputs to workflow while starting the published workflow from workflow manager 1.0 it is not accepting inputs as dynamic values.

basically sometimes dynamic values are not passing through services or from client.

regards

Nilesh

need help to develop workflows in workflow manager all rest activites

$
0
0

hi,

I have to develop a workflow that will interact with rest services only and will be taking input and output as dynamic values.

can anyone help us on the same, if not free we can workout some plan that will take care of your time and work.

regards

Nilesh

Lookups on Sharepoint Task get workflow into Suspended state.

$
0
0

Hej

I have been asked to let this question be forwarded to this Forum by

Reken Liu Support Moderator.

As I do not understand the diffrences between workflows with Sharepoint and Azure I do as I am told.

The question is described in

http://community.office365.com/en-us/forums/154/p/166781/483486.aspx?ss=2eb67790-4f8e-48b4-86b2-6ae4014c19c9#483486

Briefly.

My problem is as soon as I do a lookup towards a Task i come into a Suspended state.

What I do is looking at the dates of Created and Modified regarding the Task.

Or I look at the Created by and Modified By     and compare them to see if the task has been claimed or not.

A flat lookup upon the document in question is no problem.

Please have a look at this problem and let me have your guidence.

regards Anders K


Service Bus 1.0 cumulative update

$
0
0

Hello,

in order to install the 26/02/2013 version of the Microsoft Office Developer Tools for Visual Studio 2012, you need to install first the Service Bus 1.0 Cumulative Update 1.

The thing is that I can not install this update, I always get an error:

DownloadManager Information: 0 : Using cached file at C:\Users\Gilles\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBusCU1\5024FF633CA537CDB1C2903F97E1244457BAEE18\ServiceBus-KB2799752-x64-EN.exe instead of downloading from http://go.microsoft.com/fwlink/?LinkId=285191&CLCID=0x409
DownloadManager Information: 0 : Starting EXE command for product 'Service Bus 1.0 Cumulative Update 1'. Commandline is: 'C:\Users\Gilles\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBusCU1\5024FF633CA537CDB1C2903F97E1244457BAEE18\ServiceBus-KB2799752-x64-EN.exe /quiet'. Process Id: 6308
DownloadManager Information: 0 : Install exit code for product 'Service Bus 1.0 Cumulative Update 1' is '-1'
DownloadManager Error: 0 : Install return code for product 'Service Bus 1.0 Cumulative Update 1' is Failure
DownloadManager Information: 0 : Product Service Bus 1.0 Cumulative Update 1 done install completed
DownloadManager Information: 0 : Increasing current install to 2

if I run C:\Users\Gilles\AppData\Local\Microsoft\Web Platform Installer\installers\ServiceBusCU1\5024FF633CA537CDB1C2903F97E1244457BAEE18\ServiceBus-KB2799752-x64-EN.exe

I get : "an unexpected internal error has occured."

I am running Windows 8.

Somebody having the same issue?

Thx

Gilles


http://gilleslauwers.wordpress.com

How to return a Dynamicvalue to workflow hosted at workflow manager and set as input to next activity.

$
0
0

I have created a Workflow with Inargument and Out Arguments of Dynamicvalue,now i have created an httppost activity with input as Dynamicvalue and i am returning the dunamicvalue back to workflow from service,now i m passing that output dynamicvalue to next httppost,now i am not able to get the values at service it is showing null.can anybody help me.


Sanketh K

failed to install Workflow Manager 1.0 Cumulative Update 1

$
0
0
I can't get Workflow Manager 1.0 Cumulative Update 1 to install. service bus 1 update already installed. Anyone have this issue? account run installation have local admin

Workflow cancels on sending email action Sharepoint 2013

$
0
0

I installed a Sharepoint 2013 Farm and Workflow Manager 1.0.

I created a workflow with Sharepoint Designer 2013, which works fine til I add a "send email" action. When the worklfow contains a "sending email" action the worklfow cancels with

RequestorId": 3d95f396-16f9-9e6d-0000-000000000000. Details: "RequestorId": 3d95f396-16f9-9e6d-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 400 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["61"],"SPRequestGuid":["3d95f396-16f9-9e6d-8c72-b133c88bf37a"],"request-id":["3d95f396-16f9-9e6d-8c72-b133c88bf37a"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Mon, 15 Apr 2013 09:55:12 GMT"],"Server":["Microsoft-IIS\/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} bei Microsoft.Activities.Hosting.Runtime.Subroutine

Sending emails work fine under Sharepoint 2013, I added an action writing destination email address in History, which works fine.

Any ideas, suggestions, more information needed?

Thanks for help

WorkflowInstanceManager not available in Microsoft.workflow.client dll

$
0
0

Hi,

I am trying to retrieve the workflowinstance which is persisted in databases created while configuring workflowmanager 1.0. In the documentation provided in the following link

http://msdn.microsoft.com/en-us/library/microsoft.workflow.client.workflowinstancemanager(v=azure.10).aspx

it is mentioned that in order to retrieve the workflow instance one must use WorkflowInstanceManager class available in Microsoft.workflow.client dll. But while using this dll I didn't find any such class.

Please help.

Viewing all 897 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>