Skip to main content

If a column contains the string "Insert," I want to change all the values in that column to "Insert." If the column does not contain "Insert," we want to leave the values in that column unchanged.

 

Is there a method or approach available that would allow me to accomplish this objective?

Something like this?

imageIn (1), no features with value 'Insert' in ColumnToTest are present. No features enter the Supplier port of the FeatureMerger, so all features exit the FeatureMerger through the UnmergeredRequestor port, and no values are changed.

In (2), one or more features with value 'Insert' in ColumnToTest are present, so all features will exit the FeatureMerger through the Merged port. In this case the value of attribute ColumnToTest is changed to 'Insert' for all features in the AttributeManager.


cam you send me the workspace


Or course.


No this not that i want


I'm sorry, then I don't understand what you are trying to accomplish.


Reply