I have a workflow that uses 3 times the same SQL query with the regular input data tool. On each day the results are different as the database constantly updates. Let's assume the logic is like this:
1. preview (on 25th of the month)
2. actual run (on 1st of the month)
3. comparison run (on 5th of the month)
In the preview run, I would verify if any new unknown values are being added. If there is, it will be added to the SQL CASE WHEN statement. I don't want to update my SQL on all three locations. Is there a way to save the SQL code outside of the input tool and have Alteryx read from this document in all the 3 workflows?