cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kepcla
Helper II
Helper II

Powerapps V2 trigger MS Flow, (INPUT "File" type issue)

Hi Team,

I ´ve created a MS flow (see images below).

But the code in my button inside Powerapps, is not working, I´ll try with two codes:

1)   PDF_OC_RTME_F.Run("Test"&".pdf",Html_Resumen_4.HtmlText,To_Emails.Text,Gallery9.Selected.Proveedor,Body_Emails.Text,{file:First(Orden_Compra).Attachments.AbsoluteUri})

2) PDF_OC_RTME_F.Run("Test"&".pdf",Html_Resumen_4.HtmlText,To_Emails.Text,Gallery9.Selected.Proveedor,Body_Emails.Text,{file:DataCardValue32.Attachments.Value)

It says: Incompatible type, the "file" column in the data source you´re updating expects a "Record" type and you´re using a "Table" type.

 

Kepcla_0-1653327287891.png

in this second image, if you set the variable to "Object" , the system display an error as well.

Kepcla_1-1653327360903.png

 

Kepcla_2-1653327386450.png

 

Any ideas?

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @Kepcla ,

 

Currently, this is a known issue.

Please consider passing base64 or datauri instead of passing binary file directly.

Then you could use base64tobinary or datauritobinary function in flow to convert it .

 

Best Regards,

Wearsky

View solution in original post

Kepcla
Helper II
Helper II

Long road, but it works!

View solution in original post

2 REPLIES 2
v-xiaochen-msft
Community Support
Community Support

Hi @Kepcla ,

 

Currently, this is a known issue.

Please consider passing base64 or datauri instead of passing binary file directly.

Then you could use base64tobinary or datauritobinary function in flow to convert it .

 

Best Regards,

Wearsky

Kepcla
Helper II
Helper II

Long road, but it works!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,455)