Cant do anything in Microflows

0
```htmlQuestionI'm encountering a "t is not a function" error when editing microflows in Studio Pro. This occurs on both versions 11.11 and 11.12 and is preventing me from continuing with the Crash Course.ContextFresh installations on both Studio Pro 11.11 and 11.12No additional marketplace modules installedError appears only when editing microflowsI've cleared the cache and restarted my laptopConfirmed the issue occurs consistently on both versionsWhat I NeedIs this a known issue, or could I be missing something in my setup that would resolve this?```
asked
7 answers
7

Hi Birkan,


I'm a developer working on the microflow editor. We received multiple reports on this.


This was triggered by a recent update to the Edge WebView component that changed how some built-in browser functionality works. This means that the problem is not limited to a single version of Studio Pro.


In any case, we found the cause and are in the process of fixing it for the MTS and LTS versions.


Aside from disabling the recommender, another workaround is to downgrade the Microsoft WebView runtime to 149 or lower in Windows, although I don't have specific instructions on hand on how to do that.

answered
8

MX Support gave me a temporary solution while we wait for a fix.


  1. Download the fixed version of WebView2, specifically version 149 for your specific architecture developer.microsoft.com/en-us/microsoft-edge/webview2
  2. Extract the .cab file to a folder using 7zip or other zip program
  3. Through start, search for "Environment Variables"
  4. In the window where you can set variables, under "User variables", click on new
  5. Set the name to: WEBVIEW2_BROWSER_EXECUTABLE_FOLDER
  6. Set the value to the fold where you extracted the cab file to. For example: C:\folder\Microsoft.WebView2.FixedVersionRuntime.149.0.4022.98.x64
  7. Restart/open the modeler again.


Attached is a screenshot of my settings. That fixed the error for me. Teams also uses WebView2 so you might need to restart that as well.





answered
3

I have this issue too and created a mendix ticket (282761). For now I'm using the workaround and duplicating existing microflows.

answered
1

Hi Birkan,

Kindly upgrade Mendix Studio Pro to version 11.12.1. Alternatively, uninstall the latest Windows update.

answered
0

For the record: this one also pops up for me.

  • Mx 11.12.0,
  • Open a microflow,
  • Put the focus in the recommender block (see attachment),
  • Click outside of the recommender block in the microflow.
  • Same error as Birkan.


Workaround is to not use the recommender thing, but that's easier said than done because it's default open when creating a new MF. Perhaps you can copy an existing MF?

answered
0

See the support article about this: Error when opening, creating, or editing a microflow or workflow in Mendix Studio Pro: t is not a f…

answered
0

I started to see this error today...
Mendix Version: 11.6.3


answered