If the steps follow each other, then for example, you can use RunState.PreviousStep or RunState.NextStep.
If they dont then you have to use RunState.Sequence.Main["step name"] or pass it to Locals/Parameters/FileGlobals/StationGlobals.
Hope this helps
Attached example hopely help you
Check out the text in the MessagePopup.