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 :
Microsoft Dynamics CRM (Archived)

Error in Action for missing values

(0) ShareShare
ReportReport
Posted on by 790

dear all

i have one "Action" which retrieves 6 EntityReferences from opportunity entity, this works fine if all 6 EntityReferences have values on the said opportunity, but if one of those field is empty, then i receive the following error:

Entity Reference cannot have Id and Key Attributes empty. If you contact support, please provide the technical details.

knowing that all parameters in the action are not "Required" by definition.

2019_2D00_03_2D00_20-14_5F00_11_5F00_07_2D00_Case_5F00_-Menu-Upload-case-for-Test-for-menu_2D00_upload.png

thanks,.

*This post is locked for comments

I have the same question (0)
  • Ahmad Saud Profile Picture
    790 on at

    below is a screenshot of the Action definition.

    2019_2D00_03_2D00_20-14_5F00_13_5F00_43_2D00_Process_5F00_-_5F00_TestFetch-_2D00_-Microsoft-Dynamics-365.png

    thanks,

  • Ahmad Saud Profile Picture
    790 on at

    below is a screenshot of the Action definition.

    2043.2019_2D00_03_2D00_20-14_5F00_13_5F00_43_2D00_Process_5F00_-_5F00_TestFetch-_2D00_-Microsoft-Dynamics-365.png

    thanks,

  • gdas Profile Picture
    50,091 Moderator on at

    Hi Ahmad ,

    I guess this is expected.  If I am not wrong  you are updating table after getting entity reference . So check which table you are updating with the output entity reference.

  • kyleknab Profile Picture
    517 on at

    How are you attempting to use those EntityReference outputs? Is something else, downstream, expecting a non-null EntityReference? Not quite clear, from your screenshots.

  • Ahmad Saud Profile Picture
    790 on at

    thank you all,

    dear Goutam/Kyle

    i am not updating any thing, i am just calling this action in some CASES where i need to get the information of other related cases (these information are on opportunity but i am accessing it from CASE).

    in another words, i do have an  opportunity with 6 lookup fields for 6 related cases(like child or related cases).

    so in some scenarios, while being on one of these 6 cases, i send an email to owner of (for example) case#4 and i reactivate case#2.. so that is why i am using this action to retrieve the information of the other related cases.

    thanks,

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans