How do I correctly use Microsoft flow conditionals with a YES/NO Columnin A sharepoint list?

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/206163

  •  13-12-2020
  •  | 
  •  

Pergunta

I have a Sharepoint list that I have created for testing purposes only. What I am testing is sending an email with different content based on a conditional in a Microsoft-flow process. The conditional looks at a Yes/ No column called Test_YES_NO_DEFAULT_YES. As the name implies, that column always sends back a YES. The process works fine, but the conditional always sends back the IF NO in the email. This is what the flow looks like! enter image description here I have had tried 1, True, TRUE, true, yes, Yes, and YES with no results. What do I have to do In order for the conditional to execute the IF YES?

Foi útil?

Solução

It turns out that currently this can only be done in "advanced mode". Enter this formula:

@equals(triggerBody()?['Test_YES_NO_DEFDAULT_YES'], true)

Note that this is not the same as you tried (true), since writing "true" in Basic mode puts the string in the formula, instead of the bool value true.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top