Now if you trying to remove variable declaration which is in use, you will see a message that this variable is in use and it is not possible to remove a declaration.
But, it can be not a trivial task to find all occurrences of this variable across the process.
It will be good to provide all Node names (and-or IDs) where process variable is in use.