web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / AI Model formprocessor...
Power Apps
Suggested Answer

AI Model formprocessor is not returning any values in the Result set

(2) ShareShare
ReportReport
Posted on by 3
This formula is OnChange action of the form processor and it was working fine but then it stopped returning any values in the Result Set.
 
ClearCollect(
    ExtractedData1,
    {
        Title: "Capacity",
        Value: Text(AIForm.Results.Capacity.Value), // Ensure correct data access
        Page: Value(AIForm.Results.Capacity.PageNumber),
        Confidence: Text(AIForm.Results.Capacity.Confidence * 100, "0.0") & "%"
    },
    {
        Title: "Speed",
        Value: Text(AIForm.Results.Speed.Value),
        Page: Value(AIForm.Results.Speed.PageNumber),
        Confidence: Text(AIForm.Results.Speed.Confidence * 100, "0.0") & "%"
    },
    {
        Title: "Type",
        Value: Text(AIForm.Results.Type.Value),
        Page: Value(AIForm.Results.Type.PageNumber),
        Confidence: Text(AIForm.Results.Type.Confidence * 100, "0.0") & "%"
    },
    {
        Title: "Quantity",
        Value: Text(AIForm.Results.Quantity.Value),
        Page: Value(AIForm.Results.Quantity.PageNumber),
        Confidence: Text(AIForm.Results.Quantity.Confidence * 100, "0.0") & "%"
    }
);
Categories:
I have the same question (0)
  • Suggested answer
    Ravi-Prajapati Profile Picture
    416 Super User 2025 Season 2 on at

    If your formula was working fine before but suddenly stopped returning values, here are some troubleshooting steps to diagnose and fix the issue:

    1. Check if AIForm Has Data

    If AIForm.Results is empty or does not contain expected values, your ClearCollect will not populate ExtractedData1. Test this by adding a label and setting its text to:

    Text(AIForm.Results)

    If nothing appears, the issue might be with your AI model or the form processor failing to extract data.

    2. Ensure Fields Exist in AIForm.Results

    If the structure of AIForm.Results changed, verify that Capacity, Speed, Type, and Quantity still exist. Try using:

    AIForm.Results.Capacity

    If it returns blank or an error, the field might be missing or renamed.

    3. Use the Monitor Tool

    Go to Advanced Tools → Monitor and observe what AIForm.Results contains when you submit a form. This can reveal if the AI model is returning empty results.

    4. Handle Missing Data with Defaults

    If some fields might be missing, update your formula to handle Blank() values:

    ClearCollect(
    ExtractedData1,
    {
    Title: "Capacity",
    Value: If(!IsBlank(AIForm.Results.Capacity), Text(AIForm.Results.Capacity.Value), "N/A"),
    Page: If(!IsBlank(AIForm.Results.Capacity), Value(AIForm.Results.Capacity.PageNumber), 0),
    Confidence: If(!IsBlank(AIForm.Results.Capacity), Text(AIForm.Results.Capacity.Confidence * 100, "0.0") & "%", "0%")
    },
    {
    Title: "Speed",
    Value: If(!IsBlank(AIForm.Results.Speed), Text(AIForm.Results.Speed.Value), "N/A"),
    Page: If(!IsBlank(AIForm.Results.Speed), Value(AIForm.Results.Speed.PageNumber), 0),
    Confidence: If(!IsBlank(AIForm.Results.Speed), Text(AIForm.Results.Speed.Confidence * 100, "0.0") & "%", "0%")
    },
    {
    Title: "Type",
    Value: If(!IsBlank(AIForm.Results.Type), Text(AIForm.Results.Type.Value), "N/A"),
    Page: If(!IsBlank(AIForm.Results.Type), Value(AIForm.Results.Type.PageNumber), 0),
    Confidence: If(!IsBlank(AIForm.Results.Type), Text(AIForm.Results.Type.Confidence * 100, "0.0") & "%", "0%")
    },
    {
    Title: "Quantity",
    Value: If(!IsBlank(AIForm.Results.Quantity), Text(AIForm.Results.Quantity.Value), "N/A"),
    Page: If(!IsBlank(AIForm.Results.Quantity), Value(AIForm.Results.Quantity.PageNumber), 0),
    Confidence: If(!IsBlank(AIForm.Results.Quantity), Text(AIForm.Results.Quantity.Confidence * 100, "0.0") & "%", "0%")
    }
    );

    This prevents errors if some fields are missing.

    5. Check Form Processor Component

    If the AI Model was retrained or updated, the output structure might have changed. Try:

    • Re-checking the field mappings in the Form Processor component.
    • Testing the Form Processor with a sample document in the AI Builder model.
  • SK-21022312-0 Profile Picture
    3 on at
    I have tried all the mentioned solutions. I am getting these four fields in my analyser but not in the Result Set. The same formula was working one day before and it is strange that it started giving errors now. Even when I select Fields nothing is being returned.  

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard