nhabischWings

nhabischWings

Contact Me
Online Status
Offline
Date Last Visited
Wednesday
Level 6
Joined the community 29-10-2020
Rank Icon Level 6
  • solved badge Re: Velocity - If/Than Statement for Previous Date

    Awesome, this works! Thank you so much for ALL your help! As a non-programmer trying to learn this stuff, it's super helpful having a supportive community!

    image_type
    Discussions
    828 0 0
  • solved badge Re: Velocity - If/Than Statement for Previous Date

    Sorry for all the back and forth, this is my latest full script:##Loops through each field in Customer Profile object#foreach ( $item in $customerProfilesList )##Standard Velocity Date/Time Fields#set( $defaultTimeZone = $date.getTimeZone().getTimeZone("America/Chicago") )#set( $defaultLocale = $dat...

    image_type
    Discussions
    3294 0 2
  • solved badge Re: Velocity - If/Than Statement for Previous Date

    Oh okay, so if I'm trying to do a date.difference comparison between the calNow and the parsed date field, do I need to do any more massaging of the field date in order for the difference comparison to work? Or am I formatting it incorrectly?##Loops through each field in Customer Profile object#fore...

    image_type
    Discussions
    3307 0 4
  • solved badge Re: Velocity - If/Than Statement for Previous Date

    I'm probably overcomplicating this (or totally over my head, but I started by parsing the string into a Date field: #set( $membershipOpeningDate = $convert.parseDate( $item.membershipDate, $ISO8601DateOnly, $defaultLocale, $defaultTimeZone ) ) Although when printing the output it prin...

    image_type
    Discussions
    3335 0 6
  • solved badge Re: Velocity - If/Than Statement for Previous Date

    Ah makes sense, though is this able to go "if current date is 2023-03-23, look for "2023-03-22" or is it more giving "difference in date is -1"? I tried the below and it's not broken but not populating correctly:##Looks for membership date of today and prints Member full name#foreach ( $item in $cus...

    image_type
    Discussions
    3386 0 8
  • solved badge Velocity - If/Then Statement for Previous Date

    Hello!Back with another (likely) basic question I can't seem to parse: ##Standard Velocity Date/Time Fields#set( $defaultTimeZone = $date.getTimeZone().getTimeZone("America/Chicago") )#set( $defaultLocale = $date.getLocale() )#set( $calNow = $date.getCalendar() )#set( $ret = $calNow.setTimeZone($def...

    image_type
    Discussions
    3443 0 10
  • solved badge Re: Velocity and Custom Objects - Extreme Basics of Syntax/Use Cases

    Ah, was not aware there was a Velocity ability to mesh (somewhat) with Triggers! Another thing to look into! Thank you (and @SanfordWhiteman!) for all your help and expertise with this!

    image_type
    Discussions
    1265 0 0
  • solved badge Re: Velocity and Custom Objects - Extreme Basics of Syntax/Use Cases

    Is there a way to reference back to what a previous token found in order to retain the record consistency?We have a campaign that basically would run like this:Email 1: Send to CO Record when "Membership Opening Date" field within past 48 hours Email 2: 2 days later, send email with field info ONLY ...

    image_type
    Discussions
    5527 0 2
  • solved badge Re: Velocity and Custom Objects - Extreme Basics of Syntax/Use Cases

    Okay got it, that makes total sense.How would you recommend going about if I need to pull related records in conjunction with each other?For instance, we have a Loans object that details out Loans (obviously) - so there might be 20 fields related to one particular Loan.I get that #foreach reiterates...

    image_type
    Discussions
    5536 0 4
  • solved badge Re: Velocity and Custom Objects - Extreme Basics of Syntax/Use Cases

    When you're looping through the list, in each iteration of the loop, you'd only have access to one CO record (i.e., in the above example, in the first iteration, RecordA would be available in the $item variable, in the next iteration, RecordB would be available in the $item and so on..), so you nee...

    image_type
    Discussions
    5541 0 6
Sort By
  • Give Back 100 Give Back 100 Earned on 10.21.25 Earned by 108 people Select to learn more
  • Ignite 70 Ignite 70 Earned on 8.20.25 Earned by 19 people Select to learn more
  • Engage 1 Engage 1 Earned on 3.24.25 Earned by 834 people Select to learn more
  • Applaud 5 Applaud 5 Earned on 12.09.24 Earned by 1842 people Select to learn more
  • Ignite 60 Ignite 60 Earned on 10.28.24 Earned by 24 people Select to learn more
  • Ignite 50 Ignite 50 Earned on 12.11.23 Earned by 30 people Select to learn more
  • Boost 5 Boost 5 Earned on 9.28.23 Earned by 1228 people Select to learn more
  • Ignite 40 Ignite 40 Earned on 8.28.23 Earned by 42 people Select to learn more
  • Affirm 1 Affirm 1 Earned on 6.29.23 Earned by 714 people Select to learn more
  • Boost 3 Boost 3 Earned on 6.07.23 Earned by 1809 people Select to learn more
  • Give Back 50 Give Back 50 Earned on 5.15.23 Earned by 176 people Select to learn more
  • Ignite 30 Ignite 30 Earned on 5.10.23 Earned by 61 people Select to learn more
  • Validate 25 Validate 25 Earned on 3.31.23 Earned by 7 people Select to learn more
  •  Give Back 25 Give Back 25 Earned on 3.17.23 Earned by 332 people Select to learn more
  • Ignite 20 Ignite 20 Earned on 3.17.23 Earned by 116 people Select to learn more
  • Boost 1 Boost 1 Earned on 2.06.23 Earned by 4000 people Select to learn more
  • Shape 1 Shape 1 Earned on 12.05.22 Earned by 836 people Select to learn more
  • Validate 10 Validate 10 Earned on 2.22.22 Earned by 25 people Select to learn more
  • Ignite 10 Ignite 10 Earned on 2.18.22 Earned by 296 people Select to learn more
  • Give Back 10 Give Back 10 Earned on 2.03.22 Earned by 719 people Select to learn more
  • Give Back 5 Give Back 5 Earned on 5.28.21 Earned by 1285 people Select to learn more
  • Ignite 5 Ignite 5 Earned on 5.27.21 Earned by 662 people Select to learn more
  • Give Back 3 Give Back 3 Earned on 5.13.21 Earned by 1979 people Select to learn more
  • Ignite 3 Ignite 3 Earned on 4.26.21 Earned by 1175 people Select to learn more
  • Give Back 1 Give Back 1 Earned on 4.26.21 Earned by 4372 people Select to learn more
  • Validate 1 Validate 1 Earned on 4.19.21 Earned by 687 people Select to learn more
  • Ignite 1 Ignite 1 Earned on 2.08.21 Earned by 4274 people Select to learn more
  • Boost 250 Boost 250 Earned by 59 people Select to learn more
  • Affirm 250 Affirm 250 Earned by 4 people Select to learn more
  • Shape 50 Shape 50 Earned by 7 people Select to learn more
  • Give Back 400 Give Back 400 Earned by 33 people Select to learn more
  • Publish 70 Publish 70 Earned by 4 people Select to learn more
  • Validate 250 Validate 250 Earned by 3 people Select to learn more
  • Applaud 500 Applaud 500 Earned by 16 people Select to learn more
  • Give Back 200 Give Back 200 Earned by 57 people Select to learn more
  • Affirm 100 Affirm 100 Earned by 14 people Select to learn more
  • Boost 100 Boost 100 Earned by 121 people Select to learn more
  • Give Back 300 Give Back 300 Earned by 41 people Select to learn more
  • Publish 60 Publish 60 Earned by 4 people Select to learn more
  • Engage 100 Engage 100 Earned by 3 people Select to learn more
Public Statistics
Date Registered ‎10-29-2020 08:41 AM
Date Last Visited Wednesday
Total Messages Posted 176
Likes Received 8