问题
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