Hi,
I have a Workflow which uses the Microsoft Persistent Database. I need the ability to create an InstanceId within a _click event, and then associate that Id with all subsequent InstanceId's created. This is so I can update the 'parent' InstanceId and all its 'children' will automatically update in the Persistent Database.
I have been trying to use OnBeginAssociateKeys() method but have not had any success.
How do I implement this method? How/when does it update the KeysTable?
Any help or info is appreciated. Thanks.
What I have tried:
The method is currently called in WorkflowHostForm class. I call the method within my workflow using, OnBeginAssociateKeys(keys, callback, state);,
but the [System.Activities.DurableInstancing].[KeysTable] does not get populated.