Microflow activity: "Complete User Task"
In Mendix, when completing a WorkflowUserTask
using the "Complete User Task" microflow activity, we are required to manually provide the correct "Outcome"—even though the UserTask
is already passed as a parameter. See screenshot:
When pressing select, you have to look for and select the correct outcome that is related to the UserTask input parameter. It would be more intuitive if the available outcomes were automatically filtered based on the provided UserTask
parameter. Currently, users can select an outcome that does not match the UserTask
, which can lead to errors.
We choose to use the microflow activity instead of the button’s "Complete User Task" on-click event because we need to implement custom logic before completing the task. Given this, we would expect the functionality to automatically filter and present only the outcomes associated with the provided UserTask
input parameter. This is currently not supported by the latest Mendix version by the time of writing this idea (version 10.21.1)