I have 3 command blocks that are activated individually, and occasionally two or all three of them are activated in the same tick. What I need is for the 3 command blocks to execute some command, then execute a chain of commands only once. The chain has to execute after the 3 impulse blocks execute their commands. If two command blocks are activated at the same time, then the chain should still only execute once.
What I'm wondering is if the design in the screenshot below does what I need, or if I should look for another method.
The two chain command blocks on the left are empty, while the chain command block in the middle above the impulse block contains the first command.