cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Chrisguff12
Resolver I
Resolver I

Email Datatable results after filtering with Json

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, 

1 ACCEPTED SOLUTION

Accepted Solutions
JisungHan
Microsoft
Microsoft

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-c...

 

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

View solution in original post

1 REPLY 1
JisungHan
Microsoft
Microsoft

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-c...

 

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

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,072)