>>But I thought that what he has here is already metadata :). Just needed some help making it usable metadata.
>
>But hard coding the case statement limits the number, no matter how you slice it, no? If there is a table and you run a process on every record in the table you can increase the number of 'cases' to whatever you want.
Well, that part was solved a couple of days ago. This can be used as metadata. The way it was originally presented was a clear dead end.