Exporting Work Events¶
Work events can be found via the GraphQL API.
Strategy¶
Find all the assets in the organization. For each asset, use the following GraphQL query to find all the node groups in your organization:
Query
{
asset(id: $assetId) {
events(type: WORK offset:0 limit:100 startTime: $start endTime: $end) {
eventTime
message
... on WorkEvent {
downtimeAvoided
failureMode
isRoutine
timespent
workActivity
isRelearning
promptedBySenseye
}
paginationDetails {
count
limit
offset
total
}
}
}
}
See the GraphQL documentation regarding the use of pagination.
Considerations¶
- Organizations with a large number of assets
- Determining start and end time based on knowledge of when the asset was commissioned