perl trigger script to process dataset data

LabKey Support Forum (Inactive)
perl trigger script to process dataset data Jon (LabKey DevOps)  2017-10-05 21:18
Status: Closed
 
Hi Wayne,

I'm not sure I understand the question. Triggers scripts would have to be built within a module, so yes, you would have to have access to the server in order to place your module that contains the trigger script in the modules directory of the Labkey installation.

This is why our docs here on trigger scripts talk about modules so much:

https://www.labkey.org/Documentation/wiki-page.view?name=serverSideValidation

Trigger scripts are the only thing that can detect changes to tables in order to then trigger a script to then run an API call to perform some kind of action, such as updating values in a certain row or even writing to another table.

Regards,

Jon