cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

CSV to JSON V3.2 issues

Hello, I am trying to use a CSV to JSON template that I downloaded from here . I have to use this template because my csv file contains commas. 

The issue is that in the "Select CSV to JSON" step, the "From:" field is producing no inputs. I'm not sure where I went wrong. Any help would be appreciated, thanks.

Here are some screenshots for you guys.

Issue Screenshot:

AfonsoTanida_0-1691419787839.png

More Screenshots:

AfonsoTanida_1-1691419810993.png

AfonsoTanida_2-1691419849761.png

Let me know if any more screenshots are necessary. Thanks.

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

Alright it looks like your CSV just uses the \n linebreak without the \r return character. So in the settings action for the linebreak inputs you’ll need to remove one of the decodeuricomponent( ) expressions. Just leave the one decodeUriComponent(‘%0A’) expression.

That should get it splitting the linebreaks on the right character.

 

However because your data only uses the linebreak character \n, if any of your field values contains a linebreak, then the flow will also split on that in-data linebreak & error. So I hope you don’t have any multi-choice or multiline fields that include linebreaks.

View solution in original post

@AfonsoTanida 

 

You see this part of the JSON Schema?

"required": [
            "Name",
            "ID",
            "Description",
            "Status",
            "Planned Start Date",
            "Planned Finish Date",
            "Customer",
            "Permissions",
            "Project Manager",
            "CSR",
            "Billing Type",
            "Job Type",
            "Department Name",
            "Department ID",
            "Budgeted duration (hours)",
            "Budgeted Billing",
            "Budgeted Cost Employee Cost",
            "Sage Status",
            "Task",
            "Sage Customer",
            "Customer Number"
        ]

 

Instead blank it out…

"required": []

View solution in original post

12 REPLIES 12

The "From:" field code w/ screenshots.

take(skip(split(outputs('Compose_Reformat_back_to_CSV_with_new_delimiter'), outputs('Compose_CSV_data_+_Set-up')['LineBreak']), outputs('Compose_CSV_data_+_Set-up')['HeaderRowsToSkip']), sub(length(skip(split(outputs('Compose_Reformat_back_to_CSV_with_new_delimiter'), outputs('Compose_CSV_data_+_Set-up')['LineBreak']), outputs('Compose_CSV_data_+_Set-up')['HeaderRowsToSkip'])), outputs('Compose_CSV_data_+_Set-up')['FooterRowsToSkip']))

AfonsoTanida_0-1691419941801.png

 

takolota
Multi Super User
Multi Super User

@AfonsoTanida 

 

Why did you want the new delimiter to be a comma , ??

That part of the template is all about changing the delimiter to something other than a comma so the later Select action can properly parse the CSV data.

 

What happens if you use the default bar | as the “NewDelimiter” input?

 

I did have it as that an I got the same issue, I was just testing things out.

@AfonsoTanida 

 

Okay in that case could you share more of your output from the Reformat action?

 

I suspect it’s not finding the regular \r\n to split based on the CSV linebreaks, & it skips the 1st header row it gets in that piece, so it’s not splitting into multiple items, everything stays in the 1st item, then it skips that 1 & only item.

So we need to see if your linebreak characters are different, maybe it is just \n.

Then we can change the linebreak characters input in the settings action to adjust for that.

Thank you so much for helping me. Here is a screenshot and Input/Output from the previous "Compose Reformat back to CSV" step. (It definitely looks incorrect)

Screenshot:

AfonsoTanida_0-1691430550160.png

 

Input: 

"ID,Description,Status,Planned Start Date,Planned Finish Date,Type,Permissions,Project Manager,CSR,Billing type,Job type,Department name,Department ID,Budgeted duration (hours),Budgeted billing,Budgeted Cost Employee Cost,Sage Status,Task,Customer,Customer Number;1023-20-402-CIVL,Concrete Repair,Inactive,06/18/2020,12/31/2020,P;R;C,Civil=Superintendent,Covan, Matthew W.,Banda, Helen,Fixed fee,Repair,Civil,500,0.00,0.00,,Completed,GEN,Flint Hills Resources Houston Chem, LLC,1023;1127-20-312-TRAN,Insulation,Inactive,12/15/2020,02/28/2021,P;R;C,Transportation-Field=Superintendent,Jennings, Danna,Moore, Sharon,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,Odfjell Terminals Houston,1127;1259-20-002-ENVI,Crude Oil Spill,Inactive,12/17/2020,02/28/2021,P;R;C,Environmental=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Environmental,Environmental,600,0.00,0.00,,Completed,GEN,Petromax Refining Company, LLC,1259;1023-20-409-CIVL,Concrete Repair - Firehouse,Inactive,01/11/2021,01/18/2021,P;R;C,Civil=Superintendent,Covan, Matthew W.,Banda, Helen,Fixed fee,Repair,Civil,500,386.00,52200.00,20410.00,Completed,GEN,Flint Hills Resources Houston Chem, LLC,1023;1223-20-009-STER,Pellet Tank Stair Fabrication,Inactive,12/20/2020,03/31/2021,P;R;C,Structural Steel=Superintendent,Ramos, Jaime,Quintero, Christina,Fixed fee,Repair,Structural Steel,501,60.00,98800.00,1200.00,Completed,GEN,Chevron Philips Chemical Co,1223;1239-20-027-TRAN,Sandblasting T-706; T607,Inactive,12/19/2020,02/28/2021,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Moore, Sharon,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,Multi-Chem Group LLC/Athlon,1239;1223-20-010-CIVL,Utility Cooling Tower,Inactive,12/18/2020,01/31/2021,P;R;C,Civil=Superintendent,Covan, Matthew W.,Quintero, Christina,Fixed fee,Repair,Civil,500,0.00,56335.56,,Completed,GEN,Chevron Philips Chemical Co,1223;1239-20-018-MAIN,December Outage - R-3,Inactive,11/20/2020,12/31/2020,P;R;C,Maintenance - Enviro=Superintendent,Cortez, Adan,Banda, Helen,Time and material,Repair,Maintenance - Enviro,1000,0.00,0.00,,Completed,GEN,Multi-Chem Group LLC/Athlon,1239;1221-20-088-ENVI,Frac 6 - Sump & Diesel Containment Cleanout,Inactive,11/19/2020,12/31/2020,P;R;C,Environmental=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Environmental,Environmental,600,0.00,0.00,,Completed,GEN,Energy Transfer GC NGL Fractionators LLC,1221;1051-20-168-TRAN,Tank 200-7 - (2) 12'x50' HDPE Containments,Inactive,11/01/2020,12/31/2020,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,KM Bostco,1051;1122-20-222-TRAN,Styrene Leak Repair Hydromud,Inactive,11/02/2020,12/31/2020,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,INEOS Styrolution America LLC - Bayport,1122;1221-20-086-ENVI,Frac 1, 2, 3 - Sump & Diesel Containment Cleanout,Inactive,11/19/2020,12/31/2020,P;R;C,Environmental=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Environmental,Environmental,600,0.00,0.00,,Completed,GEN,Energy Transfer GC NGL Fractionators LLC,1221;1221-20-087-ENVI,Frac 4 & 5 - Sump & Diesel Containment Cleanout,Inactive,11/19/2020,12/31/2020,P;R;C,Environmental=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Environmental,Environmental,600,0.00,0.00,,Completed,GEN,Energy Transfer GC NGL Fractionators LLC,1221;1256-20-001-CIVL,Tank A-19 Diked Area Fill & Paving,Inactive,12/21/2020,03/27/2021,P;R;C,Civil=Superintendent,Garcia, Cesar E.,Quintero, Christina,Fixed fee,Repair,Civil,500,456.00,118025.00,17840.00,Completed,GEN,American Integrated Systems, Inc.,1256;1008-20-040-CIVL,Barge Dock 3 & 4 Crushed Concrete Repair,Inactive,11/19/2020,11/30/2020,P;R;C,Civil=Superintendent,Carter, Seth A.,Quintero, Christina,Fixed fee,Repair,Civil,500,0.00,6495.00,1885.00,Completed,GEN,Kinder Morgan - Pasadena,1008;1239-20-019-MAIN,December Outage - Boiler Water Feed,Inactive,11/20/2020,12/31/2020,P;R;C,Maintenance - Enviro=Superintendent,Cortez, Adan,Banda, Helen,Time and material,Repair,Maintenance - Enviro,1000,0.00,0.00,,Completed,GEN,Multi-Chem Group LLC/Athlon,1239;1122-20-223-TRAN,GF-349 I5 Filter Flush,Inactive,11/20/2020,02/28/2021,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,INEOS Styrolution America LLC - Bayport,1122;1008-20-041-TRAN,Tank 30-3 - Tank Bottoms,Inactive,11/20/2020,12/31/2020,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,Kinder Morgan - Pasadena,1008;1066-20-051-CIVL,DPRT Rail Expansion Civil,Inactive,11/24/2020,04/30/2021,P;R;C,Civil=Superintendent,Carter, Seth A.,Quintero, Christina,Fixed fee,New Construction,Civil,500,1673.00,222700.00,93600.00,Completed,GEN,BMWC Constructors Inc. (formerly ESW),1066;1012-20-165-STER,JSTR/Exxon Erect-A-Step Platforms,Inactive,11/20/2020,12/31/2020,P;R;C,Structural Steel=Superintendent,Carter, Seth A.,Quintero, Christina,Fixed fee,Repair,Structural Steel,501,291.00,30700.00,11500.00,Completed,GEN,Kinder Morgan Truck Rack,1012;1119-20-141-TRAN,Tank B-600 - SBS,Inactive,11/25/2020,12/31/2020,P;R;C,Transportation-Field=Superintendent,Jennings, Danna,Moore, Sharon,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,LBC Houston,1119;1089-20-152-TRAN,Railroad Ties,Inactive,11/30/2020,02/28/2021,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,INEOS Styrolution America LLC -Texas City,1089;1258-20-001-CIVL,Tank 200-3,Inactive,11/16/2020,11/30/2020,P;R;C,Civil=Superintendent,Carter, Seth A.,Quintero, Christina,Fixed fee,Repair,Civil,500,30.00,9500.00,1500.00,Completed,GEN,Don Miller & Associates, Inc,1258;1051-20-170-TRAN,Tank 150-005 Sandblast Sand,Inactive,12/03/2020,02/28/2021,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew#_4#,"

Output:

"ID,Description,Status,Planned Start Date,Planned Finish Date,Type,Permissions,Project Manager,CSR,Billing type,Job type,Department name,Department ID,Budgeted duration (hours),Budgeted billing,Budgeted Cost Employee Cost,Sage Status,Task,Customer,Customer Number;1023-20-402-CIVL,Concrete Repair,Inactive,06/18/2020,12/31/2020,P;R;C,Civil=Superintendent,Covan, Matthew W.,Banda, Helen,Fixed fee,Repair,Civil,500,0.00,0.00,,Completed,GEN,Flint Hills Resources Houston Chem, LLC,1023;1127-20-312-TRAN,Insulation,Inactive,12/15/2020,02/28/2021,P;R;C,Transportation-Field=Superintendent,Jennings, Danna,Moore, Sharon,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,Odfjell Terminals Houston,1127;1259-20-002-ENVI,Crude Oil Spill,Inactive,12/17/2020,02/28/2021,P;R;C,Environmental=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Environmental,Environmental,600,0.00,0.00,,Completed,GEN,Petromax Refining Company, LLC,1259;1023-20-409-CIVL,Concrete Repair - Firehouse,Inactive,01/11/2021,01/18/2021,P;R;C,Civil=Superintendent,Covan, Matthew W.,Banda, Helen,Fixed fee,Repair,Civil,500,386.00,52200.00,20410.00,Completed,GEN,Flint Hills Resources Houston Chem, LLC,1023;1223-20-009-STER,Pellet Tank Stair Fabrication,Inactive,12/20/2020,03/31/2021,P;R;C,Structural Steel=Superintendent,Ramos, Jaime,Quintero, Christina,Fixed fee,Repair,Structural Steel,501,60.00,98800.00,1200.00,Completed,GEN,Chevron Philips Chemical Co,1223;1239-20-027-TRAN,Sandblasting T-706; T607,Inactive,12/19/2020,02/28/2021,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Moore, Sharon,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,Multi-Chem Group LLC/Athlon,1239;1223-20-010-CIVL,Utility Cooling Tower,Inactive,12/18/2020,01/31/2021,P;R;C,Civil=Superintendent,Covan, Matthew W.,Quintero, Christina,Fixed fee,Repair,Civil,500,0.00,56335.56,,Completed,GEN,Chevron Philips Chemical Co,1223;1239-20-018-MAIN,December Outage - R-3,Inactive,11/20/2020,12/31/2020,P;R;C,Maintenance - Enviro=Superintendent,Cortez, Adan,Banda, Helen,Time and material,Repair,Maintenance - Enviro,1000,0.00,0.00,,Completed,GEN,Multi-Chem Group LLC/Athlon,1239;1221-20-088-ENVI,Frac 6 - Sump & Diesel Containment Cleanout,Inactive,11/19/2020,12/31/2020,P;R;C,Environmental=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Environmental,Environmental,600,0.00,0.00,,Completed,GEN,Energy Transfer GC NGL Fractionators LLC,1221;1051-20-168-TRAN,Tank 200-7 - (2) 12'x50' HDPE Containments,Inactive,11/01/2020,12/31/2020,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,KM Bostco,1051;1122-20-222-TRAN,Styrene Leak Repair Hydromud,Inactive,11/02/2020,12/31/2020,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,INEOS Styrolution America LLC - Bayport,1122;1221-20-086-ENVI,Frac 1, 2, 3 - Sump & Diesel Containment Cleanout,Inactive,11/19/2020,12/31/2020,P;R;C,Environmental=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Environmental,Environmental,600,0.00,0.00,,Completed,GEN,Energy Transfer GC NGL Fractionators LLC,1221;1221-20-087-ENVI,Frac 4 & 5 - Sump & Diesel Containment Cleanout,Inactive,11/19/2020,12/31/2020,P;R;C,Environmental=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Environmental,Environmental,600,0.00,0.00,,Completed,GEN,Energy Transfer GC NGL Fractionators LLC,1221;1256-20-001-CIVL,Tank A-19 Diked Area Fill & Paving,Inactive,12/21/2020,03/27/2021,P;R;C,Civil=Superintendent,Garcia, Cesar E.,Quintero, Christina,Fixed fee,Repair,Civil,500,456.00,118025.00,17840.00,Completed,GEN,American Integrated Systems, Inc.,1256;1008-20-040-CIVL,Barge Dock 3 & 4 Crushed Concrete Repair,Inactive,11/19/2020,11/30/2020,P;R;C,Civil=Superintendent,Carter, Seth A.,Quintero, Christina,Fixed fee,Repair,Civil,500,0.00,6495.00,1885.00,Completed,GEN,Kinder Morgan - Pasadena,1008;1239-20-019-MAIN,December Outage - Boiler Water Feed,Inactive,11/20/2020,12/31/2020,P;R;C,Maintenance - Enviro=Superintendent,Cortez, Adan,Banda, Helen,Time and material,Repair,Maintenance - Enviro,1000,0.00,0.00,,Completed,GEN,Multi-Chem Group LLC/Athlon,1239;1122-20-223-TRAN,GF-349 I5 Filter Flush,Inactive,11/20/2020,02/28/2021,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,INEOS Styrolution America LLC - Bayport,1122;1008-20-041-TRAN,Tank 30-3 - Tank Bottoms,Inactive,11/20/2020,12/31/2020,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,Kinder Morgan - Pasadena,1008;1066-20-051-CIVL,DPRT Rail Expansion Civil,Inactive,11/24/2020,04/30/2021,P;R;C,Civil=Superintendent,Carter, Seth A.,Quintero, Christina,Fixed fee,New Construction,Civil,500,1673.00,222700.00,93600.00,Completed,GEN,BMWC Constructors Inc. (formerly ESW),1066;1012-20-165-STER,JSTR/Exxon Erect-A-Step Platforms,Inactive,11/20/2020,12/31/2020,P;R;C,Structural Steel=Superintendent,Carter, Seth A.,Quintero, Christina,Fixed fee,Repair,Structural Steel,501,291.00,30700.00,11500.00,Completed,GEN,Kinder Morgan Truck Rack,1012;1119-20-141-TRAN,Tank B-600 - SBS,Inactive,11/25/2020,12/31/2020,P;R;C,Transportation-Field=Superintendent,Jennings, Danna,Moore, Sharon,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,LBC Houston,1119;1089-20-152-TRAN,Railroad Ties,Inactive,11/30/2020,02/28/2021,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew,Schexsnaider, Melissa,Time and material,Transportation,Transportation-Field,900,0.00,0.00,,Completed,GEN,INEOS Styrolution America LLC -Texas City,1089;1258-20-001-CIVL,Tank 200-3,Inactive,11/16/2020,11/30/2020,P;R;C,Civil=Superintendent,Carter, Seth A.,Quintero, Christina,Fixed fee,Repair,Civil,500,30.00,9500.00,1500.00,Completed,GEN,Don Miller & Associates, Inc,1258;1051-20-170-TRAN,Tank 150-005 Sandblast Sand,Inactive,12/03/2020,02/28/2021,P;R;C,Transportation-Field=Superintendent,Taylor, Matthew#_4#,"

 

Alright it looks like your CSV just uses the \n linebreak without the \r return character. So in the settings action for the linebreak inputs you’ll need to remove one of the decodeuricomponent( ) expressions. Just leave the one decodeUriComponent(‘%0A’) expression.

That should get it splitting the linebreaks on the right character.

 

However because your data only uses the linebreak character \n, if any of your field values contains a linebreak, then the flow will also split on that in-data linebreak & error. So I hope you don’t have any multi-choice or multiline fields that include linebreaks.

I'm getting a new error now in the "Parse JSON" step. The date format is MM/dd/yyyy

Screenshot of Fields:

AfonsoTanida_0-1691436090873.png

Schema:

{
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "Name": {
                "type": "string"
            },
            "ID": {
                "type": "string"
            },
            "Description": {
                "type": "string"
            },
            "Status": {
                "type": "string"
            },
            "Planned Start Date": {
                "type": "string"
            },
            "Planned Finish Date": {
                "type": "string"
            },
            "Planned Work": {
                "type": "string"
            },
            "Actual Start Date": {
                "type": "string"
            },
            "Actual Finish Date": {
                "type": "string"
            },
            "Actual Work": {
                "type": "string"
            },
            "Bill Rate": {
                "type": "string"
            },
            "Customer": {
                "type": "string"
            },
            "Permissions": {
                "type": "string"
            },
            "Notes": {
                "type": "string"
            },
            "Project Manager": {
                "type": "string"
            },
            "CSR": {
                "type": "string"
            },
            "Billing Type": {
                "type": "string"
            },
            "Job Type": {
                "type": "string"
            },
            "Department Name": {
                "type": "string"
            },
            "Department ID": {
                "type": "string"
            },
            "Budgeted duration (hours)": {
                "type": "string"
            },
            "Budgeted Billing": {
                "type": "string"
            },
            "Budgeted Cost Employee Cost": {
                "type": "string"
            },
            "Sage Status": {
                "type": "string"
            },
            "Task": {
                "type": "string"
            },
            "Sage Customer": {
                "type": "string"
            },
            "Customer Number": {
                "type": "string"
            }
        },
        "required": [
            "Name",
            "ID",
            "Description",
            "Status",
            "Planned Start Date",
            "Planned Finish Date",
            "Customer",
            "Permissions",
            "Project Manager",
            "CSR",
            "Billing Type",
            "Job Type",
            "Department Name",
            "Department ID",
            "Budgeted duration (hours)",
            "Budgeted Billing",
            "Budgeted Cost Employee Cost",
            "Sage Status",
            "Task",
            "Sage Customer",
            "Customer Number"
        ]
    }
}

Output:

{"errors":[{"message":"Required properties are missing from object: Planned Finish Date.","lineNumber":0,"linePosition":0,"path":"[0]","value":["Planned Finish Date"],"schemaId":"#/items","errorType":"required","childErrors":[]},{"message":"Required properties are missing from object: Planned Finish Date.","lineNumber":0,"linePosition":0,"path":"[1]","value":["Planned Finish Date"],"schemaId":"#/items","errorType":"required","childErrors":[]},{"message":"Required properties are missing from object: Planned Finish Date.","lineNumber":0,"linePosition":0,"path":"[2]","value":["Planned Finish Date"],"schemaId":"#/items","errorType":"required","childErrors":[]},{"message":"Required properties are missing from object: Planned Finish Date.","lineNumber":0,"linePosition":0,"path":"[3]","value":["Planned Finish Date"],"schemaId":"#/items","errorType":"required","childErrors":[]},{"message":"Required properties are missing from object: Planned Finish Date.","lineNumber":0,"linePosition":0,"path":"[4]","value":["Planned Finish Date"],"schemaId":"#/items","errorType":"required","childErrors":[]},{"message":"Required properties are missing from object: Planned Finish Date.","lineNumber":0,"linePosition":0,"path":"[5]","value":["Planned Finish Date"],"schemaId":"#/items","errorType":"required","childErrors":[]},{"message":"Required properties are missing from object: Planned Finish Date.","lineNumber":0,"linePosition":0,"path":"[6]","value":["Planned Finish Date"],"schemaId":"#/items","errorType":"required","childErrors":[]},{"message":"Required properties are missing from object: Planned Finish Date.","lineNumber":0,"linePosition":0,"path":"[7]","value":["Planned Finish Date"],"schemaId":"#/items","errorType":"required","childErrors":[]},{"message":"Required properties are missing from object: Planned Finish Date.","lineNumber":0,"linePosition":0,"path":"[8]","value":["Planned Finish Date"],"schemaId":"#/items","errorType":"required","childErrors":[]},{"message":"Required properties are missing from object: Planned Finish 

Input:

{"content":[{"Name":"1023-20-402-CIVL:Concrete Repair","ID":"1023-20-402-CIVL","Description":"Concrete Repair","Status":"Inactive","Planned Start Date":"1023-20-402-CIVL","Planned FInish Date":"1023-20-402-CIVL","Planned Work":"","Actual Start Date":"","Actual Finish Date":"","Actual Work":"","Bill Rate":"","Customer":"1023-20-402-CIVL","Permissions":"1023-20-402-CIVL","Notes":"","Project Manager":"1023-20-402-CIVL","CSR":"1023-20-402-CIVL","Billing Type":"1023-20-402-CIVL","Job Type":"1023-20-402-CIVL","Department Name":"1023-20-402-CIVL","Department ID":"1023-20-402-CIVL","Budgeted duration (hours)":"1023-20-402-CIVL","Budgeted Billing":"1023-20-402-CIVL","Budgeted Cost Employee Cost":"1023-20-402-CIVL","Sage Status":"1023-20-402-CIVL","Task":"1023-20-402-CIVL","Sage Customer":"1023-20-402-CIVL","Customer Number":"1023-20-402-CIVL"},{"Name":"1127-20-312-TRAN:Insulation","ID":"1127-20-312-TRAN","Description":"Insulation","Status":"Inactive","Planned Start Date":"1127-20-312-TRAN","Planned FInish Date":"1127-20-312-TRAN","Planned Work":"","Actual Start Date":"","Actual Finish Date":"","Actual Work":"","Bill Rate":"","Customer":"1127-20-312-TRAN","Permissions":"1127-20-312-TRAN","Notes":"","Project Manager":"1127-20-312-TRAN","CSR":"1127-20-312-TRAN","Billing Type":"1127-20-312-TRAN","Job Type":"1127-20-312-TRAN","Department Name":"1127-20-312-TRAN","Department ID":"1127-20-312-TRAN","Budgeted duration (hours)":"1127-20-312-TRAN","Budgeted Billing":"1127-20-312-TRAN","Budgeted Cost Employee Cost":"1127-20-312-TRAN","Sage Status":"1127-20-312-TRAN","Task":"1127-20-312-TRAN","Sage Customer":"1127-20-312-TRAN","Customer Number":"1127-20-312-TRAN"},{"Name":"1259-20-002-ENVI:Crude Oil Spill","ID":"1259-20-002-ENVI","Description":"Crude Oil Spill","Status":"Inactive","Planned Start Date":"1259-20-002-ENVI","Planned FInish Date":"1259-20-002-ENVI","Planned Work":"","Actual Start Date":"","Actual Finish Date":"","Actual Work":"","Bill Rate":"","Customer":"1259-20-002-ENVI","Permissions":"1259-20-002-ENVI","Notes":"","Project Manager":"1259-20-002-ENVI","CSR":"1259-20-002-ENVI","Billing Type":"1259-20-002-ENVI","Job Type":"1259-20-002-ENVI","Department Name":"1259-20-002-ENVI","Department ID":"1259-20-002-ENVI","Budgeted duration (hours)":"1259-20-002-ENVI","Budgeted Billing":"1259-20-002-ENVI","Budgeted Cost Employee Cost":"1259-20-002-ENVI","Sage Status":"1259-20-002-ENVI","Task":"1259-20-002-ENVI","Sage Customer":"1259-20-002-ENVI","Customer Number":"1259-20-002-ENVI"},{"Name":"1023-20-409-CIVL:Concrete Repair - Firehouse","ID":"1023-20-409-CIVL","Description":"Concrete Repair - Firehouse","Status":"Inactive","Planned Start Date":"1023-20-409-CIVL","Planned FInish Date":"1023-20-409-CIVL","Planned Work":"","Actual Start Date":"","Actual Finish Date":"","Actual Work":"","Bill Rate":"","Customer":"1023-20-409-CIVL","Permissions":"1023-20-409-CIVL","Notes":"","Project Manager":"1023-20-409-CIVL","CSR":"1023-20-409-CIVL","Billing Type":"1023-20-409-CIVL","Job Type":"1023-20-409-CIVL","Department Name":"1023-20-409-CIVL","Department ID":"1023-20-409-CIVL","Budgeted duration (hours)":"1023-20-409-CIVL","Budgeted Billing":"1023-20-409-CIVL","Budgeted Cost Employee Cost":"1023-20-409-CIVL","Sage Status":"1023-20-409-CIVL","Task":"1023-20-409-CIVL","Sage Customer":"1023-20-409-CIVL","Customer Number":"1023-20-409-CIVL"},{"Name":"1223-20-009-STER:Pellet Tank Stair Fabrication","ID":"1223-20-009-STER","Description":"Pellet Tank Stair Fabrication","Status":"Inactive","Planned Start Date":"1223-20-009-STER","Planned FInish Date":"1223-20-009-STER","Planned Work":"","Actual Start Date":"","Actual Finish Date":"","Actual Work":"","Bill Rate":"","Customer":"1223-20-009-STER","Permissions":"1223-20-009-STER","Notes":"","Project Manager":"1223-20-009-STER","CSR":"1223-20-009-STER","Billing Type":"1223-20-009-STER","Job Type":"1223-20-009-STER","Department Name":"1223-20-009-STER","Department ID":"1223-20-009-STER","Budgeted duration (hours)":"1223-20-009-STER","Budgeted Billing":"1223-20-009-STER","Budgeted Cost Employee Cost":"1223-20-009-STER","Sage Status":"1223-20-009-STER","Task":"1223-20-009-STER","Sage Customer":"1223-20-009-STER","Customer Number":"1223-20-009-STER"},{"Name":"1239-20-027-TRAN:Sandblasting T-706; T607","ID":"1239-20-027-TRAN","Description":"Sandblasting T-706; T607","Status":"Inactive","Planned Start Date":"1239-20-027-TRAN","Planned FInish Date":"1239-20-027-TRAN","Planned Work":"","Actual Start Date":"","Actual Finish Date":"","Actual Work":"","Bill Rate":"","Customer":"1239-20-027-TRAN","Permissions":"1239-20-027-TRAN","Notes":"","Project Manager":"1239-20-027-TRAN","CSR":"1239-20-027-TRAN","Billing Type":"1239-20-027-TRAN","Job Type":"1239-20-027-TRAN","Department Name":"1239-20-027-TRAN","Department ID":"1239-20-027-TRAN","Budgeted duration (hours)":"1239-20-027-

 

@AfonsoTanida 

 

You see this part of the JSON Schema?

"required": [
            "Name",
            "ID",
            "Description",
            "Status",
            "Planned Start Date",
            "Planned Finish Date",
            "Customer",
            "Permissions",
            "Project Manager",
            "CSR",
            "Billing Type",
            "Job Type",
            "Department Name",
            "Department ID",
            "Budgeted duration (hours)",
            "Budgeted Billing",
            "Budgeted Cost Employee Cost",
            "Sage Status",
            "Task",
            "Sage Customer",
            "Customer Number"
        ]

 

Instead blank it out…

"required": []

You're a legend mate.

Thank you for all the help. Everything is working now. I believe I just have one last question for you. How can I convert everything back into a csv file? The reason for this is because as you can see from my previous posts, I added columns and concatenations to the existing csv file. Thank you.

@AfonsoTanida 

 

There is a “Create CSV table” action you can use.

And that can actually take a JSON array as an input, so in the template instead of the Apply to each loop, you would just put the output of your Select or whatever action you used to add columns into the Create CSV table action.

From there you can put the output of the Create CSV table action in the File content input of a Create file action.

You're amazing man. Thank you so much for all your help. The flow is completely done now.

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (814)