I'm not sure if anyone here has as specific knowledge as I'm asking, but I'm fairly new to marketo and the velocity coding language used in their tokens, but I have a question that I can't find any answer to and thought maybe someone here has had the same problem.

In this scenario, I've got a token for customizing the from name and email address that a lead receives based on their contact owner in our CRM (salesforce).

The logic all works, however when reps transition or leave, we mark the lead with an owner of "Open – [Regional Name here]". Normally, the logic I have looks for known "Open" regions, and replaces those with a default value that we set. However, since my logic is looking for exact matches, any NEW open territories have to be manually added to the logic every single time the territory comes open.

The bottom line question: Is there a way to use a "contains" or "starts with" operator within the velocity language used within the tokens?

Any insight would be extremely helpful! Thanks!

Source: www.reddit.com

Leave a Reply