Wokflow Target Users using Microlow is not working even if i add breakpoint for the microflow its not working mendix version 10.12.9

0
I am using workflow for the approval flow to assign the task to user i am using micrflow but it's not triggering , mendix version 10.12.9
asked
1 answers
0

Hi Lokesh,

If your workflow task microflow is not triggering in Mendix 10.12.9, there are several things you should check. First, ensure that the workflow itself is actually being started. The most common mistake is creating the workflow context object without committing it before calling the Start workflow action. The workflow engine only triggers if the context entity is committed to the database, so make sure your microflow sequence first creates the object, commits it, and then starts the workflow. Next, verify the user task assignment logic inside the workflow. Open the user task and check that the “Assign to” field contains a valid XPath or expression that resolves to an existing Mendix user. If the expression returns empty or invalid data, the task won’t be assigned, and the microflow will never execute. Also confirm that your microflow is properly linked to the workflow event, such as On Create or On Complete, and that its parameter type matches the expected entity. After upgrading to Mendix 10.12.9, you should also double-check that the workflow runtime is enabled under Project → Settings → Runtime → Workflow, and restart your app if you made changes there. Additionally, open Runtime → Workflows → Workflow Instances in Studio Pro to inspect whether your workflow instance is created and what its state is. If it appears stuck or not started, it usually means the workflow trigger or assignment failed. Finally, make sure all relevant user and module roles have the right access permissions for the workflow and its microflows, as role changes or deprecated workflow events may behave differently in Mendix 10.12.9. By verifying the workflow start trigger, assignment expression, microflow linkage, runtime settings, and permissions, you can systematically identify why the workflow microflow isn’t firing and fix it effectively.

 

hope it helps!

answered