iNTERFACEWARE Products Manual > Learning Center > Tutorials and Sample Scenarios > Email Notification Rule Examples > Handling VIP Admissions > Modifying the VMD File |
![]() ![]() |
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The first step is to update the VMD file that is defined for the To Database destination component of this channel. This is very easy: all you need to do is write a Segment Inbound script for the field in the ZVP segment. The following example is a simple script that checks whether the value of the VIP field entry is 1. If it is, the script writes a message indicating that a VIP is being admitted.
The print statement in this script writes an informational message to the Iguana logs. Now that you have updated the VMD file to write a log message, the next step is to create an email notification rule to detect when this message is generated.
|