Why can't we use Email Script tokens in Flow steps? | Community
Skip to main content
Stijn_Heijthuij
Level 6
October 14, 2015
Solved

Why can't we use Email Script tokens in Flow steps?

  • October 14, 2015
  • 3 replies
  • 3316 views

Hi community,

What I'm trying to do is locate the Opportunity number into a Data Value so I can later use that to loop through all open opportunities and find the correct one. Once I've got the opportunity I can then retrieve all information on that record.

The campaign will run over multiple weeks and if a new opportunity pops up, I still want to use the old one. I've managed to create the email scripting in Velocity, but apparently I'm running into Marketo problems.

Anyone have an idea why we can't use Email Scripting tokens in Change Data Value flow steps?

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

Hi Stijn,

Email scripting tokens work because the email gets sent through a processor when it gets built, and before it gets sent out.  Flow steps do not get processed like this, so running scripts in a flow step is not possible.

John

3 replies

JohnCl9Adobe EmployeeAccepted solution
Adobe Employee
October 14, 2015

Hi Stijn,

Email scripting tokens work because the email gets sent through a processor when it gets built, and before it gets sent out.  Flow steps do not get processed like this, so running scripts in a flow step is not possible.

John

Stijn_Heijthuij
Level 6
October 15, 2015

Thanks John!

Would love to read up on the way emails and triggers are processed differently. Is that public knowledge?

Mike_Reynolds2
Level 10
October 14, 2015

Stijn,

Email Script Tokens are designed to only be used in Emails. You won't be able to use them in Change Data Value flow steps at all. The Script Tokens live within MyTokens, which are housed inside of the programs. They act much differently than normal tokens on the back end because of this and so their functionality is limited just to within emails

Grégoire_Miche2
Level 10
October 14, 2015

Hi Stijn,

If you are using a CRM, what don't you perform this computation in the CRM? It will have all the necessary data. It might require some dev, but in salesforce, a new feature called business builder may enable you to achieve this without dev.

-Greg

Stijn_Heijthuij
Level 6
October 15, 2015

Thanks Greg!

We're trying to get this done inside the program, since that makes most sense. Too bad there are limitations to every system.