Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Can there be a variable created having value varying based on the JSON from predict

Super User
Super User

Hi @dc23 


Can you share a bit more information about your issue?



Sure, just to elaborate on my issue.


I have a sharepoint location from where invoices are being fetched and there is a situation in which there is more than once invoice. So I have used the AI builder to create a model and extract the data from the invoice. Now while creating the variable to go through each and every row for a table in the invoice, we have to provide value, this value I fetched from the JSON created after I ran the step to Predict the data. 

However, the JSON would change with the change in invoice. Hence I would need to have the initial value of the variable entered in such a way that it is not hardcoded but varies per the output from Predict.


Hope I'm able to explain it better.



Hi @dc23 


Could you please share a screen capture of your flow, i am still not clear on variable you are trying to use.

Thank you I got the solution by removing the initialize variable and taking the input of Parse JSON to be dynamic.



Helpful resources

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Users online (1,976)