2
1
0

Hi All,

 

I am trying to add in the form tracking/reference number to the email which is sent through the delivery process.

 

Has anyone been able to do this before? Any tips on how this can be done?

 

Currently my subject line is formatted as follows:

 def subject = dataExtract['MemberNumber'] + " " + dataExtract['FirstName'] + " " + dataExtract['LastName'] + " " + dataExtract['trackingCode'] 

    CommentAdd your comment...

    2 answers

    1.  
      3
      2
      1

      Hi Karen,

      You should have access to the submission object in the Delivery Process. and you can get the tracking code by using this code: submission.getTrackingCode()

        CommentAdd your comment...
      1.  
        2
        1
        0

        We use velocity to do this.

         

        Tracking code for us is ${submission.trackingNumber}. We can also reference data extracts that way, e.g. ${submission.dataExtractMap.GivenName}. And it allows us to use if/else statements in the email body too.

        But we do use a custom delivery service.

         

          CommentAdd your comment...