web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Condition never evalua...
Power Automate
Suggested Answer

Condition never evaluates to TRUE although field is empty

(0) ShareShare
ReportReport
Posted on by
Hi everyone,
I’m trying to integrate a SharePoint list (Flights) with an Outlook calendar using Power Automate, and after many attempts I’m completely blocked by a condition that never evaluates as expected.
Below is the full explanation of the scenario and everything that has already been tested.
Flow goal
  • When a flight is created in a SharePoint list:
    • Create an Outlook calendar event
    • Store the Outlook Event ID in a SharePoint column
  • When the flight is modified:
    • Update the existing Outlook event using that stored ID
    • Avoid creating duplicate calendar events
SharePoint – “Flights” list
Relevant columns:
  • Fechadesalida (Date)
  • Fechadellegada (Date)
  • Origen (Text)
  • Destino (Text)
  • Movilidadprueba (Lookup – employee)
  • ID Evento Outlook (Single line of text)
Important:
  • The real internal name of the Outlook ID column is:
  • ID_x0020_Evento_x0020_Outlook
  • The column:
    • Is created in the list
    • Is added to the “Item” content type
    • Is visible in SharePoint
    • Is empty for new items
Power Automate – Flow structure
  1. Trigger
    When an item is created or modified (SharePoint – Flights list)
  2. Get item
    • Site: correct
    • List: Flights
    • Id: ID from trigger
  3. Compose – “Check Outlook ID”
    Expression:
trim(
  coalesce(
    outputs('Get_item')?['body/ID_x0020_Evento_x0020_Outlook'],
    'EMPTY'
  )
)
Runtime output is always:
EMPTY
Condition (advanced mode)
Tested expressions, for example:

@equals(outputs('Check_Outlook_ID'), 'EMPTY')
and also:
@empty(
  coalesce(
    outputs('Get_item')?['body/ID_x0020_Evento_x0020_Outlook'],
    ''
  )
)
Problem
Even though:
  • The Compose output is “EMPTY”
  • The SharePoint column is actually empty
  • The flow runs without errors
The condition always evaluates to False
As a result:
  • The YES branch never runs
  • The Create event (V4) action is always skipped (grey)
  • No Outlook event is created
  • No Outlook Event ID is written back to SharePoint
What has already been checked / tested
  • Correct internal column name (ID_x0020_Evento_x0020_Outlook)
  • Column added to the content type
  • “Get item” retrieves other fields correctly
  • Tested coalesce, empty, trim, string, length
  • Debug Composes (value + length)
  • Compose runs successfully (green)
  • Returned value is always “EMPTY”
  • No runtime errors
  • Outlook permissions are NOT the issue (the action never executes)
Main question
Why does a condition checking an empty field (empty(...)) or a Compose that clearly returns “EMPTY” always evaluate to False and never enter the YES branch?
Is there any known behavior related to:
  • Lookups / content types
  • Get item vs trigger body
  • Newly added columns
  • Null vs empty string handling in Power Automate
Any help or alternative approach would be greatly appreciated, because right now the flow executes but never creates the Outlook event.
Thanks in advance
Captura1.PNG
Captura.PNG

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    I would suggest you add a Compose action in your flow and populate it with the value of ID_x0020_Evento_x0020_Outlook. After the flow runs, check what is in the compose action.   
     
    It also seems like the scanning of attachments is broken. You should edit your post and paste the images into the body of the post instead of attaching them. When you do, include a flow run of the compose action showing the output with the ID_x0020_Evento_x0020_Outlook value. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard