Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
Thank you! Got it to work with: ##Standard Velocity Date/Time Fields#set( $defaultTimeZone = $date.getTimeZone().getTimeZone("America/Chicago") )#set( $defaultLocale = $date.getLocale() )#set( $calNow = $date.getCalendar() )#set( $ret = $calNow.setTimeZone($defaultTimeZone) )#set( $calConst = $field...
Got it makes sense - I'm close but not sure what's incorrect with my output:## iterate Customer Profiles, looking for those with Membership Opening yesterday#foreach( $item in $customerProfilesList )#set( $membershipOpeningDate = $convert.parseDate( $item.membershipDate, $ISO8601DateOnly, ...
I got it to work in theory, as setting it outside the #foreach loop will display correctly - as in it takes the full name of all records, but then it ignores my #if conditional statement.##Standard Velocity Date/Time Fields#set( $defaultTimeZone = $date.getTimeZone().getTimeZone("America/Chicago") )...
Thank you! Is there a best way to incorporate this into the larger script action?I'm basically trying to get the output here:${display.list($fullNames)}to follow my #if condition and it seems like if I run that #foreach loop before my membershipdate one and then put the output after the if statement...
I tried using the below, and the output is still without the comma delimiters in-between:$display.list($item.fullName) Even trying to do a basic token test like:#foreach ($item in $customerProfilesList)#set ($list = $item.fullName)$display.list($list)#end It still prints as "Name 1 Name 2 Nam2 3" in...
Sorry, let me try to clarify: Within a custom object, if there's a case of multiple records meeting the criteria like:Lead EmailMembership Opening DateFirst Namebob@gmail.com2023-03-29Bobbob@gmail.com2023-03-29Susanbob@gmail.com2023-03-29Joe We would potentially just send one email instead of three....
Hello!Sorry, back again with more fun weird use cases. I'm looking to see if it is possible to have commas between outputs from a single field if there is more than one result? Here is my current script that looks for a opening date in the last 5 days and prints the Full Name:##Standard Velocity Dat...
Thank you! I'll give it a try!
Hello,Referencing Custom Object records within a single Lead record with Membership Opening Date and Status as fields, similar to:Email AddressMembership Opening DateMembership StatusBob@gmail.com2023-03-28MemberBob@gmail.com2023-03-28Member Would the trigger reference work if there's multiple recor...
I apologize if this is similar to previous questions - but running into an occasional problem:I have a script setup to basically send a "Welcome" email if someone becomes a Member - this looks at their Membership Date, Member Status, etc. One thing that happens occasionally is that it's possible for...