web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow is triggering on ...
Power Automate
Unanswered

Flow is triggering on wrong CDM

(0) ShareShare
ReportReport
Posted on by 9

Hello,

 I have 2 Dynamics databases (1 production 1 sandbox).  I have a flow that will take data from the dynamics system and put them into a on-premise SQL server using the gateway.  Because I'm using the gateway I have the flow in the default environment.

 

The trigger for the flow is automatic based upon if a value in the lead is modified using the CDS connector. The trigger/connector is pointed to the production instance. When the sandbox is updated, the flow is triggering. Looking at the flow run, it says it's production. 

 

Sandbox is a restored copy of production.

 

Any ideas on how to get this to stop?  I have a copy of the same flow for sandbox to transfer data to a sandbox SQL server but my expectation is that the trigger will only be triggered for the environment specified in the flow.

Categories:
I have the same question (0)
  • tfhegdbn Profile Picture
    149 on at

     

    Unsure if this is an issue, you can contact MS support to resolve your issue.

  • Verified answer
    Crazykarl7 Profile Picture
    9 on at

    I think I fixed it. I changed the trigger to point to sandbox, saved it, and changed it back to point to production and saved it. That seems to have reset the connection so that it triggers on the correct DB.

  • v-bacao-msft Profile Picture
    on at

     

    Hi @Crazykarl7 ,

     

    Great! It appears that you have found a solution to your issue!

    If so, please click "Accept as Solution" on the reply that describes how you were able to solve your issue!

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard