executeMicroflowAsUser

0
Running a batchjob that inspects every user, picks up a few things, and submits an e-mail to that user. A MF(1) loops through the users and calls executeMicroflowAsUser2 to execute MF2 that creates and submits the mail, using user local times instead of UTC. First user runs without problems. But with the second user the executeMicroflowAsUser2 call waits 5 minutes and then starts MF2. Third user also waits 5 minutes. Probably locks are released every 5 minutes? How to release locks with every cycle of MF1? Will this problem also occur in test/acceptance/production?
asked
1 answers
0

Some deplyments later and it seems to work. Can't figure out why. But anyway...

answered