Intelligent traceability