Hi Samuel,
I don’t have a full understanding of the process you are working on but it sounds like you could perhaps use Xpath on your retrieve action to do the filtering for you. You should be able to add an xpath expression such as [Step.SteptoDigitalThreadAssociation = $SpecificDigitalThread] which should return only steps associated to a certain digital thread.
Hope this gets you pointed in the right direction.
Danny