Pass the state through reevaluate_whenjobs and run_job.