Process Run
Process Run Request
Process Run Status
Process Run Request Type Process Run Status Type
type ProcessRun = {
id: string
; name: string
; process: string
; description: string
; lastModifiedBy: string
; dateModified: string
; dateCreated: string
; alertEmailAddress: string
; alertSMS: string
}
type ProcessRunRequest = {
request: ProcessRunRequestType
; processRunId: string
}
type ProcessRunStatus = {
id: string
; dateStarted: string
; dateFinished: string
; runDurationInSeconds: number
; status: ProcessRunStatus
}
enum ProcessRunRequestType {
startRun = "ProcessRun_StartRq",
cancelRun = "ProcessRun_CancelRq"
}
enum ProcessRunStatusType {
"NotStarted" = 1,
"Scheduled" = 2,
"Running" = 3,
"Finished" = 4,
"Cancelled" = 5,
"TimedOut" = 6
}
enum ProcessStepStatusType {
"NotStarted" = 1,
"Running" = 2,
"Success" = 3,
"Warning" = 4,
"Failed" = 5,
"Scheduled" = 6,
"Cancelled" = 7,
"Skipped" = 8
}