Big Picture: make the parameter persistent by writing it to disk
One way to pass parameters between nonadjacent jobs in an Azkaban flow is to operate on the JOB_OUTPUT_PROP_FILE just before you need the parameter. It is necessary to do this using a shell script because the JOB_OUTPUT_PROP_FILE variable is not directly available to a given job.
This approach writes the relevant information to a file and read it just before it is needed using a helper script. Parameters can be passed to adjacent jobs by writing to the JOB_OUTPUT_PROP_FILE at each step.

Concept
- write a file to disk that contains the information you wish to pass
- create a helper/preparation shell script that runs just before the job that needs the parameter
- use the parameter in your job
Example
In a scenario where the date when the first job in a flow was run needs to be used by a latter job, first write the relevant data to file. In this example, the current date in YYYY-MM-DD format is written to a local file called rundate.text
#step_1.job
type=command
dependencies=initialize_jobs
command=whoami
command.1=/bin/sh -c "date '+%Y-%m-%d' > rundate.text"
Then, just before the parameter is needed, run a prep script to make the parameter available.
#step_4_preparation.job
type=command
dependencies=step_3
command=whoami
command.1=/bin/bash rd.sh
step 4 preparation executes the following shell script (rd.sh)
#!/bin/sh
# this script takes the run_date value from the text file and passes it to Azkaban
# Now, the variable can be used in the next step of the job
RD=$(cat rundate.text)
echo "Now setting Job Output Property File with RD (run date) variable"
echo $RD
#This is the point where the parameter is written in JSON format
#to the JOB_OUTPUT_PROP_FILE, which allows it to be used in the next step
echo '{"RD" : "'"$RD"'"}' > "${JOB_OUTPUT_PROP_FILE}"
Then, in the following step, the parameter can be used, which is ${RD} in this example.
# step_4.job
type=command
dependencies=step_4_preparation
command=whoami
command.1=bash -c "echo ${RD} is the run date"