Which Variable Contains the TestStand Sequence Status?

Updated Jul 3, 2020

Reported In


  • TestStand

Issue Details

I'm working on a sequence and would like to know which variable has the information about the result of the sequence.


You can use the RunState.SequenceFailed to determine if a sequence has failed or passed. This variable however is boolean and will only return true or false values.

Another option is to use the RunState.Sequence.Main["MainSequence Callback"].Result.Status variable. This variable is a string and  will provide you with the status of the sequence. 

In this case "Main Sequence Callback" refers to the specific sequence that you want the information from. You can adjust the command so you can get the information out of your specific sequence.