Error occurs on Task Queue Execution

0
I have a Microflow which executes Fine when triggered normally. However, when i try to trigger it from Task Queue it throws an error like below :    com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"current_activity":{"type":"End"},"name":"ExcelExport.SUB_Async_DynamicTemplateCreation","type":"Microflow"}', all database changes executed by this action were rolled back     at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:108) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"current_activity":{"type":"End"},"name":"ExcelExport.SUB_Async_DynamicTemplateCreation","type":"Microflow"}', all database changes executed by this action were rolled back     at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:23) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"current_activity":{"type":"End"},"name":"ExcelExport.SUB_Async_DynamicTemplateCreation","type":"Microflow"}', all database changes executed by this action were rolled back     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.processErrorState(CoreActionHandlerImpl.scala:153) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: Autocommitted objects detected at end of transaction for system session for entities:   - XLSReport.MxXPath: 5 instances
asked
1 answers
1

Hi,

 

The log reports: Autocommitted objects

 

Most likely, the error is caused by an error in your domain model. Also in your log when running the MF online, they should be visible in the Console log.

 

More explanation on Autocommitted objects, you can find here:

https://docs.mendix.com/refguide/committing-objects/#autocommit-and-associated-objects

 

Go Make It

 

answered