Version: AX 2012 R3, SQL Server 2012
We have been experiencing an on-going problem with a data deadlock issue. We are using the delivered workflow batch process to post approved timesheets, but numerous timesheets are not being posted due to a data deadlock issue (the TSTimesheetsPostOperation.run batch job). After reviewing the batch job logs, it appears as though the batch job (i.e. sysworkflowmessagequeuemanager) launches several attempts at posting at the same time, and typically it is only the first one launched that is successful. The rest abort because the table ( reference is Accounting Event ) is locked.
This issue has been raised in several blog posts on the Internet, but no solutions have been forthcoming. We did check LCS and implemented a suggestion to increase the recurrence time to 5 minutes – this had no effect ( see Solution 3272330).
Problem sounds very similar to this thread:
https://community.dynamics.com/ax/f/33/t/142522