Memanggil operasi ListTaskFlowInstance untuk memperoleh catatan jalannya alur tugas.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListTaskFlowInstance |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DagId |
integer |
Yes |
ID alur tugas. Anda dapat memanggil operasi ListTaskFlow atau ListLhTaskFlowAndScenario untuk memperoleh ID tersebut. |
7*** |
| TriggerType |
integer |
No |
Jenis pemicu. Nilai yang valid:
|
1 |
| StartTimeBegin |
string |
No |
Awal rentang waktu yang akan dikueri. Catatan jalannya alur tugas yang dimulai setelah waktu ini akan dikembalikan. Tentukan waktu dalam format yyyy-MM-DD. |
2022-01-07 |
| StartTimeEnd |
string |
No |
Akhir rentang waktu yang akan dikueri. Catatan jalannya alur tugas yang dimulai sebelum waktu ini akan dikembalikan. Tentukan waktu dalam format yyyy-MM-DD. |
2022-04-08 |
| PageIndex |
integer |
Yes |
Nomor halaman. |
1 |
| PageSize |
integer |
Yes |
Jumlah entri per halaman. |
20 |
| Tid |
integer |
No |
ID penyewa. Anda dapat memanggil operasi GetUserActiveTenant atau ListUserTenants untuk memperoleh ID penyewa. |
3*** |
| UseBizDate |
boolean |
No |
Menentukan kondisi filter: true: StartTimeBegin dan StartTimeEnd menentukan rentang waktu bisnis yang akan difilter. false: StartTimeBegin dan StartTimeEnd menentukan rentang waktu jalan tugas yang akan difilter. |
true |
| Status |
integer |
No |
Status simpul tugas. Nilai yang valid:
|
2 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
8CFF2295-8249-5287-B888-DBD4F0D76CB0 |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Pesan kesalahan. |
UnknownError |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| DAGInstanceList |
object |
||
| DAGInstance |
array<object> |
Daftar catatan jalannya alur tugas. |
|
|
object |
Daftar catatan jalannya alur tugas. |
||
| Id |
integer |
The ID of the execution record. |
9234 |
| BusinessTime |
string |
The business time of the task flow. The time is displayed in the yyyy-MM-DD HH:mm:ss format. |
2021-11-10 14:37:26 |
| startTime |
string |
The time when the execution of the task flow was start. The time is displayed in the yyyy-MM-DD HH:mm:ss format. |
2021-11-11 14:35:57 |
| EndTime |
string |
The time when the execution of the task flow was complete. The time is displayed in the yyyy-MM-DD HH:mm:ss format. |
2021-11-11 14:38:57 |
| DagId |
string |
The ID of the task flow. |
7*** |
| TriggerType |
integer |
The mode in which the task flow is triggered. Valid values:
|
1 |
| Status |
integer |
The status of the task flow. Valid values:
|
4 |
| Message |
string |
The description of the task. |
test |
| HistoryDagId |
integer |
The ID of the previously published version of the task flow. |
2**** |
| DagName |
string |
The name of the task flow. |
Spark_SQL_test |
| OwnerName |
string |
The name of the task flow owner. |
test_name |
| DagVersion |
string |
The version of the task flow. |
[] |
| TotalCount |
integer |
Jumlah total catatan jalan yang memenuhi kondisi. |
1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8CFF2295-8249-5287-B888-DBD4F0D76CB0",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"DAGInstanceList": {
"DAGInstance": [
{
"Id": 9234,
"BusinessTime": "2021-11-10 14:37:26",
"startTime": "2021-11-11 14:35:57\n",
"EndTime": "2021-11-11 14:38:57",
"DagId": "7***",
"TriggerType": 1,
"Status": 4,
"Message": "test",
"HistoryDagId": 0,
"DagName": "Spark_SQL_test",
"OwnerName": "test_name",
"DagVersion": "[]"
}
]
},
"TotalCount": 1
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.