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.
I was wondering if anyone knows how to accomplish this task in Maestro.
Thanks in advance.
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.