How to save a local variable (test case variable) as a global variable so that it can be used in another test case?

Few more thoughts on this.
I am not sure what the concerns are. I suppose here, @mwarren04011990 won’t like the execution profiles to be ‘polluted’ with unneeded variables.
Few solutions here.
Understanding how GlobalVariable works, we can put ‘irelevant’ variables in the default profile. There is no need to have a real default value, just to exist and be declared with the right type.
Relevant configuration data for the environment subject to test (staging, production etc) can be stored in the associated execution profile.
So, we segregate the configuration data from the shared data variables.

If this is also disliked, the GlobalVariables for data-sharing can be added ‘on-the-fly’ so will never be shown in the UI (Katalon never writes back such during/after the execution, like Postman do).
We simply extend the funtionality of GlobalVariables class to use it also as a container for temporary data.
An example of how this can be achieved is here: