Getting “ActionBranchingConditionNotSatisfied” while sending mail using Microsoft flow in SharePoint online

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

  •  29-01-2021
  •  | 
  •  

Pergunta

I have created a flow for sending mails using below condition.

BirthDay(list column) values is equal to convertTimeZone(utcnow(), 'UTC', 'W. Europe Standard Time', 'dd/MM')

enter image description here

while running the flow i'm getting below one.

enter image description here

Mailing format is below one.

enter image description here

please help.

Thanks in advance

Foi útil?

Solução

I think you are getting this exception because, "Expression result" in your 1st image is "false". So it will not execute "If yes" block. instead it will execute "If no" block.

In Order to make it execute your "If yes" block and send email to respective user, you need to make the condition from your 1st image to true.

Please follow below links to make your condition correct:

  1. Compare dates - Sharepoint Calendar.

  2. Is there an expression in Flow like =TODAY().

Update(as you corrected formula):

Use below formula for your condtion to check if today is the BirthDay of user.

@equals(formatDateTime(items('Apply_to_each')?['BirthDay'], 'YYYY-MM-dd'), formatDateTime(utcNow(), 'YYYY-MM-dd'))
Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top