CodeX in Qntrl: Automate Workflows with Powerful Scripting and API Integration | Qntrl Online Help

Summary

Overview 

CodeX, a robust scripting feature within the Qntrl platform, empowers you to automate tasks, manipulate data, and integrate workflows/applications. By running JavaScript code in a standalone server environment, CodeX allows you to execute scripts alongside predefined SDKs. This feature enhances data management, streamlines processes, and facilitates complex business logic, offering a wide array of capabilities to maximize your Qntrl experience. 

Key Benefits of CodeX 

  1. Custom Business Logic: Implement company-specific business logic tailored to your unique requirements.
  2. Database Management: Simplify and automate database interactions.
  3. Workflow Automation: Automate repetitive tasks to improve efficiency.
  4. Complex Computations: Handle time-consuming processes with ease.
  5. Third-Party Integrations: Seamlessly connect with external services and APIs.
  6. Enhanced Security: Strengthen security by preventing direct user manipulation.

Primary Capabilities of CodeX in Qntrl 

CodeX in Qntrl offer a versatile set of capabilities:

  • Two-Way Sync: Synchronize data between third-party platforms.

  • Scheduled Email Alerts: Automate email alerts based on custom schedules.

  • CSV Importing : Easily import CSV data into tables.

  • Custom Business Logic: Implement and manage custom business logic.

  • Databases Access: Directly access client databases via Bridge for data management.

  • Business Logic Offloading: Improve system performance by transferring the execution of complex business logic to another system or component.

  • API Integrations: Connect with external applications using APIs.

  • Data Validation: Validate and Ensure the accuracy of records and compliance.

  • Editing Records: Modify and update records, maintaining data integrity.


Advantages of CodeX: A Comparison with Client Scripts and Custom Functions  

Client Scripts

While Client Scripts handle data validation during card creation or updates, they can be prone to user interface manipulation. CodeX offers enhanced data integrity and security by operating at the API level, suspending actions ensuring higher protection and control over actions.

 

Custom Functions

Custom Functions are valuable for automating tasks with user-defined functions in Deluge. Nevertheless, they lack a pre-submission validation mechanism to prevent card submission. CodeX, on the other hand, processes data server-side, enabling validation at the initial stage of card creation, thereby safeguarding critical business data from the start.

 

Components of CodeX  

Script Modules

Enables you to create reusable templates for streamlined business logic that can be scripted once and effortlessly reused in multiple scripts, simplifying maintenance and minimising coding effort.

 

Server Variables

Allows you to store and reuse values across your scripts, allowing for dynamic and flexible scripting.

 

Logs

CodeX logs provides visibility to the execution of codex scripts, enabling you to monitor and track their performance in Qntrl. 

    • Related Articles

    • Create and Configure a CodeX Script

      Prerequisite Prior to creating a codex, it is essential to establish a board since the configured codex scripts can be activated within that Board when specific conditions arise. Add a Script To add a new script, follow the below steps: Navigate to ...
    • Parameters in CodeX Script

      In the CodeX script, you can perform CRUD (Create, Read, Update, Delete) operations on the Parameters in Qntrl through the SDK. Instead of defining a URL or other values directly in your CodeX script, you can define them in ConfigStore and reference ...
    • Summary

      Introduction Circuit is a platform for integrating micro-services to create automated workflows for IT and business processes. With fine-grained flow controls, you can create automated processes with little or no code. Workflows created in Circuit ...
    • Script Modules

      Script Modules offers creating reusable, ready-made templates for your business logic compatible with ES6 modules. When you need that specific logic in another script, you don't have to write or copy-paste the code again. You can easily include the ...
    • Server Variables

      Server Variable is a feature for storing values, such as text, numbers, email addresses, or any other data, and reusing values across your scripts, making your scripts more efficient and easier to manage. If you need to update these values, you can ...

    You are currently viewing the help articles of Qntrl 3.0. If you are still using our older version and require guidance with it, Click here.