Generate Dynamic Content In Processing Rule Email - TN, EDI

All,

I am able to receive email using ProcessingRule actions while processing EDI using TN. I want the content of the email to contain dynamic content like SenderId, ReceiverId, DocType, etc. TradingNetworks users guide talks about how to do it but nothing seems to work for me. I tried the following without luck in the email content definition-

  1. Duplicate Control Numbers %value bizdoc/DocType/TypeName% (As documented in the TN User guide)

  2. Duplicate Control Numbers %/bizdoc/DocType/TypeName%

I receive emails but without any variable substitution.

I understand I am trying to access the pipeline variables here and AFAIK, “bizdoc” variable is available in the PL when the email rule is triggered. Not sure what I am missing here.

Thanks,
Anil