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 / CDS - Current Environm...
Power Automate
Unanswered

CDS - Current Environment - Resource not found for the segment

(0) ShareShare
ReportReport
Posted on by 467

When working with the CDS current environment connector it's common to get Resource not found for the segment errors when processing a flow that is mapping values from CDS lookup fields.


The resolution I see posted in the forums is to wrap your field like so,

 

accounts(FieldName) where accounts is the internal name of the field within the CDS - This can be a pain to locate.

 

The issue I am seeing with this approach is when you have a null value the flow fails as it will result in acccounts() which creates the failure.  "The supplied reference link -- accounts() -- is invalid. " Causing the whole flow to fail.

 

I been testing out the follwoing solution to fix this however I have to ask what others are doing?  This does not feel like a scalable approach.  Why is this connector requiring this?  I have some flows that have 5-7 fields that I have to hardcode this procedure which clearly is bad practice.  

 

1.png2.png

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Dudditz

    I agree with you that it is a tricky way but it is the currently supported way while using CDS Current environment.

     

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard