cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Crazykarl7
New Member

Flow is triggering on wrong CDM

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Crazykarl7
New Member

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.

View solution in original post

3 REPLIES 3
tfhegdbn
Helper IV
Helper IV

 

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

Crazykarl7
New Member

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.

View solution in original post

 

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,

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

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,567)