12-30-2014 12:39 PM
I am using the SequenceFilePostStepFailure callback to pop up custom messages to an operator, but I don't want to do this when the step being serviced is a sequence call. Is there some way to determine in the callback just what type of step is being serviced?
Thanks,
Dave
12-30-2014 02:04 PM
RunState.CallingStep.AdapterKeyName == "Sequence Adapter"
Hope this helps,
12-30-2014 03:58 PM
Jigg,
I've put a breakpoint in my callback to see if I can spot that variable during runtime and I can only get to RunState.CallingStep. The AdapterKeyName property doesn't appear. Under RunState.CallingStep I get several more subcategories (TS and Result) but that property doesn't appear there either. Any hints as to what I am missing?
Dave
12-30-2014 04:01 PM
I just located it in Watch View expression builder. These properties are powerful, but boy are they obscure. Sorry for the bad info and thanks for the tip.
12-30-2014 06:01 PM
Glad you found it.
You can also look to see if the Parameters.Result.TS.SequenceCall property exists.