adTempus API
PreviousUpNext
SuccessCriterionEnum Enumeration

Defines possible criteria for evaluating the success of a task.

C++
enum SuccessCriterionEnum {
  scExitCode,
  scDefaultSuccess,
  scDefaultFail,
  scResultEquals,
  scScript
};
C#
public enum SuccessCriterionEnum {
  scExitCode,
  scDefaultSuccess,
  scDefaultFail,
  scResultEquals,
  scScript
}
Visual Basic
Public Enum SuccessCriterionEnum
  scExitCode
  scDefaultSuccess
  scDefaultFail
  scResultEquals
  scScript
End Enum
Members
Members 
Description 
scExitCode 
Success is determined based on the exit code. 
scDefaultSuccess 
The step is reported as successful unless an action changes the result. 
scDefaultFail 
The step is reported as failed unless an action changes the result. 
scResultEquals 
The step is successful if the string result returned by the script matches the given value. 
scScript 
A script is executed to determine success. 
adTempus API Reference version 3.0.0.0, revised 10/30/2008