joemadafferi

joemadafferi

Contact Me
Online Status
Offline
Date Last Visited
‎12-17-2024 10:46 PM
Level 1
Joined the community 10-04-2022
Rank Icon Level 1
  • Re: Velocity script to check custom object field is null

    @SanfordWhiteman wrote:if a contact has an element from the $contactqualificationList list where the property qualificationid is empty - the email will fail to send due to a fatal error:"empty" or null?These fields are null in Dynamics and being populated by the standard custom object sync. This is...

    image_type
    Discussions
    2968 0 0
  • Re: Velocity script to check custom object field is null

    Hi @SanfordWhiteman, thank you for your reply I appreciate the help. I have taken your response and was able to correctly set up the 'foreach' loop as below:#set ( $qual = "Unavailable" )#foreach( $qualitem in $contactqualificationList ) #set ( $qual = $qualitem.qualificationid ) #foreach( $co...

    image_type
    Discussions
    2982 0 2
  • Re: Velocity script to check custom object field is null

    I have tried iterating over this script but still no luck. Even if I set a variable outside of the foreach function as error validation:#set( $qual = "Unavailable" )#foreach( $qualificationid in $contactqualificationList ) #if( !$contactqualificationList.qualificationid.isEmpty() ) #set( $qual ...

    image_type
    Discussions
    3017 0 4
  • Velocity script to check custom object field is null

    I'm trying to develop a velocity script where it checks if a field in a custom object (which is being synced from a Dynamics custom entity) is not empty. If this field is empty, I would like to print a message saying the details are not available at this time. The entity is being synced with Marketo...

    image_type
    Discussions
    3082 0 5

Top Badges Earned

Customize up to 8 badges at the top of your trophy case for all other Community members to see!Customize up to 8 badges at the top of your trophy case for all other Community members to see!
  • Give Back 3 Give Back 3 Earned on 1.23.23 Earned by 1973 people Select to learn more
  • Give Back 1 Give Back 1 Earned on 1.19.23 Earned by 4363 people Select to learn more
  • Ignite 1 Ignite 1 Earned on 1.11.23 Earned by 4261 people Select to learn more
Public Statistics
Date Registered ‎04-10-2022 05:36 PM
Date Last Visited ‎12-17-2024 10:46 PM
Total Messages Posted 4
Likes given to