The Compartim program is a knowledge management program within the Justice Department of the Government of Catalonia in Spain. It operates communities of practice (CoPs) composed of professionals in the justice field who voluntarily work to improve their practices. The program provides structure, funding, and expertise to help the CoPs effectively share knowledge. Over 900 professionals participate in CoPs focused on topics they select that are also aligned with organizational needs. Through monthly meetings and online collaboration, the CoPs produce resources like protocols, handbooks and videos to disseminate what they've learned. The program aims to promote informal, collaborative learning and improve professional cohesion.