1
Vote

Instance is being completed even though workbatchrolledback.

description

Instance is being completed even though workbatchrolledback.
Using ADOWorkbatchservice to have a transaction between application database & workflow database.
Using distributed transaction.
 
Any help is greatly appreciated.
Here is the trace:
 
GenericPersistenceService::LoadWorkflowInstanceState
GenericTrackingService::GetProfile
GenericTrackingChannel::Send
System.Workflow.Activities Information: 0 : Firing event RejectRequest for instance 50e325a3-934c-4004-b354-02da2334be49
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::MustCommit
GenericTrackingChannel::MustCommit
GenericTrackingChannel::Send
GenericPersistenceService::SaveWorkflowInstanceState
GenericWorkBatchService::CommitWorkBatch
AdoWorkBatchService::TransactionCreated
GenericTrackingChannel::Commit
AdoWorkBatchService::WorkBatchRolledback
GenericTrackingChannel::Complete
GenericPersistenceService::Complete
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Complete
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::Complete
GenericTrackingChannel::Send
GenericTrackingChannel::Send
GenericTrackingChannel::InstanceCompletedOrTerminated
GenericTrackingChannel::MustCommit
GenericTrackingChannel::Send
GenericPersistenceService::SaveWorkflowInstanceState
GenericTrackingChannel::MustCommit
GenericTrackingChannel::MustCommit
GenericPersistenceService::MustCommit
GenericWorkBatchService::CommitWorkBatch
AdoWorkBatchService::TransactionCreated
GenericTrackingChannel::Commit
GenericPersistenceService::Commit
AdoWorkBatchService::WorkBatchCommitted
GenericTrackingChannel::Complete
GenericPersistenceService::Complete
GenericPersistenceService::LoadWorkflowInstanceState
GenericPersistenceService::LoadWorkflowInstanceState - An unexpected exception occurred while performing a workflow persistence operation. WFTools.Services.Persistence.PersistenceException: Instance with identifier 50e325a3-934c-4004-b354-02da2334be49 could not be loaded.
at WFTools.Services.Persistence.Ado.AdoPersistenceResourceAccessor.CheckResult(DbCommand dbCommand, String resultParameter, String instanceParameter)
at WFTools.Services.Persistence.Ado.AdoPersistenceResourceAccessor.RetrieveInstanceState(Guid instanceId, Guid ownerId, DateTime ownedUntil)
at WFTools.Services.Persistence.GenericPersistenceService.LoadWorkflowInstanceState(Guid instanceId)

comments