Subscriptions
elementGroupExtractionStatusByFileUrn
Subscribe to element group extraction events by URN.
Limitation: this subscription only emits a SUCCESS status. The event is raised from the revision event for a versioned snapshot, which is emitted only once extraction has succeeded. This subscription therefore never reports IN_PROGRESS, and a failed extraction produces no event at all.
The absence of an event is not by itself an error signal. If you expected an event and did not receive one, use the elementGroupExtractionStatus query to check the actual status of the extraction. That query returns the full ExtractionStatus set, including IN_PROGRESS and FAILED.
Template for Subscription:
subscription SubscribeToElementGroupExtractionStatusByFileUrn($input: ElementGroupExtractionByFileUrnInput!) {
elementGroupExtractionStatusByFileUrn(input: $input) {
# ElementGroupExtractionStatusByFileUrn Fields
}
}
Template for Subscription Variables:
{
"input": {
"accProjectId": "<SOME-ACC-PROJECT-ID>",
"fileUrn": "<SOME-FILE-URN>"
}
}
Arguments
| input* | Input object specifying the file URN and project to subscribe to. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
ElementGroupExtractionStatus! non-null |
Information about elementGroup extraction status. |