Because cortex scripts execute within a multi-tenant environment, there are limits in place to ensure that runaway scripts do not monopolize shared resources.
Below are the default limits enforced per Cortex script execution
In addition to the above limits, the following limitations are enforced within Cortex scripts.
- Callouts to Cortex API endpoints are not allowed within a Cortex script. Use the CortexObject class and its methods for interacting with Cortex Objects in scripts, instead.
- Callouts are not allowed in in-line triggers
- Triggers are not allowed on the Views, Scripts, Org and Objects objects