How to properly link entities
I've been struggling to get a link between entities working - for now, it's kinda working but not how it's supposed to.
I've got two entities:
- maintenance steps
- historic maintenance steps
For device X, every time it has maintenance, the values should be stored in OSvC. Now, the interval depends on the previous value.
Now, what I want to happen is that a maintenance step from 'maintenance step (let's call it step 1), is linked to step 1 in historic maintenance steps. From that, it can collect the last recorded date and value of step 1 and make a decision whether step 1 has to be executed now.