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 Apps / Issue retrieving data ...
Power Apps
Answered

Issue retrieving data from Predict

(0) ShareShare
ReportReport
Posted on by 14

Hi 

I have created a Flow to fetch attachment from an email and predict and create a record in CDS. The flow works fine and creates the record but the value from the predict are not getting populated and all predict variables output shows null . Could you please let me know what  am I doing wrong here? please look at the attachment

 

Thanks

Mohan

 

Flow3.png
Flow.png
Categories:
  • CedrickB Profile Picture
    Microsoft Employee on at

    Hi Mohan,

    First of all, perform a "Quick test" in AI Builder model details page with the file you are sending by email to confirm that the fields are properly extracted.

    Then, place a text variable definition at the begin of you flow and initialize this variable before the predict.

    You will be able to check at runtime that the content of the attachment is properly retrieved. 

    Then make sure the document is really a PDF and that you are using the "Attachments Content" variable.

    Let me know if you are unblocked.

  • Verified answer
    mohanprasadm Profile Picture
    14 on at

    Thanks for the response! I was able to resolve the issue by changing the field type from Whole number to simple text. 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard