I'm calling the Activity Runs Rest API from a parent pipeline to capture any errors in a child pipeline.
However, no data, of any kind, is being returned in the Value
array.
Here are my settings.
Web activity
URL
Body
{ "lastUpdatedAfter": "2023-05-23T00:00:00.3345758Z",
"lastUpdatedBefore": "2023-05-30T00:00:00.3686473Z" }
I've set an activity in the child pipeline to fail.
This is the response - nothing in the Value
array
{
"value": [],
"ADFWebActivityResponseHeaders": {
"Pragma": "no-cache",
"x-ms-correlation-request-id": "94cxxxx0-xxxx-xxxx-xxxx-b0842c922b3f",
...
},
"effectiveIntegrationRuntime": "AutoResolveIntegrationRuntime (West Europe)",
"executionDuration": 0,
"durationInQueue": {
"integrationRuntimeQueue": 0
},
"billingReference": {
"activityType": "ExternalActivity",
"billableDuration": [
{
"meterType": "AzureIR",
"duration": 0.016666666666666666,
"unit": "Hours"
}
]
}
}
I've tried both the parent pipeline runid and the child pipeline runid in the URL and both return an empty Value
array.
What am I missing?