Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Ms Flow Giving an Error "Could not find a property named 'cyno_auditsid' on type 'Microsoft.Dynamics.CRM.audit'."

Posted on by 377

Hi,

I want to trigger an ms flow on the date field of a custom entity(audits), It is a scheduled flow and it will trigger only condition if the date field(on hold) is equal to today's date and will shoot an e-mail, as I am trying the condition is same as per the the flow requirement  and flow is also running successfully but not shooting any e-mail and as I am using the CSV table for my testing purpose that whether data is coming or not form fetch, so CSV table is also empty.

As I removed the filter or condition  of date filed then flow is giving an error "Could not find a property named 'cyno_auditsid' on type 'Microsoft.Dynamics.CRM.audit'." 

My fetch is here:-

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="cyno_audits">
<attribute name="cyno_auditsid" />
<attribute name="cyno_name" />
<attribute name="createdon" />
<attribute name="cyno_onholduntil" />
<attribute name="cyno_auditfile" />
<order attribute="cyno_name" descending="false" />
<filter type="and">
<condition attribute="cyno_onholduntil" operator="on" value="@{variables('lastyeardate')}" />
</filter>
</entity>
</fetch>

Note:-variable lastyeardate value is here

lastyeardate= addDays(utcNow(),0,'yyyy-MM-dd')

flow-1.png

flow-2.png

  • Himanshu Kamboj Profile Picture
    Himanshu Kamboj 377 on at
    RE: Ms Flow Giving an Error "Could not find a property named 'cyno_auditsid' on type 'Microsoft.Dynamics.CRM.audit'."

    Thanks Mehdi!!

    Flow is working now.

  • Verified answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Ms Flow Giving an Error "Could not find a property named 'cyno_auditsid' on type 'Microsoft.Dynamics.CRM.audit'."

    Hi, 

    Yes, I think I understand the problem. You chose the wrong entity on the step list record. Please refer to the image below: 

    pastedimage1617874011838v1.png

  • Himanshu Kamboj Profile Picture
    Himanshu Kamboj 377 on at
    RE: Ms Flow Giving an Error "Could not find a property named 'cyno_auditsid' on type 'Microsoft.Dynamics.CRM.audit'."

    Hi,

    I have update my question with the screenshots.

    Thanks

  • meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Ms Flow Giving an Error "Could not find a property named 'cyno_auditsid' on type 'Microsoft.Dynamics.CRM.audit'."

    Hi,

    Can you please share some screenshots ?

  • meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Ms Flow Giving an Error "Could not find a property named 'cyno_auditsid' on type 'Microsoft.Dynamics.CRM.audit'."

    Hi,

    Can you please share some screenshots ?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans