1
0
-1

We have a requirement to email a receipt to an applicant that has sensitive information masked but also send an unmasked receipt in our delivery to Salesforce. I found this answer in the forums for a similar question using composer. 

https://support.avoka.com/kb/questions/29851695/answers/40404670

I was wondering if anyone knows how to accomplish this task in Maestro. 

Thanks in advance. 

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Charity,

      it can be done similar way in a Maestro form.


      // Receipt Web or Email mode

      Util.isReceipt && Form.getSystemData("ReceiptMode") !== "Delivery"

      // Receipt Delivery mode

      Util.isReceipt && Form.getSystemData("ReceiptMode") === "Delivery"


      Note: the above referred article is actually incorrect when it comes to the "Web" / "Email" values. Apparently TM will never populate these 2 into the <ReceiptMode> XML element. These 2 modes will be represented as an empty value.

      However the "Delivery" should be fine and working as expected.

        CommentAdd your comment...