CustomTester

From Fmepedia


This page contains a Custom Transformer created by an fmepedia user.
  See the attached files list at the foot of this page for the zip file containing this custom transformer.  



Created by: Mark Ireland


CustomTester is a transformer designed for a particular use - where an attribute is set to a value of "unset" it will be changed to a simple null value. The main component is a Grepper in preference to a Tester because the Grepper permits tests regardless of case, so it would find "unset", "UNSET" or "uNsEt".

It isn't a particularly complicated transformer, but it is a good example of sharing a published parameter.

Here's the custom transformer definition...


...and here's a workspace using it...

Attached Files
filesizedate
CustomTester.jpg24.0 kB09/28/06
CustomTesterExample.jpg23.9 kB09/28/06
CustomTesterExample.zip5.7 kB05/28/07
User Comments Add a new comment