I am confused by the asynchronous Apex limits. The limit for number of batch jobs in the flex queue is 100, but the max number for batch jobs queued or active concurrently is 5. So my question is would the following code hit the second limit or not?
Database.executeBatch(myClass1, 200);
Database.executeBatch(myClass2, 200);
Database.executeBatch(myClass3, 200);
Database.executeBatch(myClass4, 200);
Database.executeBatch(myClass5, 200);
Database.executeBatch(myClass6, 200);
If it does hit the limit, what is the recommended workaround?