Skip to main content
gkrajeski
Level 10
May 5, 2016
Question

Append to current data value with multiple tokens?

  • May 5, 2016
  • 2 replies
  • 2757 views

Can someone provide the proper syntax for if I want to append data value to the end of my current field value?

Example: Product Interest => New Value "{{lead.Product Interest}}; MultiVu: {{system.date}}

Is this possible?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Grégoire_Miche2
Level 10
May 5, 2016

Hi Geoff,

Just have the 2 tokens side by side. e.g. New value: {{lead.Product Interest}} text {{system.date}}

-Greg

gkrajeski
gkrajeskiAuthor
Level 10
May 6, 2016

Do semicolons mess with the syntax?

I ask because that field (in SFDC) has a set syntax with the semicolon.

Amit_Jain
Community Advisor
Community Advisor
December 9, 2019

The syntax look Ok. But, Instead of adding the data at the end, I would suggest to prepend it. This way, if there is char limit on the field, it will have the latest values and will truncate the old values. So the toekn will look like

Product Interest => New Value "MultiVu: {{system.date}};{{lead.Product Interest}}"

It's always recommend to have a separator like semicolon (;), pipe (|) etc. it will have you to programmatically separate the old vs. new values for reporting purpose.