Corredor helpers
Corredor helpers simplify some of the more common operations that are usually performed inside automation scripts — creating records, filtering for specific records, creating messages, … These can be found in the GitHub corteza-js repository and the GitHub corteza-vue repository.
When writing automation scripts, these helpers are automatically provided via the execution context.
These helpers greatly simplify the code so you should always use these instead of writing your own. |
These helpers can also be used outside of automation scripts, when creating portals based on Corteza, for example. |
Corredor helpers are context-aware, meaning that they can determine some parts of the execution context on their own. For example, when a script is run for a record creation. ComposeHelper can automatically determine what namespace was used, what module and the created record.