I wanted to know if the XOR-gateway used in join mode in this case is needed or not, thanks
The process starts, subsequently based on a condition (not specified in the picture), the "Task 1" activity is performed or no activity is performed. After the process must terminate. process under consideration I tried this solution, but i'm unsure.