本文介绍了动态更改自定义活动属性。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我可以动态更改自定义活动的属性,这些属性是在设计时设置的。我试过"WorkflowChanges"类,但似乎它不会再次调用工作流实例时反映更改。例如,我有一个属性"Precondition"。对于我在设计时设置的字符串类型的自定义活动,现在我想改变它在我的代码中,即。动态。如何实现。
谢谢苛刻。
Can i change the properties of a custom activity dynamically ,which are set at design time . I have tried "WorkflowChanges" class but it seems it doesnt refect the change when the workflow instance is invoked again. For example , I have a property "Precondition" for my custom activity of string type whose value i set at design time , now i want to change it In my code,i.e. Dynamically .How it can be achieved .
Thanks
Harsh.
推荐答案
这篇关于动态更改自定义活动属性。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!