cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
guyinazo
Advocate V
Advocate V

Need advice on best way to trigger flow from SSIS

I am trying to just logically think this through and more heads are better than one.  I have a monthly SSIS job that runs on the 1st.  It gets data out of a database and creates a text (.dat) file and delivers it to a network share.  This file name is dynamic based on the date of the SSIS job, but maintains a ".dat" extension.  

 

I need to have a flow email a copy of that file to a manager who wants it.  I also will be creating a Power App so she will be able to get this file "on demand".  My struggle right now is what would the trigger to this flow be?  I thought I might create a table that stores the datetime value that the procedure is run and thought using the SQL connector in flow (item created) that it would work, but it seems not to be working.  (Does flow have an issue still is on-prem SQL?).  As a side note, I have the connection using a data gateway and in Power Apps, the tables are being show for the connected database, but they are not in the flow connector.

 

Am I overthinking this and is there a much easier way to maybe do this?  Thanks for the advice.

 

UPDATE:  I have it working doing this:  When the SSIS job runs, I have it saving the file to the URL of a SharePoint Document Library and it is working great and then I am using that as the trigger.  Now, can I use flow to copy that file from the Sharepoint to the file share and what connector would I use?

1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

Hi @guyinazo,

 

Thanks for updating. I am glad to hear that you have figured out a solution.

 

There is a limitation currently, SQL Server doesn’t work for on-premises SQL Server. Please check the following blog for more details:

https://flow.microsoft.com/en-us/blog/introducing-triggers-in-the-sql-connector/

 

Where do you want to save the file share? If it is on your local disk, please consider using connector File system. Please check the doc on Filer system for more details:

https://docs.microsoft.com/en-us/connectors/filesystem/

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

Hi @guyinazo,

 

Thanks for updating. I am glad to hear that you have figured out a solution.

 

There is a limitation currently, SQL Server doesn’t work for on-premises SQL Server. Please check the following blog for more details:

https://flow.microsoft.com/en-us/blog/introducing-triggers-in-the-sql-connector/

 

Where do you want to save the file share? If it is on your local disk, please consider using connector File system. Please check the doc on Filer system for more details:

https://docs.microsoft.com/en-us/connectors/filesystem/

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
GabrielStJohn
Community Champion
Community Champion

Hello, @guyinazo!

 

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-yamao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

 

-Gabriel
Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,290)