Hi Mudassir,
I just did a small sample. We can achieve this by invoking a custom service during the extraction of Attribute in Document Type section.
This custom service has input defined as values (string list), and output as newValues (string list).
Logic inside this service -
if values[0] is string1 or string2,
set newValues[0]=string
So everytime if string1/string2 appears in input, the service will reset the attribute value to “STRING” by invoking the custom service…
Does that help your scenario? No additional processing rule required!
-Senthil
#webMethods#B2B-Integration#Integration-Server-and-ESB