04-17-2006 02:34 PM
04-18-2006 09:49 AM
Hi,
There are properties for looking ate the previous step and next step, these are RunState.PreviousStep and RunState.NextStep.
Unfortunately, you want to check in the cleanup group, that means you will not beable to check the previous step from the Main Group because RunState.PreviousStep does not exist until you have a previous step in the cleanup group.
But you could use RunState.SequenceError, this will contain the error (Code, Msg, Occurred) from the Step that errorred.
Use the NameOf(Step) will return the name of the Step.
Regards
Ray Farmer