There are no local variables on a process instance level. The idea of a local variable is that it exists in a child scope of a process instance. So via the RuntimeService you can use the method getVariablesLocal with an executionId as the input parameter.