如何访问持久化实例的变量值? [英] How to access variable values of persisted instance?

查看:72
本文介绍了如何访问持久化实例的变量值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从持久实例中获取变量值?我有一个接受订单的工作流,并且有一个名为CustomerNumber的变量.订单初始化后,它等待订单批准.我想计算特定客户的等待工作流程. 我可以使用提升值或跟踪.如果在实例化工作流之前先构建它们,则此方法有效.在数百个工作流运行并持续存在之后,如果我决定访问另一个变量OrderDate,则跟踪和提升的价值将无法正常工作.

is it possible to get variable values from persistent instance? i have a workflow that accepts orders and have a variable called CustomerNumber. after order initialized it waits for order approve. i want to count waiting workflows for a specific customer. i can use promoted values or tracking. this methods work if i build them before i instantiate workflows. after hundreds of workflow run and persisted, if i decide to access another variable OrderDate tracking and promoted value will not work.

查询(访问变量值)持久化实例的最佳方法是什么?

what is the best way to query(access variable values) persisted instances?

atmuc

推荐答案

如果修改后的值不起作用,请尝试反序列化实例属性

If the pormoted value won't work,  try desserialize instance property

如何:反序列化实例数据属性

How to: Deserialize Instance Data Properties

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


这篇关于如何访问持久化实例的变量值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆