Terminate process if two flows reaches the end node?

Hi Everyone,

How can we terminate a process when two flows reaches the end node.

  Discussion posts and replies are publicly visible