Friday, March 6, 2020

Due date alerts batch job is not working in Microsoft Dynamics 365 F&SCM (Platform update 31)

With the Platform update 31, Platform update 32, you may experience the issue with Due date alerts batch job (System administration > Periodic tasks > Alerts > Due date alerts).

In general, Due date alerts batch job is in Executing status but does nothing, it just gets stacked.

The result of this is that Microsoft Dynamics 365 Unified Operations: Batch Management Service service is terminating unexpectedly and restarting every 2 mins.

Having investigated Due date alert batch job, the root cause was found. The system fails here:


As a workaround in order to fix it, you could set 2 weeks for the Alert rule instead of “is due in 1 calendar day”.

I do know that it’s quite an odd solution if you are using Due date alerts constantly.

The good news is that Microsoft released a hotfix already for this issue.

Platform 31 - KB 4537849 Stack overflow caused by recursion 
https://fix.lcs.dynamics.com/Issue/Details/1277393?kb=4537849&bugId=408330&dbType=3&qc=1efe704342b29b568e9306fead37964410dd0958d71da87fbcb070612a53c21b

Platform 32 - KB 4537705 Stack overflow caused by recursion
https://fix.lcs.dynamics.com/Issue/Details/1277393?kb=4537705&bugId=407923&dbType=3&qc=1efe704342b29b568e9306fead37964410dd0958d71da87fbcb070612a53c21b

You can use the link below to install these hotfixes: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/migration-upgrade/download-hotfix-lcs


No comments:

Post a Comment