Skip to content

Passing Data To Future Steps in case of temporary file paths and logger #4577

Closed Answered by fmbenhassine
Sax388 asked this question in Q&A
Discussion options

You must be logged in to vote

While the example in the reference documentation updates the key on every write (like updating a counter for instance), this is not necessary. In your case, if the preparation step is a simple tasklet that creates the temporary folder, then the path of the folder can be put in the job execution context only once.

Using a job parameter should work as well if the temporary folder is created before launching the job (to be able to pass the path of the folder as a job parameter).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Sax388
Comment options

@fmbenhassine
Comment options

Answer selected by Sax388
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants