Resuming a persisted Window Workflow 4 Activity without knowing concrete type of activity

我的未来我决定 提交于 2019-12-06 13:13:40

There's no native support to do it through WF API, you've to come up with your own solution.

The fastest approach: Store Extensibility to use InstancePromotedProperties table to save your own properties.

Probably the correct approach: PersistenceIOParticipant seems the correct way of doing it. Just create your own table to store whatever you want including activity's type.

Use a custom activity to save it for you, somewhere, before persist. Not the best nor correct way of doing it for a variety of reasons.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!