Multiple entry points to same flow

I have a complex prototype where there will be a key task with multiple entry points to it through out the app. I am trying to figure out if it is possible with variables to achieve the following:

once the task flow is completed and they click “done” it will drop them back at that original entry point.

Right now I have duplicate flows for each entry point…

In theory yes, you can try conditional logic here. Something like you define the variable “flow-name” and at the entry you set some value like “flow-1”. At the end the back button to check “if flow-name == flow-1 navigate to Frame 1”

Interesting, I had few prototypes that does very similar things, will try myself when I had a chance