Pipeline variable values
You can use the tags to populate the values of pipeline variables to generate email content dynamically at run time. The following table lists the pipeline variables (case-sensitive) that you can use in the email body:
| Variable Category | Related variables values that can be retrieved by using template tags |
|---|---|
| sender |
These sender variables retrieve the sender's organization unit name from the pipeline. |
| receiver |
The receiver variables retrieve the receiver's organization unit name from the pipeline. |
| document |
The document variables retrieve the document from the pipeline. |
| userStatus | bizdoc/UserStatus |
| custom attributes | Any custom attributes defined by you. For example, if you defined an attribute by name checkcustomstatus, then you can retrieve the variable value by using bizdoc/Attributes/checkcustomstatus |
The following sample format of the email body shows how to use the pipeline variables in the email body:
B2B received a %value bizdoc/DocType/TypeName% document from %value
bizdoc/DocType/TypeName%
%value sender/OrgUnit%
. You can view
the document at http://xyzcompany/saas/webmethods-b2b/#/transactions/%value
bizdoc/InternalID%/summary/live
For example, if the document type is purchase order, the sender's corporation name is XYZ Steel Company, and the organizational unit is Alloys Division, the message body is rendered as follows:
B2B received a purchase order document from XYZ Steel Company-- Alloys Division. You can view the
document at
http://xyzcompany/saas/webmethods-b2b/#/transactions/55mffm00eb0pdptc000000c1/summary/live
For more information about tags that you can use, see Template Tag and Description.