ISC Workflows fails my primary school math test

Hi all, :slight_smile:

Bug short description: $.trigger.input.length() always seem to give a result that is 2 more than the actual length.

Bug long description:
I created this workflow:

The Send Email action sends a mail to me with this in the body:

The word {{$.trigger.input}} consists of exactly {{$.trigger.input.length()}} characters

Compare Numbers has as value 1: $.trigger.input.length()
Compare Numbers has as operator: Equals
Compare Numbers has as value 2: 5

Let’s test this with as input for the workflow {"input": "apple"}



The mail:
image

Let’s test this with as input for the workflow {"input": "egg"}



The mail:
image

Kind regards,
Angelo

2 Likes

Defect created. Thank you

1 Like

Thank you @tburt, Internal ticket for future reference: PLTWRKFLW-6024

They are summing up the "s, right?

1 Like

That would be my first guess as well, or in the backend they have indicators what the different data actually is, like “s:apple” for a string and “n:123” for a number, or something else, but that would be speculation as we can’t see the code. At the end it does not matter as long as it works :slight_smile: