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.
Hi, Using Constant in Connection Name for In-DB Input tool does not work with AMP.
I have created a few different ODBC connections that I use directly in the Input tool, and have created the constant User.GFT that I set to "Dev", "Test", and "Prod" depending of the environment of the workflow.
Without AMP the connection work fine and uses the correct ODBC connection according to the constant value. When using AMP this does not work. If I replace %User.GFT% with Dev directly in the Connection Name, it works with AMP, but then the whole point of constant is gone, and there is also ridiculously much more work each time I switch between the environments. How can I get this work with AMP, and not increasing the work when switching environments?
Thank you for using AMP Engine and for bringing this to our attention.
I ran this by our Engineers and for now a workaround seems to be to convert the workflow type to a Macro. This appears to fix the issue, but I will also add a defect to our backlog to ensure that constants with In-DB tool connections work in regular workflows with AMP by falling back to the original Engine for this functionality. In-DB tools are not AMP enabled, but that should not prevent the functionality from working in an AMP workflow.
I also wanted to share the various AMP related resources that we have available: