Changed @executed handling to extract the procedure id from the action syntax.