Hi Sreedhar,
Could you please explain more of what you are trying to accomplish in terms of collecting the steps that fail and putting them into a subsequence.
Every step has a status property that indicates if the step has passed or failed. So you could at the end of your steps, add a for loop that loops through your status flags and check whether certain steps have failed or not.
In terms of having subsequences skip at run-time based upon failures, you can easily set up some pre-conditions (if step failed, passed, etc) for that subsequence by right-clicking on the sequence call step and selecting properties. Then under the General tab, select Preconditions.
Hope this helps!
Best Regards,
Jonathan N.
National Instruments