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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / AI Builder Invoice Pro...
Power Automate
Unanswered

AI Builder Invoice Processing Automation Starter Kit - Assign Invoice field name to MS standard field name FAIL

(0) ShareShare
ReportReport
Posted on by 9

After training a second collection at model, assign Invoice field name to MS standard field name FAIL. Drop box not load any value for selection.

 

At Invoice processing with AI Builder model VIEW UNPROCESSED INVOICE have a ERROR CONNECTION, also link in model.

 

 

Categories:
  • plarrue Profile Picture
    Microsoft Employee on at

    Hello @angelsotomas ,

     

    Could you please provide us more details about what you are trying to accomplish ?

    i will be very happy to help

     

    Thank you !

  • angelsotomas Profile Picture
    9 on at

    CapturaIPA1.JPGCapturaIPA2.JPGCapturaIPA3.JPGCapturaIPA4.JPG

  • CedrickB Profile Picture
    Microsoft Employee on at

    Hi,

     

    Indeed, the contract used to store labels of the model has changed.

    You must edit the Power App.

    Go to fields mapping screen

    CedrickB_0-1605002316965.png

    Edit the OnVisible property

    CedrickB_1-1605002348966.png

     

    And change the code by this

    Set(
    ModelKeysCollection,
    If(
      IsMatch(FieldsJson,".*DocumentScanning-2.*"), 
        MatchAll(FieldsJson, """(?<label>[^""]*)"":\{""defaultId").label,
        MatchAll(FieldsJson, "newLabel"":""(?<label>[^""]*)").label
      )
    );

  • angelsotomas Profile Picture
    9 on at

    Well, I wish I could do what he tells me. We are not programmers, we are accountants. But, with patience and will, let's get to it. I think for some reason we can't do this edit. This notice appears at the top. The fields mapping screen option is not accessible from anywhere. Sorry for this inconvenience.CapturaSolucionAdministrada.JPG

  • CedrickB Profile Picture
    Microsoft Employee on at

    Hi,

    Sorry for the late answer.

    If you go to the left menu "Apps", you will see the "IPA Application".

    You can edit from there.

    CedrickB_0-1605286017866.png

     

  • angelsotomas Profile Picture
    9 on at

    No hurry. We have new problems. After making the suggested change (* syntax corrected). The maintenance tabs for providers and regions have disappeared. Thinking that this is a permission issue, I have started over in a new environment from scratch and have the same result. Additionally, in the new environment, the training of the model with more than one collection, now gives problems. Good weekend.

     

    * syntax corrected:

    Set(
    ModelKeysCollection;
    If(
    IsMatch(FieldsJson;".*DocumentScanning-2.*");
    MatchAll(FieldsJson; """(?<label>[^""]*)"":\{""defaultId").label;
    MatchAll(FieldsJson; "newLabel"":""(?<label>[^""]*)").label
    )
    );;

  • angelsotomas Profile Picture
    9 on at

    Monday news: the training of the model with more than one collection, run again.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard