本文介绍了读取Statemachine工作流程中定义的不同状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我们使用代码分离模板创建了一个工作流程,并将其编译成一个程序集。现在我们如何在另一个.net程序的编译程序集中读取状态名称,状态之间的事务处理箭头等不同状态。这些不同的状态被视为不同的任务,这需要从主机应用程序分配给不同的用户。请提出意见 敬意的是Sreejith Hi,                                  We have created a workflow using code separation template and compiled it into an assembly. Now how can we read different states like state name, transisaction arrows between the states, within the compiled assembly from another .net program. These different states are considered as different tasks and this need to be assigned to different users from the host application. Please adviceregardsSreejith推荐答案 if (!txtBizUnit.Text .Equals( string 。空)) {if (!txtBizUnit.Text.Equals(string.Empty)){ TrackingDataItemValue trackingItem = 新 TrackingDataItemValue (); trackingItem.QualifiedName = txtQualifiedName.Text; TrackingDataItemValue trackingItem = new TrackingDataItemValue();trackingItem.QualifiedName = txtQualifiedName.Text; trackingItem.FieldName = trackingItem.FieldName = " BizUnitName" ; trackingItem.DataValue = txtBizUnit.Text; "BizUnitName";trackingItem.DataValue = txtBizUnit.Text; options.TrackingDataItems.Add(trackingItem); options.TrackingDataItems.Add(trackingItem);} options.statename(strStateName ); workflows = trackingQuery.GetWorkflows(options); options.statename(strStateName);workflows = trackingQuery.GetWorkflows(options); 但我认为没有。 在我的应用程序上试用了一个月之后,在我看来,WF 3.0对于业务应用程序来说并不是一个好的,它更适用于系统级应用程序。我可能会放弃使用WF并自己编写代码。 But I don't thinkthere is any.After trying it for one month on my app,in my opinion, WF 3.0 isn't really a good one for business applications, it's more for system level applications.I will probably give up using WF and write code on my own. 这篇关于读取Statemachine工作流程中定义的不同状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-18 01:11