I was trying in an expression rule from a processId to get the data that is inside the process variable, that is inside the process model.It is possible?
Discussion posts and replies are publicly visible
Yes, you can create a process report by that said process model. Then add the process variable as one of the report column. Now, using process Id you can query the process and get the process variable data.
You can go through this documentation for configuration steps : Configuring Process Reports