Normally you should not have to commit in this case, however when using the filedropper the entity gets committed automatically (see also https://community.mendix.com/link/space/app-development/questions/142191 ).
In this case I would add an WizardStarted date attribute and use a daily scheduled event to delete the objects which are older than a day.
Hi Pascal,
If you have any of the below requirements
Yes it is definitely recommended to have commits.
And after all these activities, if data is not needed in Mendix, you can perform Delete object activity after your API call is made.
And another approach is, you can set a retention period and write a scheduler to delete the data automatically after the retention period is completed.
So all these depends on your business requirements
Regards,
Ajay