Solution
The easiest way to achieve that is to use Sequence File Callbacks . In this particular case, the SequenceFilePostResultListEntry Engine Callback can help. It is executed after each step Result container is copied to the ResultList .
In this case, the callback sequence is very simple. It is just a statement step with the following setup:
Precondition:
Parameters
.Step.Result.Status == "Skipped"
Expression:
Parameters
.DiscardResult = True
This way, after the Result was written, the precondition is checked, seeing if the step was skipped or not.
If it was skipped, the logged Results get deleted from the ResultList.
Donwload the attached example and open the sequencefile with the Sequenceeditor. In order to succesfully run it, go to Edit->Sequence File Properties. In the Advanced tab under Model File, choose SequentialModel.seq and confirm with OK. Afterwards inspect and run the MainSequence with Execute->Single Pass. Notice that the skipped step is not part of the Report.