Scheduling two agent task chains with a central selection mechanism