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

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (38,899)