If you’re trying to eliminate the formula field your only other option really is to use a script. In Javascript, replacing a portion of text within a variable called string
would be:
string.replace(searchvalue, newvalue)
To populate string
with info from your Automation’s trigger record you would need to make string
an input config
variable (left side of the screen when editing an automation script). The full script would look something like this:
let {string} = input.config()
let newString = string.replace(",", "")
output.set("noCommas", newString)
If you’re trying to eliminate the formula field your only other option really is to use a script. In Javascript, replacing a portion of text within a variable called string
would be:
string.replace(searchvalue, newvalue)
To populate string
with info from your Automation’s trigger record you would need to make string
an input config
variable (left side of the screen when editing an automation script). The full script would look something like this:
let {string} = input.config()
let newString = string.replace(",", "")
output.set("noCommas", newString)
Thank you for the amazing answer this worked great!
The only change I made was add a regex to replace all the occurrences (vs just the first one found)
let {string} = input.config()
let newString = string.replace(/,/g, "")
output.set("noCommas", newString)
Amazing community as always