Set a specific state for launching a batch job.