Sunny -
I assume that you saying that you have taken the NI Sequence Call step type and have copied it to create your own version of it. I believe that you are asking whether your step type could not report the steps that were invoked and instead just show the step as a single step result.
When a step that calls a sequence completes, the following property "Step.Result.TS.SequenceCall" contains information about the called sequence including the its step results. If this property exists in the result, the report generation code knows that a sequence was called and creates the starting and ending block in the report.
To prevent the report from recognizing this property, you could add a Post Substep to your sequence call step type that uses the Active
X Adapter to call on "ThisContext", the method PropertyObject.DeleteSubProperty("Step.ResultTS.SequenceCall", 0x2 /*PropOption_DeleteIfExists*/). This would delete the property.
If you wanted to conditionally delete this property, you would have to have some additional code to a code module that determines whether to call the method.
Scott Richardson
Scott Richardson
https://testeract.com