Doesn't a job contain the logbook to use so it seems pretty hard to know what job the workflow will be using at this stage right? See the job associate method that I think will help u here?