I have this FileWriter where I\'m trying to append the current Job Id to the filename that is generated.
FileWriter
#{stepExecution.jobExecution.id} or #{stepExecution.jobExecutionId} should work though.
#{stepExecution.jobExecution.id}
#{stepExecution.jobExecutionId}
The StepContext does provide access to the StepExecution for late binding via SpEL expressions.