cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JohnEl
Regular Visitor

failed to get dynamic schema

Hello,

I build a prediction model whose entity is fed every hour by an Excel file on OneDrive. It works very well.

I'm trying to build a flow from a solution with Power Automate so that a user can run my prediction model from a PowerApps application with a click of a button.

However, when I select my prediction model, I get an error message: Failed to get dynamic schema (translation). Any idea to solve this problem? Thank you.

7 REPLIES 7
JohnEl
Regular Visitor

flow.png

 

hi @JohnEl  do you share your model with the person who need it?

 



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
EricaBao
Community Support
Community Support

Hi John,

 

Have you trained your custom model and published it?

 

There are below prerequisites to use AI Builder in Power Automate:

 

1. you will need to create the flow inside a solution. More information: Create a flow in a solution.

2. it must be a trained AI Builder model or an AI Builder prebuilt model

 

Details about how to use a custom prediction model in power automate:

https://docs.microsoft.com/en-us/ai-builder/prediction-model-in-flow

 

 

 

kestenholz
Frequent Visitor

Hi John,

 

Have you added you trained "AI Model" to the CDS Solution from where you are creating your Flow?

Hello kestenholz, ChristainAbata, EricaBao,

 

Sorry for my late response and thanks a lot for your feedback.

 

My solution with Model : https://www.ve-studio.net/BorneoSolution_1_0_0_1.zip 

 

The error is located in the flow "PowerApp -> Predict"

.

Yes the prediction model has been trained and then published into a CDS solution. I manage to create an application controlled from this model and read the prediction data.

 

However, I would like to be able to run my model from a canvas application with a flow. To this end, I create a prediction flow in a solution and also integrate my model and my entity into it. In my flow, the error message appears when I call my custom prediction model.

 

the error message does not appear when I call a prebuild model such as:
- RecognitionText
- BusinessCardModel
- KeyPhraseExtraction
- LanguageDetection
- SentimentAnalys

 

Thank you so much.

MCNZulte
Advocate I
Advocate I

Bonjour @JohnEl ,

 

Your topic is 2 years ago, should you remember the solution for it? I'm having the same problem... desperate in search of a clue...

Clue found... delete browser-cookies en reload...
Child flow cannot retrieve dynamic schedule 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,442)