1
Vote

Workflow is getting completed even after workbatch rolled back (AdoWorkBatchService::WorkBatchRolledback)

description

Workflow is getting completed even after workbatch rolled back (AdoWorkBatchService::WorkBatchRolledback)
Any idea when this could happen.
I am using adoworkbatch service to have the application database & workflow database in a single transaction. it is distributed transaction.
It is not writing anything in the tracking tables but completing the workflow and unable to load the workflow next time.
Deleted the workflow item from the instance_state table.

comments

vasu wrote Feb 4, 2009 at 5:07 PM

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)

wrote Feb 13, 2013 at 8:53 PM