Welcome to
Tweak Marketing official website!
Attachments Processor 2009
Attachments Processor 2009 v.1.60 has been released.
Update it now.
download
Technical Support
  Overview
  Select SLA plan
  Knowledge Base
  Check current versions of our products
  Documentation
  Learning courses
  Helpdesk
  Live support
  Private Download
  Personal area

Home / Support / Documentation

• AEP Online Help Index

RegNow order forms processing - an example of Block Parsers usage.

Example Description

This example shows how to parse data from messages containing the same fields using the block parser.

To load the example, import the rules list rules.txt from Examples\BlockParser folder.

The example is the solution of task of parsing data from RegNow order forms. Upon message receiving, customer's name, company name, mailing address and country code are parsed from it. Based on the country code, the country name is identified. The data parsed are stored into a text file.


Example Rule Description

Filtering

There is the Subject Filter that will filter all messages except debug messages from the example.

Processing

  • Parsing of Shipping block and Purchasing block
  • Identifying which of the blocks is to be processed
  • Processing of the shipping block if necessary
  • Processing of the purchasing block if necessary
  • Identifying of the country name based on the country code
  • Storing of the data parsed into a file


Debug Messages

There are two debug messages to show how the rule works. The first one contains filled purchasing block; the second one contains filled shipping block..



 
 
Solutions | Products | Support | Price & Ordering | Partners | Blog & Articles | Company

Copyright © TweakMarketing 2012. All rights reserved.