Skip to main content

Chakra Script

Sometimes you will need to write actual code to handle a complex usecase which cannot be solved by the rule engine or provided feature. This can be achieved via Chakra Script.

Runtime

ChakraScript runtime is NodeJS v14 - So you can write the code in common JavaScript. The code is sandboxed and timeouts are in place to prevent resource overuse. Certain helper libraries like lodash are also provided as common helpers

Logs

Script executions are logged and can be viewed against a script execution. You can also test your script against data in previous executions to check your output

console.log

Certain JS features are turned off like console.log. You can only use this during testing to test your script