workflowservice

Hosting a self-hosted WF in IIS

本小妞迷上赌 提交于 2020-01-01 19:29:06
问题 Does anyone know if it's possible to host a self-hosted WorkflowServiceHost application in IIS without turning it into a XAMLX file? If so, how? Furthermore, does anyone have any good guidelines for deploying XAMLX files in general to IIS 7? Thanks in advance 回答1: You can do the same basic thing by writing your own hosting engine instead of the XAMLX one. You can then load applications via ASP.NET, but have complete control on it's lifespan/lifecycle. You have to create your own host to load

How to programmatically terminate a workflow instance running as a workflow service

天涯浪子 提交于 2019-12-13 08:44:18
问题 I am using windows workflow service and would like to programmatically terminate a specific workflow instance via a web service request without building this into the workflow itself. By building it into the workflow itself, I mean having a specific Receive activity which will be responsible for terminating the activity. So I am imagining something like: http://myhost/myworkflowservice/myworkflow.xamlx/terminate Does this type of functionality exist? Thanks, Eric 回答1: Just add a Workflow

Invoke Child Workflow Activity Asynchronously

帅比萌擦擦* 提交于 2019-12-11 05:41:51
问题 Team: I need to invoke a WF activity (XAML) from a WF service (XAMLX) asynchronously. I am already referencing the Microsoft.Activities.Extensions framework and I'm running on the Platform Update 1 for the state machine -- so if the solution is already in one of those libraries I'm ready! Now, I need to invoke that activity (XAML) asynchronously -- but it has an output parameter that needs to set a variable in the service (XAMLX). Can somebody please provide me a solution to this? Thanks! *

Workflow Service stops responding after 464 messages

懵懂的女人 提交于 2019-12-11 01:04:10
问题 I am having a peculiar issue while executing workflows. I have tried everything I could think of and now need ideas. Here is my configuration: 1. A WF4 Workflow Service (xamlx) hosted in IIS 7 and uses net.msmq/netMsmqBinding for transport (MSMQ is transactional). 2. No Workflow Persistence is used. 3. I use a console app client to send messages to the workflow (each message creates new workflow). 4. Each workflow looks like: Wait for START message -> Wait for END message (I only send START

How do I handle “Receive” calls being made out of order?

左心房为你撑大大i 提交于 2019-12-06 09:47:36
问题 I have a WF4 service that emulates a sales funnel. It works by starting with a "Registration" receive call. After that, there are 10 similar stages (comprised of a 2 receives at each stage). You can't advance past a stage until after the current stage validates the data received. What I'm unsure about though is, even though my client app wouldn't allow for it, how can I make my workflow prevent anyone from calling the receive operations out of order? In my test console app, I let the user

Hosting a self-hosted WF in IIS

三世轮回 提交于 2019-12-04 19:12:37
Does anyone know if it's possible to host a self-hosted WorkflowServiceHost application in IIS without turning it into a XAMLX file? If so, how? Furthermore, does anyone have any good guidelines for deploying XAMLX files in general to IIS 7? Thanks in advance You can do the same basic thing by writing your own hosting engine instead of the XAMLX one. You can then load applications via ASP.NET, but have complete control on it's lifespan/lifecycle. You have to create your own host to load the .XAML workflows into something like a WorkflowApplication and manage the lifespan of that workflow. It

How do I handle “Receive” calls being made out of order?

时光毁灭记忆、已成空白 提交于 2019-12-04 17:38:07
I have a WF4 service that emulates a sales funnel. It works by starting with a "Registration" receive call. After that, there are 10 similar stages (comprised of a 2 receives at each stage). You can't advance past a stage until after the current stage validates the data received. What I'm unsure about though is, even though my client app wouldn't allow for it, how can I make my workflow prevent anyone from calling the receive operations out of order? In my test console app, I let the user call any receive operation (just because I wanted to see what happens). For example, if I call the

WCF Workflow Service REST interface [duplicate]

╄→尐↘猪︶ㄣ 提交于 2019-12-02 11:18:50
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: RESTful Workflow Service Endpoints in WF4 / WCF I am trying to make Windows Workflow Services 4.0 work with a REST interface. I have a very simple workflow service called "Service1" with a receiveRequest and sendResponse activity. By default WF Services autogenerate the classes and interfaces implemented, however i would like to force the WF Service to use my own REST enabled interface instead of some internal