Help with Velocity: Why won't my TriggerObject values populate? | Community
Skip to main content
Douglas_Meierdi
New Participant
February 13, 2018
Solved

Help with Velocity: Why won't my TriggerObject values populate?

  • February 13, 2018
  • 1 reply
  • 3876 views

The Campaign Smart List:

Trigger - Job is Updated (Custom Object)

Velocity Script Token:

<p align="center">

  <a href="upcounsel.com/job/message/${TriggerObject.ucid}?aid=${TriggerObject.attorneyId}" style="color: #ffffff; width: 175px; line-height: 30px; display: inline-block; text-align: center; font-family: Helvetica; text-decoration: none; background-color: #00C76B; border-radius: 3px;">Message ${TriggerObject.attorneyName}</a>

</p>

None of these values are populating. All the appropriate fields are checked for this custom object.

What am I doing wrong here?

Best answer by Douglas_Meierdi

I'd expect it to work.

I don't suppose you've tried the outputs outside of the URL? Perhaps it is interpreting '/' as an escape.


The issue is that tokens don't work with update triggers on custom objects. I was on a fool's errand the whole time.

1 reply

Nicholas_Manojl
New Participant
February 13, 2018

In a test or in a campaign from a trigger?

Douglas_Meierdi
New Participant
February 13, 2018

In a campaign from the trigger - live environment

Nicholas_Manojl
New Participant
February 13, 2018

I'd expect it to work.

I don't suppose you've tried the outputs outside of the URL? Perhaps it is interpreting '/' as an escape.