Can a script be triggered automatically on certain events, like when an entity is created or updated?
For example, if I am writing in a “Meeting” entity description and I create a new Task inline, I would like to have a script that runs automatically to populate certain fields of the new Task.
The script could be part of the Meeting type, or the Task type. But if the script is part of the Task type then it will need to know the context of where the new task was created from (i.e., this specific “Meeting” entity where I created it).
The purpose is to have my new tasks automatically reference the Meeting entity where they were created. But in general I can see many other uses for such an ability to write scripts that are automatically triggered.