CMDBuild Forum

history of domain association

Hello 

I am very very new in CMDBuild and try to make my way.

My goal is to use it to manage some devices very similar to ATM's. So I would like to make association between ATM's and their module

I have  a 1:1 domain to show that this ATM has this card reader... now.

If my technician replace the Cardreader , the reference will be change in the ATM and we show the new setup.

But I lose the former association.

My goal at the end is to be able to know on which different ATM has my card reader be installed over the past years.

So the question, how to model the data to keep track of past domains.. maybe some trigger to insert in a parallel table (class) the domain association?

Thanks for your help


Eric

Hello,

CMDBuild manages the automatic verisoining of all data, both cards data that relations, in system tables with suffix "_history".
You can then configure a report by a SQL query on "historical" tables (eg ATM_history, CardReader_history, Map_ATMCardReader_history) by setting the time intervals that you prefer.
CMDBuild Team

I will try. Thanks