Help with Velocity: Why won't my TriggerObject values populate? | Community
Skip to main content
Douglas_Meierdi
Level 2
Feb 13, 2018 12:48 AM UTC
Solved

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

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?

Douglas_Meierdi
Douglas_MeierdiAccepted solution
Level 2
Feb 23, 2018 9:48 PM UTC

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.

6 replies

Nicholas_Manojl
Level 8
Feb 13, 2018 12:58 AM UTC

In a test or in a campaign from a trigger?

Translate
Douglas_Meierdi
Level 2
Feb 13, 2018 1:00 AM UTC

In a campaign from the trigger - live environment

Translate
Nicholas_Manojl
Level 8
Feb 13, 2018 1:28 AM UTC

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.

Translate