Cancel gh based on part of result/errors?

Is it possible to somehow cancel gh automatically on a certain condition met in some of the processes / datachains?

See for example this schematic.

also : Will gh start processing both complex processes in parallel if there are no dependencies between the two?