I'm using the sequential process model which includes database logging. I've modified the database schema and I am using my own insert statement. I'm trying to use the step results logging feature. I have 2 questions\issues I need help on:
First Issue:I've created an insert statement and specified it to apply to a step result. When I look at my database results table, it appears that I get an extra entry in addition to my step results. I've disabled logging on all steps in my mainsequence except for 1 step so I know I should only see 1 database entry, however I see 2 entries. Even if I disable logging on all steps, I still get a single database entry when in fact I should see nothing. This is strange.
Second Issue:In the above sql statement I retrieve my step results for each field this way:
Logging.MainSequenceResults.TS.SequenceCall.ResultList[0].CurrentFilepath
Logging.MainSequenceResults.TS.SequenceCall.ResultList[0].VoltageFilepath
Logging.MainSequenceResults.TS.SequenceCall.ResultList[0].VoltageMode
Logging.MainSequenceResults.TS.SequenceCall.ResultList[0].VoltageValue
Logging.MainSequenceResults.TS.SequenceCall.ResultList[0].ResistorValue
However, this is not flexible because if I change the location of the step, then the index will change. Also, if I need to loop on this step it will have the same problem. Is there a way to get this data in a more generic way?