Hi
I'm not exactly sure what you want but to I often use something like this to get current execution id and logfile..
#find last current job id and logfile
ID=`find /var/lib/rundeck/logs/rundeck/*/job/"${job.group}"/"${
job.name}"/logs -name '*.rdlog' -type f -printf "%f\n" | grep rdlog | cut -f1 -d'.' | sort -n | tail -1`
FILE=`find /var/lib/rundeck/logs/rundeck/*/job/"${job.group}"/"${
job.name}"/logs -name $ID.rdlog -type f | sed -e 's/ /\\ /g'`
then you can run the next job step
grep YOUR_CONDITION $FILE && conditionally-run-here..
Hope that helps,
K.