Hello all,
I am sending a variable to flow through powerapps that is either true or false. In the condition i have the variable is equal to true. But it keeps going to false, the if no block. Is the way i am entering "true" wrong ?
Hi @mmattar
You expression true
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Would i utilize the bool(true) expression ?
Hi @mmattar
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
As @RezaDorrani mentions. In my experience its always best to enter True/False values as an expression when using them in a condition. Entering the text will sometimes work, but its spotty.
it may be how i am sending the variable from powerapps, because it doesnt seem to be working. Keeps defaulting to false in flow.
Button(for approving) OnSelect Property code:
UpdateContext({aprv: true});
AprvDenLeakNotification.Run(aprv,DataCardValue19_1.Text,DataCardValue19_1.Text, orderIdApvDenValue.Text,DataCardValue10.Text,userEmail)
Button(for denying) OnSelect Property code:
UpdateContext({aprv: false});
AprvDenLeakNotification.Run(aprv,DataCardValue19_1.Text,DataCardValue19_1.Text, orderIdApvDenValue.Text,DataCardValue10.Text,userEmail)
am i missing something ?
Hi @mmattar
in your flow I am assuming you are using a boolean variable to store this passed value
When u run the flow, check the value in this variable and share screenshot
In my understanding the boolean variable is Condition_ObjectName, which is a boolean being passed to powerapps.
by the way, the screenshots is a use cases for the flow to return true
yes but the variable is in the condition so cannot see its value in Flow
add a compose action before the condition
and add the boolen variable being passed from PowerApps to Flow in the compose action
then run you flow and share screnshot so we can see the value inside the compose action