function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vivek Pandey 102Vivek Pandey 102 

Same Flow is working differently in Orgs (Dev, Test and Prod)

Hi Folks,

I am working on a problem where user reproted that Flow is not working in prod environment. So to replicate that issue, I tried to login with affected user in lower env (Dev Org) and I found flow is working fine.

Then I followded same steps in Test Org flow did not work. It was not working as per design. Same flow versions are active in all these three Orgs(Dev, Test and Org). I checked all condition and everything looks same to same.

Can you please sugegst what could be the posisble reason. What should be done to find the root cause of this problem?
VinayVinay (Salesforce Developers) 
Hi Vivek,

You would need to debug flow and compare working and non working scenerio.  There would be many reasons why flow is not working in production.

Check below reference that can help you to debug flow.

Please mark as Best Answer if above information was helpful.

Vivek Pandey 102Vivek Pandey 102
Thanks Vinay for reply. As per working scenario

In Dev Org-
1# Flow moves to next screen from Screen 1 to end of the flow and create cases for user.
2# To do above, I logged in as affected user in Dev org and I was able to create case as affected users.

In Test Org-
1# I tried same as I did in Dev org, Cases could not be created ,I enetered all details in Screen 1 and click Next, Flow comes back to Screen 1.
Rest of the process did not take place.

2# I could not find option to run flow as different user in test org.

I will go through these links and will try to find out some issues in my flow
Vivek Pandey 102Vivek Pandey 102
Hi Vinay,

In Debug mode I can successfully run this flow in Test org. Cases are being created but when I run while login as this user through process/events, cases are not being created.