cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rsparks
Helper V
Helper V

Array variable not showing up as available to attach to email

I have a powerapps form that allows the user to add an attachment. This flow pulls the data that they've submitted and puts it into a table, and then forwards it to those who require the data. 

 

I found a guide suggesting that attachments need to be put into an array first, and then they can be added as an attachment to an email.

 

The problem is that the array variable does not display as an option under the Attachments Name or Attachments Content (I assume this is the correct option) sections.

 

 

1.PNG

2.PNG

3.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @rsparks ,

 

You need to click the "T" icon, then the type of this field will become array, then you can fill the array variable here.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

 

Hi @rsparks ,

 

You need to click the "T" icon, then the type of this field will become array, then you can fill the array variable here.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

EDIT: Solved. Had to input body('Get_attachment_content').$content as an expression, not just as plaintext.

 

 

@v-bacao-msft 

 

I'm now getting another error. I don't understand, the 'To', 'Subject' and 'Body' fields clearly have data in them. What are the "required input parameters" that flow needs?

 

1.PNG

2.PNG

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (45,479)