This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
In order to have re-usability of existing workflows , I would like to have my input changed dynamically within the workflow so that I can use same workflow with different input. My input is a table in SQL Server , so depending upon a condition I would like to fetch data from Table A or Table B. I know we can certainly do this creating a macro but I would like to avoid using macro in this case.
Is their a way by which I can dynamically change the entire table name , I have used dynamic Input in past but I don't think so we can use it for replacing a table name .
There are 2 ways you could go about this. Info below to get you started.
1. Create an analytic app- use a text box linked with an action tool. Action tool is connected to the Input tool. Configure action tool to update table name based on user entry into text box. This is helpful if your condition is based on user input
2. If your condition is a result created from the workflow, then you can use dynamic input. Configure the tool using the 'modify sql query' wherein you can replace a specific string with the name of your table