Mutually Exclusive Autosys jobs

Hi

I have 2 autosys jobs (JobA and JobB) both are in different boxes but part of one big box. I want to make them mutually exclusive so that when JobA is running then JobB should not run and wait for jobA to finish/fail/terminate and vice versa.

Both jobs have their own starting conditions and they depend on their predecesors but then should not run at the same time. Is there any such setting in autosys?

SPJ.

Try adding in jobA:
condition: notrunning(job_B)

In jobB:
condition: notrunning(job_A)