Duplicate Script to Append Characters

Topic Labels: Automations
818 2
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer

Wondering if there’s a “simple” way to append an integer after a field value based on the number of duplicates…? I’m thinking to trigger my automation, then run the duplicate script and then run an “update record” step to take a value from the script and append it to the field, or a new field. Just trying to figure out the logistics of configuring that script (outside of my area of knowledge).

2 Replies 2

Hi JD, yeap that’s totally doable. You just need to use output.set() for that (more details here from the documentation)

I’ve put something together for you here which should solve your problem. You can duplicate it to view the exact automation setup


The “simpliest” way, just to take a look at number sorted from highest number - is to start customize field and choose single select, but don’t press Save.
fa267bca5400222f998260484bc4d951b5b969a3.png fa267bca5400222f998260484bc4d951b5b969a3.png

another “no code” way here: