Declare and use global variable

I think you can select scope to the entire flowchart or sequence it will assign values globally