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.
Solved! Go to Solution.
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().
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().