Skip to content
Documentation
Updated 2 minutes to read
Markdown

The toUpperCase Formula function returns the content with every letter in uppercase.

Uppercase a customer name with toUpperCase, then check an order id prefix with startsWith, animated walkthrough (7.12)
Animated walkthrough: on the Order Received JSON of the Order-to-Cash demo, toUpperCase(jsonPath('$.customer.name', body)) returns TAILSPIN TOYS. The second half shows startsWith on the order id.

toUpperCase(content)
Parameter Required Description
content Yes The text to convert: body, context, or the result of another function, such as regex.

The content in uppercase. When the content holds several values, each value is converted and returned as its own Search Field value. When the content has no value, nothing is returned.

gmt
toUpperCase(body)
GMT

Test Expression tab: toUpperCase(body) returns GMT for the message body gmt
The whole message body is returned in uppercase.

Key Value
id gmt
toUpperCase(context('id'))
GMT

Test Expression tab: toUpperCase(context('id')) returns GMT for the context value gmt
The value of the context property id is converted; the message body isn't used.

Example 3: Uppercase several regex matches

Section titled “Example 3: Uppercase several regex matches”
gmt utc
toUpperCase(regex('gmt|utc',body))
GMT
UTC

Test Expression tab: toUpperCase of a regex result returns GMT and UTC
regex returns two matches, and toUpperCase converts each one: two unique matches.

  • Use toUpperCase for case normalization: when systems log the same code in different cases, such as sek and SEK, toUpperCase(context('Currency')) stores one spelling, SEK. toLowerCase does the same in lowercase.
  • Letters are converted by the culture rules of the server that runs the Logging Service. This matters only for a few letters, such as the Turkish dotted and dotless i.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...