string  sConditions = null;
public object DoWork()
// Load conditions only first time
if (sConditions == null)
sConditions = File.ReadAllLines("conditions.txt");
// get the first input parameter
string sCmp = (string)InValues.GetString();
if (sCmp == null)
// check all conditions
foreach(string cond in sConditions)
if (sCmp == cond)
return false; // false = no filter, pass this line
return true; // true = Filter this line
The script read at start time the conditions dynamically from a text file "conditions.txt" in a global string array. Per each row the script check if the ATA number match each of one row form the text file.
I’ve modified the example with this script and have putted also the
to the example.
If I've misunderstand you please describe a bit more what you want and send some example. Source format and destination format are helpful.
Attachment dotnet_filter02.zip not found
Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.