Skip to main content

Notifications

Power Automate - Building Flows
Answered

Email Datatable results after filtering with Json

Posted on by 223

Hello,

Not sure if this is the right forum for my issue. Please let me know. Also I have just started using Flows and don't have have a lot of knowledge yet.

 

I am trying to make a flow that will send an email with the current data that has been filtered. I have used the same steps on another app by I cant get this one to work and keep getting an error on the button. I'm also not able to run the flow from the Flows Menu.

 

I'm not sure if my issue is with the Schema, or on my last app I used Switch and on this one I used Sort and Filter. 

 

Here is the OnSelect Property of the button.

Chrisguff12_0-1620780404150.png

 

Here is my flow 

Chrisguff12_1-1620780688205.png

Here is the Full Schema

 

 

{
 "type": "array",
 "items": {
 "type": "object",
 "properties": {
 "Title": {
 "type": "string"
 },
 "RequestedID": {
 "type": "string"
 },
 "DateRequested": {
 "type": "string"
 },
 "YearRequested": {
 "type": "string"
 },
 "Description": {
 "type": "string"
 },
 "RequestedBy": {
 "type": "string"
 },
 "ItemStatus": {
 "type": "string"
 },
 "CommonSupplies": {
 "type": "string"
 },
 "Category": {
 "type": "string"
 },
 "Cost": {
 "type": "string"
 },
 "Quantity": {
 "type": "string"
 },
 "TotalCost": {
 "type": "string"
 },
 "PartNumber": {
 "type": "string"
 },
 "Suppliers": {
 "type": "string"
 },
 "ConfigsArea": {
 "type": "string"
 },
 "Facility": {
 "type": "string"
 },
 "ApproverName": {
 "type": "string"
 },
 "Notes": {
 "type": "string"
 },
 "ItemLink": {
 "type": "string"
 },
 "TechName": {
 "type": "string"
 }
 },
 "required": [
 "RequestedID",
 "Description",
 "RequestedBy",
 "ItemStatus",
 "CommonSupplies",
 "Category",
 "Cost",
 "Quantity",
 "TotalCost",
 "PartNumber",
 "Suppliers",
 "ConfigsArea",
 "Facility",
 "ApproverName",
 "Notes",
 "ItemLink",
 "TechName",
 "DateRequested",
 "YearRequested"
 ]
 }
}

 

 

 

Thanks, 

  • Verified answer
    JisungHan Profile Picture
    JisungHan on at
    Re: Email Datatable results after filtering with Json

    Hi @Chrisguff12 ,

     

    Here is a good article to make the process: https://www.netwoven.com/2020/02/25/bulk-insert-data-into-a-sharepoint-list-from-powerapps-gallery-control/

     

    The items should be in a Collection rather than a single variable. After that, it can be sent to Power automate with the expression: 

    JSON( yourCollection, JSONFormat.IgnoreBinaryData)

     

    Hope this helps. Thanks!

     

    Best regards,
    Jisung Han

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard