Hi,

How do I put some values in the JobExecutionContext from a Tasklet?

I have tried the following, but getting back an error saying that the map is unmodifiable?

Code:
public RepeatStatus execute(StepContribution arg0, ChunkContext arg1) {

Sring value = "test";
		arg1.getStepContext().getJobExecutionContext().put("KEY", value);