Variables can be defined in processes, services and procedures.
Variables of process are created as part of the creation of the process instance.
Variables of services are created when the service is created as part of the creation of the containing process instance.
Local variables of a procedure become parts of the procedure instance when the procedure is called, and they cease to exist when the procedure returns.
Variables will get default initial values if nothing else is specified.