I have an an Activity which has an escalation.
In the escalation this instantiates a .NET assembly that calls 2 web methods to 1) Perform various functionality then update an activity field with a result. 2) Sleep the workitem.
The majority of time this works fine, however on multiple occasions the update to the K2 activity field in 1) doesn't occur. The workitem update reports successful but the update doesn't actually happen. The logs suggest it has been updated but checking n_ActInstDestDataAudit] there is no change to the field. The 2nd Web method Sleeps the workitem fine but on the workitem object doesn't seem to have the activity field value updated in 1).
Any ideas why the first update doesn't update or is being overwritten?