I have spent a bit of time perusing the Orion database trying to find where the component monitor (namely the windows script monitor) script body is stored. I see the apm_componentsetting table has a "key" column and a "value" column. Some of the "key" column values include "scriptbody" and I would assume that the "value" column contains the id for the scriptbody in some other table. Maybe I'm way off, so please feel free to redirect me. Any have any idea where the script body is stored?
Thanks