Skip to main content

TaskResultDetails

Properties

NameTypeDescriptionNotes
IdStringSystem-generated unique ID of the task.[optional]
TypeStringType of task this result represents.[optional]
NameStringThe name of the task.[optional]
DescriptionStringThe description of the task.[optional]
LauncherStringThe user who initiated the task.[optional]
CreatedSystem.DateTimeThe task creation date.[optional]
LaunchedSystem.DateTimeThe task start date.[optional]
CompletedSystem.DateTimeThe task completion date.[optional]
CompletionStatusEnum [ "SUCCESS", "WARNING", "ERROR", "TERMINATED", "TEMP_ERROR" ]Task completion status.[optional]
ParentNameStringName of the parent task if one exists.[optional]
ProgressStringCurrent task state.[optional]

Examples

  • Prepare the resource
$TaskResultDetails = Initialize-TaskResultDetails -Id ef38f94347e94562b5bb8424a56397d8 `
-Type QUARTZ `
-Name Dataset Aggregation `
-Description Aggregate from the specified dataset `
-Launcher John Doe `
-Created 2020-09-07T12:14:00.364Z `
-Launched 2020-09-07T12:14:00.521Z `
-Completed 2020-09-07T12:14:01.137Z `
-CompletionStatus SUCCESS `
-ParentName Audit Report `
-Progress Initializing...
  • Convert the resource to JSON
$TaskResultDetails | ConvertTo-JSON

[Back to top]