SOLVED

velocity script help - future date

Go to solution
Stephen_Moore
Level 2

velocity script help - future date

Hi,

I have a nurturing campaign that targets Contacts with open Opportunities.

Since these people can have multiple open Opportunities with different stages, products, and close dates, I'm trying to use velocity script to display the correct Opportunity.

I've managed to write the script so that it displays the correct Product and Stage - but I can't figure out how to write the Closed Date "in future" 6 months.

Does anyone have a sample I can look at?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: velocity script help - future date

You should read this blog post — please read the whole intro, it's vitally important — as there's related code under 'PROMO EXPIRES 7 DAYS FROM TODAY (WHENEVER THAT IS)'. You use Calendar.add().

View solution in original post

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: velocity script help - future date

You should read this blog post — please read the whole intro, it's vitally important — as there's related code under 'PROMO EXPIRES 7 DAYS FROM TODAY (WHENEVER THAT IS)'. You use Calendar.add().