If one of the branch would fail for parallel or multi instance flow, the entity would be saved in database.
If the user would cancel the flow, all the branches would be saved in database even the previous branch that failed. That would result in an exception: unique key validation for branchId and splitId.
If one of the branch would fail for parallel or multi instance flow, the entity would be saved in database. If the user would cancel the flow, all the branches would be saved in database even the previous branch that failed. That would result in an exception: unique key validation for branchId and splitId.
Signed-off-by: Larisa Bratean larisa-alexandra.bratean@microfocus.com