How can I access projectId in my procedure? Currently I have to rewrite that piece of logic everywhere. I would like to write it once in a procedure.