cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mohanprasadm
New Member

Issue retrieving data from Predict

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

Thanks for the response! I was able to resolve the issue by changing the field type from Whole number to simple text. Thanks

View solution in original post

2 REPLIES 2
CedrickB
Power Apps
Power Apps

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.

Thanks for the response! I was able to resolve the issue by changing the field type from Whole number to simple text. Thanks

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (2,508)