I would like to setup a daily export of data from Epicor Cloud to a local drive. Any suggestions?
When running the BAQ Export process a file is sent to a location where you have to manually download the file.
Thinking about using a report and setup advance print routing to email the file out, but that still doesn’t automate the process.
Microsoft Flow works great for doing this and you can create a flow that can allows a user to select a BAQ (source for export) and the target destination for the file. They can also be ran on schedules. Once a flow is created you can delegate the permissions to execute to as many as you would like (no local install required) Below is a sample flow that shows a bit of this. A simple replacement for BAQ Export Process
Steps:
Manual trigger - but could be scheduled or email triggered or a number of other triggers that start this. What is kind of cool is that this can be triggered by Flow mobile app which then could run this flow and email you the file
This is the REST connection (simple setup). Can add selection for what BAQ a user would like
Parse JSON (formats for easily consuming in CSV table)
Formats CSV table for file creation
Creates file on local file server, OneDrive, Google Drive, SharePoint or many others. Could prompt user for destination.
@danbedwards I have spent a few hours trying to wrap my head around this, but I’m still hitting a wall.
I keep hitting this error: The 'from' property value in the 'table' action inputs is of type 'Object'. The value must be of type 'Array'.
So, on your Parse JSON step, what is inside of it?
When I try to get Flow (Power Automate) to generate the schema, it starts with that “object” type. I think it’s trying to do something with the URL ahead of the array. Do you strip that out somehow?
I realized what it was - in the table step I used “body.” WRONG. I should be using “value” - that’s the array!
You answered what I asked, and your generated schema was slightly different than mine, but similar enough to let me know I was on the right track. Reevaluating the parse step (and a night’s rest) made me see I was grabbing the wrong object (or whatever).
Hi Jose, What about if I want to export the tables from Epicor Cloud into power Bi and do all transformations and clean up data into Power BI instead using BAQ?What’s the best practice? Sorry, I am very new to this.Thank you in advance.