How can I set a dynamic date in a campaign flow? | Community
Skip to main content
February 8, 2017
Solved

How can I set a dynamic date in a campaign flow?

  • February 8, 2017
  • 2 replies
  • 2498 views

Hi all,

In a campaign flow, I would like to set the date of a field to the date the flow is run. My example involves email verification. Once the email has been verified I would like to store the verification date in the user's profile to avoid checking the email again before x days.

I tried setting today's date by creating an Email Script token but when I run it I get this error:

"Choice had one or more invalid tokens"

Any idea how I can get around this? Thanks!

Thomas

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 Devraj_Grewal

Thomas,

You can use this token to record today's date instead: {{system.date}}

2 replies

SanfordWhiteman
New Participant
February 8, 2017

Thread should be moved to Products -- remember, "Community" is for website feedback.

You want {{system.date}}.  Velocity tokens are never interpreted in flows.

February 9, 2017

Thank you Sanford!

Devraj_Grewal
Devraj_GrewalAccepted solution
New Participant
February 8, 2017

Thomas,

You can use this token to record today's date instead: {{system.date}}

February 9, 2017

Thank you Devraj!