Hi,
Am new to Power Automate and finding my feet with it so apologies if the post doesn't make sense.
I'm trying to create a scheduled flow which connects to Harvest to return a list of Projects that I'm trying to store as a CSV file on a network drive.
I used the Harvest example provided which generates an HTML table which is emailed to me - this works ok so I know the connection and data retrieval is good.
Creation of HTML
I tried to replace the 'Create HTML Table' step with a 'Create CSV Table' step as shown.
Creation of a CSV (Attempt)
However, I get an error 'BadRequest. The 'from' property value in the table action inputs is of type 'Object'. The value must be of the type 'Array'.
Error
Watching some YouTube videos suggested I need to Create an Array first using the 'Initialise variable' step.
Question about next step
The questions I would appreciate help with are :
1) Is the Initialise Variable Step the correct approach?
2) What would I enter for the 'Value' field of the Initialize Variable?
3) Are the following steps likely to work or am I on the wrong track?
A) Recurrence - to establish a schedule to create the csv file
B) List Projects - to obtain the information from Harvest
C) Initialize Variable - to define the array
D) Create CSV Table - to generate the content retrieved from Harvest as a csv table
E) Create File - to save the csv onto a network drive
Thanks for any assistance,
Cheers,
Richard
Solved! Go to Solution.
Hi @Richard-J ,
You need to remove the Apply to each then the flow should work.
Best Regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Richard-J ,
You need to remove the Apply to each then the flow should work.
Best Regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-alzhan-msft Thank you for the help - Appreciate you taking the time to respond.
I'm very happy to see 4 green ticks on the flow 🙂
Happy Days
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
41 | |
40 | |
38 | |
34 | |
30 |
User | Count |
---|---|
47 | |
36 | |
34 | |
25 | |
24 |