Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
Hi,thanks for the help. Problem solved.
I have an email for which the content is completely generated with velocity script.In the content I create a list of links. The number of items in the list is different for every lead.The problem is that I do not succeed in creating trackable links ( I refer to this post of Sanford : https://nation....
Hi SanfordAfter further looking into your answer, I could solve the issue. The error had nothing to do with syntax problems in the code. It was indeed the problem of getting the email approved, and therefore indeed I needed to alter the code temporarily.After the approval I removed the special condi...
The complete mail is working ( no errors in the code ) as long as I do not use the array length at the end to decide if I have to throw the exception. Only when using that variable I have this problem.
json data not included but part of#set( $dataNLD = '[{ xxx }]' )## Other variables#set($mybreak = '
' )#set($output = '' )#set($linkpart1NLD = "" )#set($linkpart3 = "" )#set($openList = "
Hi, this is my error : And my complete code : json data not included , but present in#set( $dataNLD = '[xxxx]' )The whole system is working in preview, but I am not able to approve my email
Take the following code#set($nrOfLinksInOutput = 1)#if($nrOfLinksInOutput.equals(0)) #throw_v3("ineligible")#else #set($output = 'Links available')#endThis above works, and the email can be approved in the cases where $nrOfLinksInOutput = 1 & $nrOfLinksInOutput = 0 ( the throw case ) Of course t...
Hi Darshil, First of all, thank you for taking the time to look at my case, i really appreciate it.I have put your above suggested code into 2 new tokens and the email is working.I can't pinpoint the differences exactly, but at least I can build on this working part.
This is a implementation case which has been described in Sanfords blog post at:https://blog.teknkl.com/velocity-poison-pill-throw-error-revisited/I want to block sending an email if my velocity script has no output.The idea is the use a global macro which has been defined in a Global Velocity token...