Microflow OIDC.CleanupOldAuthAttempts could not be found error

0
I updated to Mendix Studio Pro Version 10.18.0 and OIDC Version is 4.0.0. When I run the application locally, the console outputs the message: "Microflow 'OIDC.CleanupOldAuthAttempts' could not be found." The specific details are shown in the image. As you can see the microflow does exist.   
asked
2 answers
0

Hello Jah'Vonni Wright,

 

I encountered the exact same error message with scheduled events in my application.After some investigation, it turns out this occurs with all Scheduled Events that are disabled in the modeler. I can reproduce this in a new project as well.

 

If you double-click on the Scheduled Event "CleanupOldAuthAttempts," you'll likely see that "Enabled" is set to "No." I believe the error message will disappear if you change it to "Yes", correct?

 

I will report this as a bug to support.

 

002244-20250114-122853.png

answered
0

Hello Jah'Vonni Wright,

 

Maybe this could be caused by the renewal of the flow or better say the delete of the old one and the download of the new one. Although, they have the same name i could imagine that they mendix assigned them different GUID.

So when the function that tries to execute the microflow is searching with the old GUID I can imagine the microflow cannot be found.

 

In your case, i would do the following:

 

- Temporarily rename the microflow

- Verify the SE is set with the microflow 

(if you still receive the error then it tries to execute the old microflow)

- If you still receive the error check your taskqueue that are not fully executed yet, maybe they are still linked to the old microflow.

- Check if the function is still working with the new flow

- Delete the task queues that cannot be executed anymore

- Trigger the taskqueue with the new function(probably this goes automatically because this is a SE)

 

hope this works,

 

Good luck!

 

 

 

answered