Mengkueri informasi tentang instans dalam alur kerja yang dipicu secara manual.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
Lingkungan Pusat Operasi. Nilai valid: PROD dan DEV. |
RPOD |
| ProjectName |
string |
Yes |
Nama ruang kerja tempat alur kerja yang dipicu secara manual berada. Anda dapat masuk ke Konsol DataWorks dan membuka panel Pengaturan ruang kerja untuk mengkueri nama tersebut. |
test_workspace |
| DagId |
string |
Yes |
ID graf asiklik terarah (DAG) untuk alur kerja yang dipicu secara manual. Anda dapat memanggil operasi CreateManualDag untuk mengkueri ID tersebut. |
7000001231241 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
SDFSDFSDF-SDFSDF-SDFDSF-SDFSDF |
| Instances |
array<object> |
The instances in the manually triggered workflow. |
|
|
object |
|||
| Status |
string |
The status of the instance. Valid values:
|
WAIT_TIME |
| BeginRunningTime |
integer |
The time when the instance started to run. |
1605178414676 |
| BizDate |
integer |
The data timestamp of the instance. In most cases, the value is one day before the time when the instance was run. |
1605178414676 |
| CycTime |
integer |
The time when the instance was scheduled to run. |
1605178414676 |
| FinishTime |
integer |
The time when the instance finished running. |
1605178414676 |
| CreateTime |
integer |
The time when the instance was generated. |
1605178414676 |
| DagId |
integer |
The ID of the DAG for the manually triggered workflow. |
350850491 |
| InstanceId |
integer |
The ID of the instance in the manually triggered workflow. |
11726873619 |
| BeginWaitResTime |
integer |
The time when the instance started to wait for resources. |
1605178414676 |
| TaskType |
string |
The scheduling type of the node that generates the instance. Valid values:
|
NORMAL(0) |
| ParamValues |
string |
The parameters related to the instance. |
xxx |
| DagType |
string |
The type of the manually triggered workflow. |
5 |
| NodeName |
string |
The name of the node. |
test2 |
| BeginWaitTimeTime |
integer |
The time when the instance started to wait to be scheduled. |
1605178414676 |
| NodeId |
integer |
The ID of the node in the manually triggered workflow. |
37851 |
| ModifyTime |
integer |
The time when the instance was last modified. |
1605178414676 |
| CreateUser |
string |
The user who performed the operation. |
xxx |
Contoh
Respons sukses
JSONformat
{
"RequestId": "SDFSDFSDF-SDFSDF-SDFDSF-SDFSDF",
"Instances": [
{
"Status": "WAIT_TIME",
"BeginRunningTime": 1605178414676,
"BizDate": 1605178414676,
"CycTime": 1605178414676,
"FinishTime": 1605178414676,
"CreateTime": 1605178414676,
"DagId": 350850491,
"InstanceId": 11726873619,
"BeginWaitResTime": 1605178414676,
"TaskType": "NORMAL(0)",
"ParamValues": "xxx",
"DagType": "5",
"NodeName": "test2",
"BeginWaitTimeTime": 1605178414676,
"NodeId": 37851,
"ModifyTime": 1605178414676,
"CreateUser": "xxx"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.