I'm trying to apply multiple changes to a table based on data from another source. The dynamic replace tool comes ever so close to delivering the functionality I'm looking for. But it's not quite there.
Consider this example, of an input file, with a single field called "phrase".
now is the time for all good men
i slit the sheet
the quick brown fox
And the need to do 2 things to EACH row, (1) add a period, and (2) title case the string... resulting in:
Now Is The Time For All Good Men.
I Slit The Sheet.
The Quick Brown Fox.
This example (module attached) demonstrates that the dynamic replace tool executes the replacement only for the first expression that evaluates to true (-1). It does the first rule, appending a period "." to each phrase, resulting in this:
now is the time for all good men.
i slit the sheet.
the quick brown fox.
But it never executes the next replacement, even though the expression is also true (-1).
I'd like to find a way for this to process ALL expressions that evaluate to true.
Why is this important? My intention is to be able to let a group of data processors manage lists of rules outside of Alteryx - in flat files. That way they can just update these "editing" rules. I envision thousands of these editing rules, and such a facility would give us a great deal of flexibility on how to manage them.
Thank you for thinking about this. Any feedback is most welcome.
David.