从客户端访问工作流信息

从客户端访问工作流信息

本文介绍了从客户端访问工作流信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是另一个问题!

我有一个与工作流服务进行交互的应用程序.工作流程由几个步骤组成,并且运行时间长.有几个接收活动.

I have an application that interacts with a Workflow Service. The Workflow is composed of several steps and is long running.  There are several Receive activities.

我希望我的服务器端工作流服务可以随着工作流的进行而存储一些信息.例如,我有一个州"字样,在我的工作流程中的不同位置设置值的变量.在客户端应用程序上,我需要 一种访问状态"值的方法.只要有对我的工作流程服务的调用,而不必在每次发送活动中明确地将其返回.

I'd like my server-side Workflow Service to store some information as the workflow progresses. For example, I'd have a "State" variable where the value is Set at different places in my Workflow. And on the client-side application, I'd need a way to access the value of "State" whenever there is a call to my Workflow Service, without having to explicitely return it in every Send activity.

 

有没有办法做到这一点?

Is there a way to do this?

 

谢谢!

推荐答案

似乎持久的双工相关性适用于您的情况. 持久双工相关性,也称为回调相关性"在工作流服务需要将回调发送给初始调用者时很有用. "有关详细信息, 请参考:

It seems the durable duplex correlation applies to your scenario. "Durable duplex correlation, also known as callback correlation, is useful when a workflow service has a requirement to send a callback to the initial caller. " For the detailed information, please refer to:

持久双工相关

http://msdn.microsoft.com/en-us/library/ee358740.aspx


这篇关于从客户端访问工作流信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 12:51