The status of this idea has been changed to 'Inactive'. This status indicates that:
1. The idea has not had activity in the form of likes or comments in over a year.
2. The idea has not reached ten likes.
3. The idea is still in the 'New Idea' status.
However, this doesn't mean your idea won't be implemented! The Community can still like and comment on this idea. With enough renewed interest, this idea can be brought back into the 'New Idea' status.
Thank you for contributing to the Alteryx Community and the Alteryx Product Idea Boards!
This idea is being returned to the New Idea status, as it has reached the required number of likes to be brought to our product teams attention. Please note it may take time for our product team to provide a response. However, we will do our best to insure this idea is updated accordingly.
Thank you for posting and contributing to the product idea boards!
I have found a workaround to pass dynamic parameters into a SQL statement by using a Dynamic Input tool.
The key is to set up the Dynamic Input tool with a short expression that passes the syntax check in the SQL Editor. This will allow the workflow to show up without an error. I have found the following short generic SQL expression has worked for me in my environment.
SELECT 1 as success /* From */
You may need to tweak the above expression to work in your environment or use an actual expression that works. The point is to configure the Dynamic Input tool with a short expression that actually works or trick Alteryx into passing the syntax check.
You then build your actual SQL expression that you want to run (with the dynamic variable you want to pass) in a formula tool. Then it is a matter of configuring the Dynamic Input tool with the option of "Replace a Specific String". You will replace the whole short expression you had previously entered with the new expression you built in the formula tool.
When you run the workflow the Dynamic Input tool it will replace the generic SQL expression with the new expression that has the dynamic variable.
I have also used this same method as a way to run a delete expression that will delete records after a dynamic date.