Usage-based Task intervals #108
Notifications
Due Date
No due date set.
Depends on
#98 Asset meters and Readings
bobby/hapi
#103 Services fulfil Tasks
bobby/hapi
Reference: bobby/hapi#108
Reference in new issue
Block a user
Part of #73 (spec: #72)
What to build
A Task on a metered Asset can have a usage interval (e.g. oil every 5,000 mi). The response carries
due_at_meter, and the Task falls due on whichever comes first: the calendar date or the usage threshold judged against the latest Reading, with no projection.Acceptance criteria
due_at_meter= the meter value of the last fulfilling Service + the usage intervaloverduebefore its date