fix missing workflow retrieval
Merge pull request #5041 from ticoann/block_completion_fix

fix missing workflow retrieval