Rapid Development 7.7 Error Has not been executed concurrent execution
Hi Mendix Community. I am taking the rapid Development online class I’m on 7.7 and I keep getting this error “Microflow 'JimmyFirstModule.ACO_ADE_Registration_SetTotalNumberOfRegistrations' has not been executed, as it does not allow concurrent execution.” The exercise is to show the count number of register attendee Thanks for your help!
There are a few things going wrong
[Red circles] You do commit the input/context object in a after commit event of the same object. Thus you create an infinite loop of commits.
[Purple circle] You are retrieving the wrong object. you should retrieve the training event of the registration
[Green square] You are changing (and committing) the wrong object. this should be the retrieved TrainingEvent (Purple circle issue)
[Yellow square] You return a integer value; which make no sense as it is an after commit event handler