Going insane - how to simply add two values together in a SC - bug?

Hey all,

I’m not sure if this is a bug, but I’ve tried every permutation of formatters I can think of.

I’m trying to add say 400 and 100. Instead of getting 500 I’m getting 400,100.

Latest formatter in SC:

{{checkcredits.contact_credits_month_use.toNumber() + $_GET.records_number}}

I’ve tried without the .toNumber()
I’ve tried with the .toNumber() at the end.

I’ve tried encasing everything in brackets, so:
{{(checkcredits.contact_credits_month_use.toNumber() + $_GET.records_number)}}

I’ve even tried using setValue with the type output as number on the first value, another on the second value, and then a third adding these together in setValue to see if it was an issue within the DB Query Manager. No luck.

When I build the action, it initially looks like this, that it is combined:

Screen Shot 2020-12-22 at 10.06.12 am

But when I then go back into the action after saving it, it’s suddenly split:
Screen Shot 2020-12-22 at 10.07.16 am

And turns into this code:
checkcredits.contact_credits_month_use +records_number.toNumber()

Can anyone check this is working on their end, noting this is in SC not AC. I use NodeJS, too.

Community Page
Last updated: