Skip to main content
Level 6
June 12, 2018
Question

${TriggerObject.OpportunityId} anyone know what value actually works?

  • June 12, 2018
  • 1 reply
  • 2375 views

Hello Community!

I'm working on a Velocity script and am trying to get the OpportunityId for the triggered object.  I can get the name with ${TriggerObject.Name} and other attributes pull into the email fine with ${TriggerObject.OppFieldHere}.

Does anyone know how to get the SFDC Record Id for the triggered opportunity?  I've tried a plethora of combinations and can't seem to figure this one out.  I'm using the 'Opportunity is Updated' trigger.

thx!

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

1 reply

SanfordWhiteman
Level 10
June 12, 2018

It's not just the $TriggerObject, I don't think, it's any reference to the Opportunity ID, even in a batch/looking at the $OpportunityList. You should copy the ID onto another field -- frustrating, I know.

Level 6
June 12, 2018

Thanks for the info! Couldn't find spec on that anywhere. 

So my scheme to not involve the SFDC team won't work. 

Appreciate the assist!