<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynamically creating filename in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19113#M8546</link>
    <description>&lt;P&gt;There could be ways - for example if the directory you're saving the workflow contains the environment you could parse that value and add it to the file name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could also drive the workflow from a config file and pass in the variables from a config file - this is how I'm currently working to prevent making changes to the workflow as I move between environments, I just update the config file.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2016 14:07:23 GMT</pubDate>
    <dc:creator>AndrewW</dc:creator>
    <dc:date>2016-04-15T14:07:23Z</dc:date>
    <item>
      <title>Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19099#M8541</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking to create a parameter which would take a string value from user and add that to the filename creation. (Dynamic way to do it )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example :- I have Dev,Prod and Test regions and I am trying suffix a string to filename based on the region that I run the flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename:- Cust_DEV_TimeStamp.txt or Cust_PRD_Timestamp.txt or Cust_TST_Timestamp.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 01:40:23 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19099#M8541</guid>
      <dc:creator>Vamsee_kris</dc:creator>
      <dc:date>2018-05-24T01:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19100#M8542</link>
      <description>&lt;P&gt;In the output tool there is an option to take the file/table name from a&amp;nbsp;field.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.alteryx.com/t5/image/serverpage/image-id/4522iC0C159C36CB48DFB/image-size/original?v=lz-1&amp;amp;px=-1" border="0" alt="2016-04-15_13-22-24.jpg" title="2016-04-15_13-22-24.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use an Append Fields tool to add a single field value to all rows and then this option would let you append a suffix to the filename.&lt;/P&gt;&lt;P&gt;If you want it in the middle as you showed then you would need to use a formula tool to create the required filename&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 12:24:15 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19100#M8542</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2016-04-15T12:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19107#M8543</link>
      <description>&lt;P&gt;Thanks for your quick reponse .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want it to be added to the filename it does not come along with data from start . When I follow these approach I have to create 3 different fields and have three stings init like DEV,PRD and TST. at have to choose one everytime getting into flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 13:25:14 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19107#M8543</guid>
      <dc:creator>Vamsee_kris</dc:creator>
      <dc:date>2016-04-15T13:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19108#M8544</link>
      <description>&lt;P&gt;jdunkerleys suggestion is good. How do you know whether you're in DEV, PRD or TST? Can this be identified in the data? How does Alteryx know in which it is running?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 13:36:59 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19108#M8544</guid>
      <dc:creator>AndrewW</dc:creator>
      <dc:date>2016-04-15T13:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19112#M8545</link>
      <description>&lt;P&gt;that is the reason, I would like see if alteryx accepts any dynamic parameter during the run time. when I pass the parameter that should get assigned to a field and as said I can use that field in output component.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 13:57:12 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19112#M8545</guid>
      <dc:creator>Vamsee_kris</dc:creator>
      <dc:date>2016-04-15T13:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19113#M8546</link>
      <description>&lt;P&gt;There could be ways - for example if the directory you're saving the workflow contains the environment you could parse that value and add it to the file name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could also drive the workflow from a config file and pass in the variables from a config file - this is how I'm currently working to prevent making changes to the workflow as I move between environments, I just update the config file.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 14:07:23 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19113#M8546</guid>
      <dc:creator>AndrewW</dc:creator>
      <dc:date>2016-04-15T14:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19114#M8547</link>
      <description>&lt;P&gt;You could do this in an &amp;nbsp;analytic app or have a user constant on the workflow&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 14:11:10 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19114#M8547</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2016-04-15T14:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19115#M8548</link>
      <description>&lt;P&gt;Can you help me with more information on config file changes if possible ?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 14:11:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19115#M8548</guid>
      <dc:creator>Vamsee_kris</dc:creator>
      <dc:date>2016-04-15T14:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19117#M8549</link>
      <description>&lt;P&gt;The simplest way would be to have a text file in the same location as the workflow and use an input tool to read it in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can then take the first row and append the field to the other data flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;Will post a sample in a few minutes&lt;/STRIKE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 14:25:38 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19117#M8549</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2016-04-15T14:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19119#M8550</link>
      <description>&lt;P&gt;Sure, create a simple text file containing the variables you want to load into the workflow. This text file should be an Input into the workflow. Depending on how you move between environments - personally I have a folder structure that's replicated in each enviroment, use the .. (relative references) for my config file Input, meaning when I copy a workflow between environments it automatically points to the config file within the 'new' environment - assuming the config file is in the same relative location in the different environments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When moving between environments I copy the macros and workflows only. My config file is always a fixed Input Data tool with a relative reference - Options - Workflow Dependencies. Other inputs are Dynamic Inputs with the file path of the input taken from the config file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, not so easy to explain in words. I also can't upload screenshots with the IT settings here (feel free to upvote this and put more pressure on the forum provider to make this happen &lt;A href="http://community.alteryx.com/t5/Suggestions-For-Our-Community/Paste-images-directly-into-discussions/idi-p/13104)." target="_blank"&gt;http://community.alteryx.com/t5/Suggestions-For-Our-Community/Paste-images-directly-into-discussions/idi-p/13104).&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 14:21:51 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19119#M8550</guid>
      <dc:creator>AndrewW</dc:creator>
      <dc:date>2016-04-15T14:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19229#M8551</link>
      <description>&lt;P&gt;Thanks for your time and patience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got an thought here , can we do something we create Text Input dataset with &amp;nbsp;have drop down component it and select it as assign to field and run the flow???&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 09:52:34 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19229#M8551</guid>
      <dc:creator>Vamsee_kris</dc:creator>
      <dc:date>2016-04-18T09:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19230#M8552</link>
      <description>&lt;P&gt;You could do this as an analytic app with a drop down input that would do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached a really simple example&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 10:02:05 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19230#M8552</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2016-04-18T10:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19231#M8553</link>
      <description>&lt;P&gt;This one seems to realistic , could help me with steps on how you created this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 10:06:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19231#M8553</guid>
      <dc:creator>Vamsee_kris</dc:creator>
      <dc:date>2016-04-18T10:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19235#M8554</link>
      <description>&lt;P&gt;Add a drop down box from the interface tools and connect to a formula box&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To keep it simple I used a fixed list of modes inside the drop down box:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.alteryx.com/t5/image/serverpage/image-id/4561i9A62773BFFA593F1/image-size/original?v=lz-1&amp;amp;px=-1" border="0" alt="2016-04-18_11-07-44.jpg" title="2016-04-18_11-07-44.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On connected to a formula box (connect at the top) a new entry will appear in the variables tab of the formula tool:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.alteryx.com/t5/image/serverpage/image-id/4562iC26AF037BB9BF3E2/image-size/original?v=lz-1&amp;amp;px=-1" border="0" alt="2016-04-18_11-09-33.jpg" title="2016-04-18_11-09-33.jpg" /&gt;&lt;/P&gt;&lt;P&gt;You can then set up the formula to produce the required filename and add into the exisitng flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FInally save the workflow&amp;nbsp;as an Analytic App:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.alteryx.com/t5/image/serverpage/image-id/4563i9CB88B1657A4A07B/image-size/original?v=lz-1&amp;amp;px=-1" border="0" alt="2016-04-18_11-10-26.jpg" title="2016-04-18_11-10-26.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 10:15:10 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19235#M8554</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2016-04-18T10:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19236#M8555</link>
      <description>&lt;P&gt;Hi jdunkerley79,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I have done by looking at the steps&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Picked up drop down list (placed the values under it "DEV,TST,PRD)&lt;/P&gt;&lt;P&gt;2. Pulled formula box and joined it and save it as analytical app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still i am getting error missing saying incoming&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 10:38:16 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19236#M8555</guid>
      <dc:creator>Vamsee_kris</dc:creator>
      <dc:date>2016-04-18T10:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating filename</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19237#M8556</link>
      <description>&lt;P&gt;You need to add the data flow to the formula tool. This is just a formula to create a file name that an&amp;nbsp;output tool can use to save the data to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 10:56:33 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-creating-filename/m-p/19237#M8556</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2016-04-18T10:56:33Z</dc:date>
    </item>
  </channel>
</rss>

