<?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: Scheduled Workflow Doesn't Work But Manual Run Does in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Scheduled-Workflow-Doesn-t-Work-But-Manual-Run-Does/m-p/758623#M8806</link>
    <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/131047"&gt;@tmkwil&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That sounds a frustrating/confusing one.&lt;BR /&gt;&lt;BR /&gt;It may be worth trying the conditional runner tool, instead of your method of disabling the container. Heres a similar situation:&lt;BR /&gt;&lt;A href="https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Crew-Macro-Conditional-Runner/td-p/491353" target="_blank"&gt;https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Crew-Macro-Conditional-Runner/td-p/491353&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this helps!&lt;BR /&gt;Cheers,&lt;BR /&gt;Owen&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 15:58:52 GMT</pubDate>
    <dc:creator>TheOC</dc:creator>
    <dc:date>2021-05-13T15:58:52Z</dc:date>
    <item>
      <title>Scheduled Workflow Doesn't Work But Manual Run Does</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Scheduled-Workflow-Doesn-t-Work-But-Manual-Run-Does/m-p/758571#M8804</link>
      <description>&lt;P&gt;I have a workflow published to Alteryx Gallery/Server that is scheduled to run every 4 hours.&amp;nbsp; The workflow executes with no errors but it doesn't do any work either.&amp;nbsp; However, when I run the workflow from within Gallery using the "Run" button it does work.&amp;nbsp; They are both executing the same published version of the workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workflow was developed using Designer version 2020.4.5.12471.&lt;/P&gt;&lt;P&gt;Gallery server is running the same version&amp;nbsp;&lt;SPAN&gt;2020.4.5.12471.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The workflow first has a Directory Input tool, which runs through a Count Records to count how many files there are to process.&amp;nbsp; If there is at least 1 I set a "Run" flag to 1 (bool), if there are no files I set the "Run" flag to 0 (bool).&amp;nbsp; This Run flag is then passed to a Batch Macro that enables/disables a container.&amp;nbsp; The container holds all the tools that actually process the file contents.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I run in Designer it works correctly. When I press the "Run" button in Gallery it runs correctly. When the workflow starts from a schedule it runs without errors but it seems like that container in the macro is never enabled even when a file is present.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any thoughts on why the&amp;nbsp;&lt;EM&gt;schedule&lt;/EM&gt; would behave differently than a manual run?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any thoughts on a different strategy to enable/disable execution based on files in a directory?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Primary workflow with the dir input, record count, set Run, pass to macro:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmkwil_0-1620917590644.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/184127i87096D1E2FB19969/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tmkwil_0-1620917590644.png" alt="tmkwil_0-1620917590644.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Control Parameter in the macro connected to container:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmkwil_1-1620917616904.png" style="width: 228px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/184128i2DD9669952EEBCFC/image-dimensions/228x197?v=v2" width="228" height="197" role="button" title="tmkwil_1-1620917616904.png" alt="tmkwil_1-1620917616904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update value with formula:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmkwil_2-1620917655166.png" style="width: 288px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/184129iE8E5EE3B0410F524/image-dimensions/288x64?v=v2" width="288" height="64" role="button" title="tmkwil_2-1620917655166.png" alt="tmkwil_2-1620917655166.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 15:01:03 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Scheduled-Workflow-Doesn-t-Work-But-Manual-Run-Does/m-p/758571#M8804</guid>
      <dc:creator>tmkwil</dc:creator>
      <dc:date>2021-05-13T15:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Workflow Doesn't Work But Manual Run Does</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Scheduled-Workflow-Doesn-t-Work-But-Manual-Run-Does/m-p/758623#M8806</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/131047"&gt;@tmkwil&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That sounds a frustrating/confusing one.&lt;BR /&gt;&lt;BR /&gt;It may be worth trying the conditional runner tool, instead of your method of disabling the container. Heres a similar situation:&lt;BR /&gt;&lt;A href="https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Crew-Macro-Conditional-Runner/td-p/491353" target="_blank"&gt;https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Crew-Macro-Conditional-Runner/td-p/491353&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this helps!&lt;BR /&gt;Cheers,&lt;BR /&gt;Owen&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 15:58:52 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Scheduled-Workflow-Doesn-t-Work-But-Manual-Run-Does/m-p/758623#M8806</guid>
      <dc:creator>TheOC</dc:creator>
      <dc:date>2021-05-13T15:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Workflow Doesn't Work But Manual Run Does</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Scheduled-Workflow-Doesn-t-Work-But-Manual-Run-Does/m-p/1296955#M15726</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/131047"&gt;@tmkwil&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is old, but i had a similar issue here (being able to run a workflow manually through gallery, but not with schedule). Our particular problem was with AD user permissions to the data connection (the error was happening with a database connection in our case).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;If connection works with manual but not scheduled, it’s usually because in order for scheduling to work, you need explicitly be added to connection.&amp;nbsp; In other words:&lt;BR /&gt;•  Local, manual – can be in shared studio&lt;BR /&gt;•  Schedule – the individual scheduling the workflow would need to be explicitly added to share list on connection&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;So, the solution was to ask the server admin to add the necessary users to the share list&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 17:57:38 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Scheduled-Workflow-Doesn-t-Work-But-Manual-Run-Does/m-p/1296955#M15726</guid>
      <dc:creator>Felipe_Ribeir0</dc:creator>
      <dc:date>2024-07-19T17:57:38Z</dc:date>
    </item>
  </channel>
</rss>

