the wrong key was being used to access the workflow id in the cache