Problem mixing OOTB SPD WFAs and Custom WFAs

北战南征 提交于 2019-12-02 03:53:25

I have acually solved this problem in my open source project. Download the source code from http://spdactivities.codeplex.com/ and look at the source for one of the permission activities. The reason your code does not work is because the OOTB activities participate in a transaction and your custom activity does not. That is why your custom activity runs before all OOTB activities.

To participate in the workflow you need to implement IPendingWork and submit to WorkflowEnvironment.WorkBatch. HTH

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