cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
angelsotomas
New Member

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

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.

 

 

7 REPLIES 7
plarrue
Power Apps
Power Apps

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 !

CapturaIPA1.JPGCapturaIPA2.JPGCapturaIPA3.JPGCapturaIPA4.JPG

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
New Member

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

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
New Member

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
New Member

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

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (4,916)