Remove manually selection of Workflow when using Retrieve Workflow Context in microflow - Mendix Forum

Remove manually selection of Workflow when using Retrieve Workflow Context in microflow

8

Microflow activity: "Retrieve Workflow Context"

In Mendix, when retrieving the workflow context from a Workflow, we use the "Retrieve Workflow Context" microflow activity. However, to our surprise, we are required to manually select the workflow, even though we already provide the workflow object as a parameter.

This approach seems counterintuitive, as it allows users to select a different workflow than the one passed as a parameter, potentially leading to errors. Wouldn't it make more sense to rely solely on the workflow object parameter instead of requiring manual selection? See screenshot:

 

image.png

 

When pressing select, you have to look for and select the correct workflow that is equal to the already provided input parameter 'Workflow.' Currently users can select a workflow that does not match this input parameter, which can lead to errors. We would expect to the manual selection of workflow to be removed. This is currently not suppored by the latest Mendix version by the time of writing this idea (version 10.21.1)

 

This is not required by a different microflow activity such as 'Change workflow state'. See screenshot:

image.png

asked
0 answers