Interface WorkflowRun._FinalStage
-
- All Known Implementing Classes:
WorkflowRun.Builder
- Enclosing class:
- WorkflowRun
public static interface WorkflowRun._FinalStage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowRun._FinalStageaddAllFiles(java.util.List<File> files)WorkflowRun._FinalStageaddAllOutputs(java.util.List<ProcessorRun> outputs)WorkflowRun._FinalStageaddAllStepRuns(java.util.List<StepRun> stepRuns)WorkflowRun._FinalStageaddFiles(File files)WorkflowRun._FinalStageaddOutputs(ProcessorRun outputs)WorkflowRun._FinalStageaddStepRuns(StepRun stepRuns)WorkflowRun._FinalStagebatchId(java.lang.String batchId)WorkflowRun._FinalStagebatchId(java.util.Optional<java.lang.String> batchId)The batch ID of the WorkflowRun.WorkflowRunbuild()WorkflowRun._FinalStageendTime(java.time.OffsetDateTime endTime)WorkflowRun._FinalStageendTime(java.util.Optional<java.time.OffsetDateTime> endTime)The time (in UTC) that the workflow finished executing.WorkflowRun._FinalStagefailureMessage(java.lang.String failureMessage)WorkflowRun._FinalStagefailureMessage(java.util.Optional<java.lang.String> failureMessage)A more detailed message about the failure.WorkflowRun._FinalStagefailureReason(java.lang.String failureReason)WorkflowRun._FinalStagefailureReason(java.util.Optional<java.lang.String> failureReason)The reason why the workflow run failed.WorkflowRun._FinalStagefiles(java.util.List<File> files)WorkflowRun._FinalStagemetadata(java.lang.String key, java.lang.Object value)WorkflowRun._FinalStagemetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)The metadata that was passed in when running the Workflow.WorkflowRun._FinalStageoutputs(java.util.List<ProcessorRun> outputs)WorkflowRun._FinalStageputAllMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)WorkflowRun._FinalStagerejectionNote(java.lang.String rejectionNote)WorkflowRun._FinalStagerejectionNote(java.util.Optional<java.lang.String> rejectionNote)A note that is added if a workflow run is rejected.WorkflowRun._FinalStagereviewedAt(java.time.OffsetDateTime reviewedAt)WorkflowRun._FinalStagereviewedAt(java.util.Optional<java.time.OffsetDateTime> reviewedAt)The time (in UTC) at which the workflow run was reviewed.WorkflowRun._FinalStagereviewedBy(java.lang.String reviewedBy)WorkflowRun._FinalStagereviewedBy(java.util.Optional<java.lang.String> reviewedBy)The email address of the person who reviewed the workflow run.WorkflowRun._FinalStagestartTime(java.time.OffsetDateTime startTime)WorkflowRun._FinalStagestartTime(java.util.Optional<java.time.OffsetDateTime> startTime)The time (in UTC) at which the workflow run started executing.WorkflowRun._FinalStagestepRuns(java.util.List<StepRun> stepRuns)An array of WorkflowStepRun objects.
-
-
-
Method Detail
-
build
WorkflowRun build()
-
metadata
WorkflowRun._FinalStage metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
The metadata that was passed in when running the Workflow.
-
putAllMetadata
WorkflowRun._FinalStage putAllMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
-
metadata
WorkflowRun._FinalStage metadata(java.lang.String key, java.lang.Object value)
-
batchId
WorkflowRun._FinalStage batchId(java.util.Optional<java.lang.String> batchId)
The batch ID of the WorkflowRun. If this WorkflowRun was created as part of a batch of files, all runs in that batch will have the same batch ID.
Example:
"batch_7Ws31-F5"
-
batchId
WorkflowRun._FinalStage batchId(java.lang.String batchId)
-
files
WorkflowRun._FinalStage files(java.util.List<File> files)
-
addFiles
WorkflowRun._FinalStage addFiles(File files)
-
addAllFiles
WorkflowRun._FinalStage addAllFiles(java.util.List<File> files)
-
failureReason
WorkflowRun._FinalStage failureReason(java.util.Optional<java.lang.String> failureReason)
The reason why the workflow run failed. Will only be included if the workflow run status is "FAILED".
-
failureReason
WorkflowRun._FinalStage failureReason(java.lang.String failureReason)
-
failureMessage
WorkflowRun._FinalStage failureMessage(java.util.Optional<java.lang.String> failureMessage)
A more detailed message about the failure. Will only be included if the workflow run status is "FAILED".
-
failureMessage
WorkflowRun._FinalStage failureMessage(java.lang.String failureMessage)
-
reviewedBy
WorkflowRun._FinalStage reviewedBy(java.util.Optional<java.lang.String> reviewedBy)
The email address of the person who reviewed the workflow run. Will not be included if the workflow run has not been reviewed.
Example:
"jane.doe@example.com"
-
reviewedBy
WorkflowRun._FinalStage reviewedBy(java.lang.String reviewedBy)
-
rejectionNote
WorkflowRun._FinalStage rejectionNote(java.util.Optional<java.lang.String> rejectionNote)
A note that is added if a workflow run is rejected.
Example:
"Invalid invoice format"
-
rejectionNote
WorkflowRun._FinalStage rejectionNote(java.lang.String rejectionNote)
-
reviewedAt
WorkflowRun._FinalStage reviewedAt(java.util.Optional<java.time.OffsetDateTime> reviewedAt)
The time (in UTC) at which the workflow run was reviewed. Will follow the RFC 3339 format. Will not be included if the workflow run has not been reviewed.
Example:
"2024-03-21T16:45:00Z"
-
reviewedAt
WorkflowRun._FinalStage reviewedAt(java.time.OffsetDateTime reviewedAt)
-
startTime
WorkflowRun._FinalStage startTime(java.util.Optional<java.time.OffsetDateTime> startTime)
The time (in UTC) at which the workflow run started executing. This will always be after the
initialRunAttime. Will follow the RFC 3339 format. Will not be included if the workflow run has not started executing.Example:
"2024-03-21T15:30:00Z"
-
startTime
WorkflowRun._FinalStage startTime(java.time.OffsetDateTime startTime)
-
endTime
WorkflowRun._FinalStage endTime(java.util.Optional<java.time.OffsetDateTime> endTime)
The time (in UTC) that the workflow finished executing. Will follow the RFC 3339 format. Will not be included if the workflow run has not finished executing.
Example:
"2024-03-21T15:35:00Z"
-
endTime
WorkflowRun._FinalStage endTime(java.time.OffsetDateTime endTime)
-
outputs
WorkflowRun._FinalStage outputs(java.util.List<ProcessorRun> outputs)
-
addOutputs
WorkflowRun._FinalStage addOutputs(ProcessorRun outputs)
-
addAllOutputs
WorkflowRun._FinalStage addAllOutputs(java.util.List<ProcessorRun> outputs)
-
stepRuns
WorkflowRun._FinalStage stepRuns(java.util.List<StepRun> stepRuns)
An array of WorkflowStepRun objects. Each WorkflowStepRun represents a single run of a WorkflowStep and contains details about the step and the run's output.
Note: This field currently supports External Data Validation and Rule Validation step types. Document processor run outputs are included in the outputs field.
-
addStepRuns
WorkflowRun._FinalStage addStepRuns(StepRun stepRuns)
-
addAllStepRuns
WorkflowRun._FinalStage addAllStepRuns(java.util.List<StepRun> stepRuns)
-
-