@xantiagoma So finally I found the way to do it for me. I am not sure the best aproach,but you can do something inside of test/content-types/test/, create a lifecycles.js doc and create a this funcions
module.exports = {
async afterUpdate(event) {
// some logic here
if (
//compare you new data with old to avoid infinite loop
) {
await strapi.db.query('api::test.test').update({
where: { id: event.params.where.id },
data: {
...data,
// some logic here
},
});
}
},
}
hope it helps