11-28-2011 11:01 AM
Hi!
At design time of the sequence file I want to add additional information to the result containers to control the reporting of the step result. This additional information
must be possible to attach to every kind of step - even to NI step types. So (using TS2010) I think
attributes are the ideal solution.
Unfortunately attributes which I add to the 'Step.Result' property do not show up after executing the step in 'Locals.ResultList[x].Result' .
With subproperties of the result container this works as expected but not with the container itself.
Any ideas?
Ciao
sailor
11-28-2011 11:21 AM
The results in Locals.ResultList[] are created by copying the contents of Step.Result, but not Step.Result itself. If you want to attribute the result, you''ll need to put the attribute on the corresponding element of Locals.ResultList.
While in a step, this will typically be the last element in the locals.ResultList array. You might also find the Step.LastStepResult and Step.CurrentLoopResult properties useful. Note that steps that loop via loop properties create a result for each loop iteration and a final loop summary result.
11-29-2011 12:02 AM