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

Redistribute Workflow Manager Activities

$
0
0

Hi

We have implemented a workflow service host based on Windows Server AppFabric but we would like to use some Workflow Manager Activities. Is it possible/allowed to use and redistribute these Activities without Workflow Manager itself. 

Thank you.

Regards
Alex


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

Creating unit tests for workflows with HttpSend

$
0
0

Hi

I try to create unit tests for activities with HttpSend and get the following validation error on invoking:

An extension of type 'Microsoft.Activities.Hosting.HttpExtension' must be configured in order to run this workflow.

The extension is internal in Microsoft.Activities assembly. Does it mean that workflows using HttpSend can only be executed by Microsoft.Workflow.ServiceHost? Any chance it will be changed in future?

Can you run multiple WM farms in a domain?

$
0
0

I am in the process of testing WM 1.0 with SharePoint 2013 RTM.  We have dev/staging/production SP farms in our domain.  I'd like to setup different workflow farms to support each of those environment.  I'm starting to see a problem (cannot register SP site to the 2nd farm) when trying to setup the 2nd WM farm.  Before trying to debug, I want to make sure this topology is supported.  I can't find any definite answer in the online docs.

Does anyone know if running 2 Workflow Manaer farms (not clustered) is supported?

Thanks,

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.

Re-Deploy workflow manager failing (The Fabric Data Collection Agent is disabled for this deployment)

$
0
0

After removing all workflow manager databases, all service bus databases and deleting the site in IIS I wanted to reinstall the Workflow farm. However upon deployment I always get a "The Fabric Data Collection Agent is disabled for this deployment" error. Is there some way to repair install the workflow manager?

PS C:\Users\SPDev> Add-SBHost -SBFarmDBConnectionString 'Data Source=test.test.LOCAL;Initial Catalog=SbManagementDB;Integrated Security=True;Encryp
t=False' -RunAsPassword $SBRunAsPassword -EnableFirewallRules $true -Certificate
AutoGenerationKey $SBCertificateAutoGenerationKey -Verbose;
VERBOSE: [05.07.2013 14:46:04]: Validating input and configuration parameters.
VERBOSE: [05.07.2013 14:46:05]: Installing auto-generated certificate.
VERBOSE: [05.07.2013 14:46:07]: Granting 'Log on as Service' privilege to the
run as account.
VERBOSE: [05.07.2013 14:46:07]: Windows Fabric configuration started.
VERBOSE: [05.07.2013 14:46:08]: Windows Fabric cluster manifest generated.
VERBOSE: [05.07.2013 14:46:08]: Running Windows Fabric deployment.
Add-SBHost : Program C:\Program Files\Windows
Fabric\bin\Fabric\Fabric.Code.1.0\FabricDeployer.exe exited with error:
Windows Fabric deployment failed.DeploymentValidator: warning: The Fabric Data
Collection Agent is disabled for this deployment.
DeploymentValidator: warning: The Fabric Data Collection Agent is disabled for
this deployment.
None of the declared nodes is for the current machine.
The current deployed cluster manifest is invalid. Possible post deployment
corruption of cluster manifest
At line:1 char:1+ Add-SBHost -SBFarmDBConnectionString 'Data
Source=MCMSPDEV03.DEV.LOCAL;Initial C ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~+ CategoryInfo          : NotSpecified: (:) [Add-SBHost], InvalidOperation
   Exception+ FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Servi
   ceBus.Commands.AddSBHost

HttpSend and dynamic values not work

$
0
0

Hi,

I have installed workflow manager and I have tried the getting started solution, but the httpSend (http://services.odata.org/Northwind/Northwind.svc/Products?$format=json) returns always no result (count=0), instead in my browser returns some products.

Have someone experienced the same problem and solved it?

Kind regards

Samuele

Error Debugging WFM: ActivityId client Exheption data level

$
0
0

Hi,

I'm trying to debug workflow in Workflow manager 1.0, everything runs correctly, but in the method client.Instances.Get(workflowName, instanceId) return the error "ActivityId client Exheption data level ... ActivityId: XXX. NodeId: XXX. Scope: XXX.: XXX".

I search in DB but the activityId XXX and Scope XXX does not exist.

Every time I call the method "client.Instances.Get(workflowName, instanceId)" the ActivityId change but not exist in DB.

Thanks

Samuele


Cetificate error with Workflow 1.0.

$
0
0


We installed workflow manager 1.0 to be used with SharePoint 2013.  It was working fine until I had a report telling me it was no longer working, after looking into the issue we seem to have a certificate issue.   a few months ago we removed our SharePoint SSL Certificate and added a new certificate (to add a few host names).  I suspect this is the cause of my issuesbut I am very new to Workflow 1.0 and not sure how to proceed.

if I try to use powershellto stop-wfhostd I get the follow error.

PS C:\Program Files\Workflow Manager\1.0> Stop-wfhost
Stop-wfhost: Certificate requested with thumbprint
0457A37D63EC057061FB9E94017600C5F85A2281 not found in the certificate store
LocalMachine\My.
At line:1 char:1
+ Stop-wfhost
+ ~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Stop-WFHost], InvalidOperatio
   nException
    + FullyQualifiedErrorId: System.InvalidOperationException,Microsoft.Workf
   low.Deployment.Commands.StopWFHost

EventVWRentries all refer to certificate issues.

The Workflow Manager backend failed to start at location 'WorkflowServiceBackendHost.Start' due to an exception: System.InvalidOperationException: Certificate '0457A37D63EC057061FB9E94017600C5F85A2281' is not found in the certificate store.

   at Microsoft.Activities.Hosting.Security.WorkflowEncryptor.DecryptMasterKey(String thumbprint, String encryptedMasterKey)

   at Microsoft.Workflow.Management.WorkflowEncryptionSettings.InitializeInternal()

   at Microsoft.Workflow.Management.WorkflowServiceConfiguration.get_EncryptionSettings()

   at Microsoft.Workflow.Management.WorkflowServiceConfiguration.GetResourceManagementConnectionStringFromConfig()

   at Microsoft.Workflow.Management.WorkflowServiceConfiguration.get_ConfigProvider()

   at Microsoft.Workflow.Service.WorkflowServiceBackendHost.WorkflowServiceBackendStartAsyncResult..ctor(WorkflowServiceBackendHosthost, EventTraceActivitytraceActivityId, TimeSpanretryTimeout, AsyncCallbackcallback, Object state)

   at Microsoft.Workflow.Service.WorkflowServiceBackendHost.Start(Boolean keepAlive)

 

 

Offline Installer for Workflow Client

$
0
0

I'm having trouble with the Workflow Client installation through web platform installer.  Is there a full download of WorkflowClient.exe available? 

French offline setup of Workflow Mnager

$
0
0

Hello,

I'm working on a french server using Windows Server 2008 R2.

I know how to download and setup Workflow Manager in offline mode using webpicmd /offline /Products:WorkflowManager /Path:c:\WorkflowManagerFiles and WebpiCmd.exe /Install /Products:WorkflowManager /XML:c:/WorkflowManagerFiles/feeds/shadow-webproductlist.xml.

I run the download command on a french server which has a internet connection.

But when I install Workflow Manager using the second command, Workflow Manager is in English.

I would like to know if a pure french setup is available and if it's require to work fine with SharePoint 2013 on a full french installation.

Thanks in advance for your answer and your help.

Invoke Windows workflow Manager hosted Workflow from client

$
0
0

Windows Workflow Manager successfully configured.

Workflow is successfully tested from the client application where the Visual Studio contains 3 projects as out lined below.

1. Workflow library project with custom activity.

2. Workflow that uses workflow library and implement the workflow

3. console application that invokes the workflow.

Now it is required to invoke the workflow from the client remotely. Unfortunately no examples or documentation found on MSDN yet. 

As the Workflow Manager exposes Workflows as REST service, can the client invoke the workflow and run the workflow , receive the response?

Help appreciated.


Apriori algorithm [association rule]

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


Deployment questions

$
0
0

I have some questions about Workflow Manager regarding deployment. Let's say I have an activity library project with multiple custom activities for sending email, getting stuff from database and such:

  • SendEmail.cs
  • ReadFromDatabase.cs
  • ScheduleSomeImporttantTask.xaml

Now I create a workflow that uses all three of these custom activities, let's call it "MainWorkflow.xaml". How would I deploy this to Workflow Manager? I've read the sample (http://msdn.microsoft.com/en-us/library/windowsazure/dn217860(v=azure.10).aspx) but this only publishes xaml files, it is unclear to me how I would get "SendEmail.cs" or "ReadFromDatabase" into Workflow Manager.

Workflow Service Status : workflow not connected

$
0
0

Regarding Workflow Service Status : workflow is not connected

SharePoint 2013 workflow requires a compatible workflow service configured with SharePoint such as Workflow Manager. The workflow service is either not installed or not configured

  • From the event viewer the error showed that it had some certificate error. I installed the certificate. After installing the certificate it said that i need to run theRegister-SPWorkflowService command.

I am unable to run this cmdlet. i tried this command shown below  and received the error. Please look into the same.

Register-SPWorkflowService –SPSite "http://myserver/mysitecollection" –WorkflowHostUri "http://workflow.example.com:12291" –AllowOAuthHttp

Error :Register-SPWorkflowService : Failed to query the OAuth S2S metadata endpoint at URI '_layouts/15/metadata/json/1'. Error details: 'The metadata endpoint responded with an error. HTTP status code: Forbidden.'

Please let me know, if you have resolved the same or any idea how to resolve it??


Possible to rehost the designer and target Workflow Manager 1.0?

$
0
0

I'm trying to enhance the demo with a rehosted designer, so that the designer only has the elements available to it that are also in the trusted platform.

Do you have any suggestions on how to accomplish this or is this straightforward?    I think I remember a VS2012 project that did this but I can't locate it.  (or not sure which download it's in) 

Cannot Configure Workflow Manager

$
0
0

Hello,

I'm having trouble configuring WM on my machine. In a nutshell, it complains about the Fabric Data Collection Agent being disabled. Here's the full error message:

Starting

Validating input and configuration parameters.
Installing auto-generated certificate.
Granting 'Log on as Service' privilege to the run as account.
Windows Fabric configuration started.
Running Windows Fabric deployment.
Program C:\Program Files\Windows Fabric\bin\Fabric\Fabric.Code.1.0\FabricDeployer.exe exited with error: Windows Fabric deployment failed.DeploymentValidator: warning: The Fabric Data Collection Agent is disabled for this deployment.
None of the declared nodes is for the current machine.

And here's the log file:

[Verbose] [25-10-2012 09:29:36]: Validating input and configuration parameters.
[Progress] [25-10-2012 09:29:36]: Validating input and configuration parameters.
[Verbose] [25-10-2012 09:29:36]: Installing auto-generated certificate.
[Progress] [25-10-2012 09:29:36]: Installing auto-generated certificate.
[Verbose] [25-10-2012 09:29:46]: Granting 'Log on as Service' privilege to the run as account.
[Progress] [25-10-2012 09:29:46]: Granting 'Log on as Service' privilege to the run as account.
[Verbose] [25-10-2012 09:29:46]: Windows Fabric configuration started.
[Progress] [25-10-2012 09:29:46]: Windows Fabric configuration started.
[Verbose] [25-10-2012 09:29:48]: Windows Fabric cluster manifest generated.
[Verbose] [25-10-2012 09:29:48]: Running Windows Fabric deployment.
[Progress] [25-10-2012 09:29:48]: Running Windows Fabric deployment.
[Error] [25-10-2012 09:29:50]: System.Management.Automation.CmdletInvocationException: Program C:\Program Files\Windows Fabric\bin\Fabric\Fabric.Code.1.0\FabricDeployer.exe exited with error: Windows Fabric deployment failed.DeploymentValidator: warning: The Fabric Data Collection Agent is disabled for this deployment.
None of the declared nodes is for the current machine.


 ---> System.InvalidOperationException: Program C:\Program Files\Windows Fabric\bin\Fabric\Fabric.Code.1.0\FabricDeployer.exe exited with error: Windows Fabric deployment failed.DeploymentValidator: warning: The Fabric Data Collection Agent is disabled for this deployment.
None of the declared nodes is for the current machine.



   at Microsoft.ServiceBus.Commands.Common.ProcessHelper.RunCommandInProcess(String exeName, String arguments, String errorString)
   at Microsoft.ServiceBus.Commands.AddSBHost.ProcessRecordImplementation()
   at Microsoft.ServiceBus.Commands.ServiceBusBaseCmdlet.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
   at Microsoft.Workflow.Deployment.ConfigWizard.CommandletHelper.InvokePowershell(Command command, Action`3 updateProgress)
   at Microsoft.Workflow.Deployment.ConfigWizard.ProgressPageViewModel.AddSBNode(FarmCreationModel model, Boolean isFirstCommand)

I must say that all AppFabric services are running, even AppFabric Event Collection Service (don't know if it is the same, though).

Any ideas? Has anyone experienced this problem?

Cheers,

RP

Return colleciton of Json objects from workflow application that are retrieved from ASP.NET Web API service

$
0
0

our Workflow application invokes ASP.NET Web API web service and based on workflow it returns the same data(collection of Json objects) to the caller(client).

In other words after meeting the workflow requirements it needs to get data from Web API(collection of Json objects), then loop through the json objects and return the same collection to the client. 

I have tried using DynamicValueProperties with no out come. What type should i choose to loop through the json objects collection that are returned from Web API service and return the same collection to the client from Workflow application? 

Can BuildDynamicValue suffice the requirement? I would like to return the same that comes from Web api service to the client from the workflow application. Do not want to allow client making a Web API service.

Regards,

Apriori algorithm [association rule]

WFM Roadmap?

$
0
0


Hi,

We are trying to decide if some future release of WFM can be used in a mission-critical high-throughput enterprise solution that we are building on top of Service Bus. Our stumbling blocks are:

1. We need workflow activation from any Service Bus subscription or queue. Right now, we have some glue code that reads from a service bus queue and calls the WFM client API, so 2 hops instead of one.

2. Even though our workflow notifications are delivered by the service bus, there is no way to access the brokered message header from the workflow (at least, we haven't found one). And I mean the whole header, not just to user properties.

3. We need to build and send a brokered message directly from an activity, to any service bus queue or topic.

It is frustrating to have WFM sitting on top of the excellent service bus, but with a half backed integration. Handling brokered messages directly from activities seems to be an obvious feature, sadly missing.

Is there a roadmap for WFM, and if so, are brokered messages activities on it?

Thanks


Should Workflow application hosted in WF Manager return data or return service URI that provides the data from database

$
0
0

In evaluation phase it is understood that

  1. Windows workflow manager is the HOST (Multi-Tenent) for workflow applications by exposing WF apps as REST services.
  2. Using WF Manager client class client applications can invoke the workflows that are hosted in WF Manager

In enterprise applications is it correct to say that "Workflow application is responsible to execute automated business logic and provide a web service URI that can provide data to the end user"?

I think that WF application is NOT responsible to retrieve data from a web service(either WCF or ASP.NET Web API) and return to the client. In other words 'WF application should NOT return data by invoking another web service that provides data, WF application responsible to only execute workflow activities and return the data service uri'.

Help appreciated.


Apriori algorithm [association rule]

Viewing all 897 articles
Browse latest View live