Problem:
I am trying to union multiple tables with different fields in each table dynamically . I am able to do that using a macro.
In the workflow, I gave the connection names of the tables in a txt file which feeds the control parameter in the macro. Though I specified the date frame in the input table in macro, its fetching every record irrespective of the time frame.
But cannot filter the records from the table in the input data tool(Ex: I want to filter records in particular time frame). And also I need an extra column in the final output table with incomming tablename in one of the fields.