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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Unable to apply condition on link entity attribute in ms flow.

(0) ShareShare
ReportReport
Posted on by 440

Hi,

I am sending an email using ms flow, In this flow I am using the fetch xml(list record) to get the link entity attribute and I want to check the null condition on link entity attribute.

As I have applied this expression  "items('Apply_to_each')?['emailaddress1'] is not equal null" it's giving false result while this emailaddress1 field contains the valid email address.

 Fetch:

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="invoice">
<attribute name="invoiceid" />
<attribute name="cyno_preparationofinvoicedate" />
<attribute name="cyno_invoiceduedate" />

<link-entity name="cyno_audits" from="cyno_auditsid" to="cyno_audits" link-type="inner" alias="aa">
<attribute name="cyno_auditfile" />
<link-entity name="cyno_lease" from="cyno_leaseid" to="cyno_leasefile" link-type="inner" alias="lease">
<attribute name="cyno_leasenumber" />
<attribute name="cyno_clientinternal" />
<attribute name="cyno_ctspm" />
<attribute name="cyno_ctsauditor" />

<link-entity name="account" from="accountid" to="cyno_account" link-type="inner" alias="account">
<link-entity name="contact" from="parentcustomerid" to="accountid" link-type="inner" alias="contact">
<attribute name="fullname" />
<attribute name="emailaddress1" />
<filter type="and">
<condition attribute="cyno_invoicingcontact" operator="eq" value="1" />
</filter>
</link-entity>
</link-entity>
</link-entity>
</link-entity>
</entity>
</fetch>

Q004b.png

I have the same question (0)
  • Verified answer
    Wahaj Rashid Profile Picture
    11,323 on at

    Hi,

    Thank you for your query.

    Linked Entity attributes are accessed using an alias.

    In your example, try with contact.emailaddress1.

    It would be easier for you to read/debug the body of the output of the list action to understand how the result is stored.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 123

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans