<?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: Use Workflow Credentials within a command line (CMD) argument in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Use-Workflow-Credentials-within-a-command-line-CMD-argument/m-p/970019#M11260</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/327520"&gt;@klturi421&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an example of how you can parameterize the credentials within the command line statement. You can then use the Run Command tool to execute the statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pay special attention to the use of single and double quotes in the formula tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for your question about not hardcoding the credentials - you can turn this into an app where the user needs to input their credentials and then execute, but that doesn't allow for scheduling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps you can talk me through how you'd like it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidP_0-1658135714449.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/246346iD7EF80C8B418E318/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidP_0-1658135714449.png" alt="DavidP_0-1658135714449.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2022 09:15:36 GMT</pubDate>
    <dc:creator>DavidP</dc:creator>
    <dc:date>2022-07-18T09:15:36Z</dc:date>
    <item>
      <title>Use Workflow Credentials within a command line (CMD) argument</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Use-Workflow-Credentials-within-a-command-line-CMD-argument/m-p/969713#M11257</link>
      <description>&lt;P&gt;I have a workflow that is required to run command line arguments and also requires the user of a username and password. The best way that I currently run it is copy and paste a command line code into CMD prompt which has the username and password baked in. For security reasons this is clearly not the best approach. However, I would like to have a workflow run the prompt unattended and on a schedule. With that said, I do not want to hard code the username and password within the workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example command line:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"\\server\Book\fax" srcuser="klturi421" srcDomain="nlsn" srcpw="somepassword" destserver="server2" destuser="klturi421" destpw="somepassword" debug="False" simulate_write="False"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am trying to figure out is how to use the Set Credentials within the command line. Is this possible?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 19:20:59 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Use-Workflow-Credentials-within-a-command-line-CMD-argument/m-p/969713#M11257</guid>
      <dc:creator>klturi421</dc:creator>
      <dc:date>2022-07-16T19:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Use Workflow Credentials within a command line (CMD) argument</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Use-Workflow-Credentials-within-a-command-line-CMD-argument/m-p/970019#M11260</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/327520"&gt;@klturi421&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an example of how you can parameterize the credentials within the command line statement. You can then use the Run Command tool to execute the statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pay special attention to the use of single and double quotes in the formula tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for your question about not hardcoding the credentials - you can turn this into an app where the user needs to input their credentials and then execute, but that doesn't allow for scheduling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps you can talk me through how you'd like it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidP_0-1658135714449.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/246346iD7EF80C8B418E318/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidP_0-1658135714449.png" alt="DavidP_0-1658135714449.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 09:15:36 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Use-Workflow-Credentials-within-a-command-line-CMD-argument/m-p/970019#M11260</guid>
      <dc:creator>DavidP</dc:creator>
      <dc:date>2022-07-18T09:15:36Z</dc:date>
    </item>
  </channel>
</rss>

