0

The Screen flow is launched from quick actions on the contact record page. The flow is re-executing/ launched every time when the browser back button is clicked or trying to go back.

So the conditions/ decisions added will be executed again. Example :- on the verbal Commitment Status check decision for checkconditionvalidation and goes through the next decision and exits. works flawlessly, no issue works as designed/ excepted. But when the browser navigation buttons is clicked then the flow is running. For some of the Screen elements i have added an LWC toast message.

enter image description here enter image description here

enter image description here

2
  • I know it makes no difference, but I wonder why people are using that button. Having said that, you're right that the flow shouldn't auto-run when the back button is clicked. Commented Dec 19, 2023 at 1:47
  • Yes, makes no difference. Any ideas or anyway to prevent it from happening? Commented Dec 19, 2023 at 6:38

1 Answer 1

2

I have a hunch that when you click the screen flow button, it puts something into the URL or page parameters behind the scenes. I'd add an element at the end of the flow to navigate to the record, explicitly navigating to a "clean" URL.

2
  • Yes you are right about that. And i did exactly same thing, which worked. Thanks Commented Jan 10 at 13:40
  • Glad it helped. Please mark it as the best answer so others can learn from it in the future. Commented Jan 12 at 17:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .