How to trigger a scenario after other scenarios finished

Hello,
I have 3 scenarios:
val scn1 = scenario(“First scenario”)
val scn2 = scenario(“Second scenario”)
val scn3 = scenario(“Third scenario”)

setUp(scn1.inject(rampConcurrentUsers(1) to (scn1TargetUsers) during (rampUpDuration1)).protocols(myProtocol),
scn2.inject(rampConcurrentUsers(1) to (scn2TargetUsers) during (rampUpDuration2)).protocols(myProtocol ),
scn3.inject(atOnceUsers(1)).protocols(myProtocol )
)

Depending on user count, duration, etc… scn1 and scn2 can run a different amount of time before done. How can I trigger scn3 only when both scn1 and scn2 have finished running (0 active users on both scenarios)?

Thanks,
Simonas

We’ve introduced sequential scenarios in Gatling 3.4: https://gatling.io/docs/current/general/simulation_setup/#sequential-scenarios
However, they currently have a single parent - children hierarchy.

Thanks for the answer.

Regards,
Simonas