- 0 minutes to read

Formula - toLowerCase

Easily convert text to lowercase using the Nodinite toLowerCase Formula plugin. This page shows how to transform strings from message [Content][], [Context][], or the output of other formulas to lowercase.

🎯 Designed for business users and integrators — no developer required; you can even use AI to craft expressions.

  • ✅ Convert text to lowercase from any [Payload][body] or [Context][] in any Log Event
  • Standardize text for consistent data processing and case-insensitive comparisons
  • ✅ Transform and surface meaningful data in Nodinite Log Views, search filters, and self-service diagnostics
  • ✅ Combine with other Formula functions for powerful, layered expressions

What does the toLowerCase Formula do?

The toLowerCase(Content) Formula function converts all letters in the provided text to lowercase. Use this function to ensure data consistency across systems, especially when case sensitivity matters.


How it works: Input ➜ toLowerCase ➜ Result

graph LR A["Input: UPPERCASE or MixedCase text"] --> B["toLowerCase(Content)"] B --> C["Result: lowercase text"]

Flow: All letters in the content are converted to lowercase.


Syntax

Convert message body to lowercase: (See Example 1)

tolowercase(body)

Convert message context to lowercase: (See Example 2)

tolowercase(context('MessageContextKey'))

Convert nested formula result to lowercase: (See Example 3)

tolowercase(jsonpath('$.path', body))

Common patterns:

tolowercase(body)                         # Convert entire message to lowercase
tolowercase(context('CustomerName'))     # Convert context value to lowercase
tolowercase(xpath('//OrderId', body))    # Convert XML value to lowercase

Examples

Example 1: Convert message body to lowercase

Input

Message body is NODINITE

Formula Expression

tolowercase(body)

Result

nodinite

Example 1


Example 2: Convert context value to lowercase

Input

Message context contains a property id with value JAVASCRIPT

Formula Expression

tolowercase(context('id'))

Result

javascript

Example 2


Example 3: Convert result from another formula

Input

Message body is:

[
  { "name": "HELLO" },
  { "name": "WORLD" }
]

Formula Expression

tolowercase(jsonpath('$..name', body))

Result

hello, world

Example 3


Features

Important

The toLowerCase Formula converts all letters in the provided text to lowercase, ensuring data consistency across integrated systems. This function loads the entire message into RAM—use on small messages only.

  • Flexible Inputs: Convert from message [body][], [Context][], or the result of another Formula
  • Case Normalization: Standardize text for case-insensitive comparisons and consistent data processing
  • Composable: Combine with other Formula functions like jsonPath or xPath for advanced transformations
  • Self-Service: Let business users normalize text without developer intervention

How to use

To use the toLowerCase Formula in a Search Field Expression:

  1. Open your Nodinite Web Client
  2. Navigate to AdministrationSearch Fields
  3. Create or edit a Search Field
  4. Choose Formula as the expression type
  5. See Syntax section above for common patterns and usage examples

Next step