How can I access the workflow ID in BeginOnSave / PersistenceIOParticipant?

試著忘記壹切 提交于 2019-12-12 05:49:23

问题


I'm using PersistenceIOParticipant to write the workflow status to a custom db table. I need the workflow ID - any ideas how I can access it from within BeginOnSave?


回答1:


As far as I know the only way is to retreive it in a activity from the execution context and pass that to your service.



来源:https://stackoverflow.com/questions/11051774/how-can-i-access-the-workflow-id-in-beginonsave-persistenceioparticipant

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