I'm trying to perform an action if a calculated field changes/is created in studio. Is there something like a logic hook but for the studio module that I can use to do this? I'm in 7.7 Ent
I've never tried associating a logic hook with Studio, but you could easily test it by attempting to define it within ./custom/Extension/modules/ModuleBuilder/Ext/LogicHooks/. Although, if it works, I am not sure what you would actually have access to through $bean.
Alternatively, you could do something at the database level (if on premise). For example, you could create a database trigger for update/insert on the fields_meta_data table.
Thanks for the response!
Unfortunately adding in a logic hook through Extension doesn't work. What I was trying to do is check to see if a calculated field gets updated and run a scheduler that will save all of that modules records in batches, because sugar doesn't automatically update fields when this change occurs and there isn't really a good way to mass update every record without killing the user experience.
This will work for now. Thanks again for replying.
Retrieving data ...