Hi helga,
It shouldn't be the case ideally that it will anyhow complete the user task even if the flow is not true
but my possible solution will be
From Where this microflow is being triggered if it is a button , create two buttons( 1 with onclick microflow with complete task and 2nd one with validation msg only) with same caption and wrap these buttons inside a dataview and put datasource as microflow in dataview and return reviewer list from microflow.
make both buttons visibility based on if returned reviewer list is empty or not ,.the button which will be visible on reviewer empty , call microflow with validation msg only.
Hi Helga,
I think you are trying to not execute after loop part when the condition is false(reviewer is empty)
Do one thing create one int/any variable before the decision
If condition satisfied change the variable value like 1,2 if not satisfied keep 0.
After loop before user task completed take another decision and check variable value Count>0 if condition satisfied write your MF logic,
if not satisfied end the event.
Hope you like the answer.