Scheduled Event Not Working Correcly

0
Hi all.   I have a mendix on premise solution. I have a scheduled event which calls some rest services to get data and then updates  an entity.   Currently the process works 100% if I trigger it via a button call. However, it seems like it’s doing a transaction rollback when run via the scheduled event. When I step through the flow there are no errors or breaks.   Did anyone ever encounter something similar?   The mendix version is 8.18.19
asked
3 answers
2

This could be related to the session’s current user

If you run from a button click, then you are logged in as a user through the UI

If you run from a scheduled event, which user are you?

answered
1

If there are autocommitted objects at the end of the ScheduledEvent, it will fail. You will be able to see this in the logmessages.  With a user running the transaction the autocommitted object will stay available untill logout, that could be a reason for the difference in outcome.

answered
0

Are you 100% sure that you configured the scheduled event correctly in your on premise environment? Maybe the accepted answer from this post helps: https://forum.mendix.com/link/questions/12082

answered