cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Export Dynamics accounts to SQL

Hi, I wonder if anyone would be kind enough to point me in the right direction.  

 

We have a dynamics database, and we want to publish a subset of the Accounts to a website.  We created an SQL database that contains the dataset we want to publish. 

 

We have added a custom yes/no field in dynamics that determines whether a record should be published/exported.

 

I would like to automate the process whereby the data in the SQL database is updated appropriately in the following circumstances:

 

  1. A new Dynamics account with publishable status set to "yes" is created, a new record is created in SQL
  2. An existing account's publishable status is changed to "yes", a new record is created in SQL
  3. An existing account's publishable status is changed to "no", the corresponding SQL record is deleted
  4. An existing account's publishable status set to "yes" is edited, the corresponding SQL record is updated

 

Alternatively, I'd be quite happy to simply drop and recreate the SQL table, and then populate it at set times. Either way, any pointer would be very welcome 🙂

 

TIA

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Export Dynamics accounts to SQL

Hi @AngeloA ,

 

Sorry for your requirement couldn't be achieved since the function to trigger a flow for a single column is updated is not supported in microsoft flow currently.

 

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.

View solution in original post

Highlighted
Community Support
Community Support

Re: Export Dynamics accounts to SQL

Hi @AngeloA ,

 

Yes, it could be done with microsoft flow, you could create a flow with trigger "Manually trigger a flow" or "recurrence", the screenshot of the flow should as below:

1.png 

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.

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Export Dynamics accounts to SQL

Hi @AngeloA ,

 

Sorry for your requirement couldn't be achieved since the function to trigger a flow for a single column is updated is not supported in microsoft flow currently.

 

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.

View solution in original post

Highlighted
Helper II
Helper II

Re: Export Dynamics accounts to SQL

Hi @v-alzhan-msft,

Thank you for your reply. How about pushing all records that fit a certain condition to an SQL table either at the push of a button, or at a certain time? could that be done?

TIA
Highlighted
Community Support
Community Support

Re: Export Dynamics accounts to SQL

Hi @AngeloA ,

 

Yes, it could be done with microsoft flow, you could create a flow with trigger "Manually trigger a flow" or "recurrence", the screenshot of the flow should as below:

1.png 

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.

View solution in original post

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (7,508)