Workflow stopped working in ax 2012-Cannot edit a record in Workflow tracking status table

Error Description

Workflow stopped working.

This exception is coming in event log
 X++ Exception: Workflow work item escalation failed! Please contact your system administrator.
 at WorkflowTrackingTable-saveTracking
SysWorkflowWorkItem-escalate

X++ Exception: (S)\Jobs\

 at 
X++ Exception: Cannot edit a record in Workflow tracking status table (WorkflowTrackingStatusTable).
Update must be performed inside a transaction.
second is this Update must be performed inside a transaction.

Workaround for solution:

I did following things to resolve this error.

1. Synchronization of Data dictionary.
2. Run Full Compile 
3. Stop Ax service.
4. Restart Ax server.
5. Restart Ax services.