Error in cleaning up the Scheduled Event Information

1
Getting following error while trying to delete Scheduled Event Information data using the microflow  https://modelshare.mendix.com/models/e933f85b-8a26-46c5-b178-602a96a22464/scheduled-event-cleanup?embed=true Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.IllegalArgumentException: The current id belongs to another object type than the given type to set. Type of this MendixObject is 'System.ScheduledEventInformation', the given id is of type 'MicroflowScheduler.Schedule'
asked
2 answers
0

Hey Vasanthi,

I've currently been getting the same error message, but instead of finding an id of the MicroflowScheduler.Schedule entity, mine finds one from the ExcelExporterTemplateManager.MxConstraint entity. Which makes no sense as they're not related at all.

Have you been able to find a fix or cause for this? If not, does anyone else have any idea what might have caused this error?

Thanks!

answered
0

Why would you even bother using a microflow from 2015 for something which is pretty straightforward? Retrieve ScheduledEventInformation in a microflow, perhaps make some kind of time threshold (older than..) and delete (in batches, depending on the quantity). Make it into a scheduledevent and let it run every week or so..

answered