<?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 MongoDB - where to find + change WF schedule state in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/361404#M3169</link>
    <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a couple of questions related to the MongoDB for Alteryx Server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can I find what the state of a scheduled Workflow is from within the server’s MongoDB instance? I.e. How can I find out whether a schedule is enabled or disabled just by querying the MongoDB?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, can I change the state of a schedule through MongoDB? I.e. How do I switch the state of a schedule from Enabled to Disabled and/or vice versa via MongoDB?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jan 2019 10:08:20 GMT</pubDate>
    <dc:creator>alexcassola</dc:creator>
    <dc:date>2019-01-28T10:08:20Z</dc:date>
    <item>
      <title>MongoDB - where to find + change WF schedule state</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/361404#M3169</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a couple of questions related to the MongoDB for Alteryx Server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can I find what the state of a scheduled Workflow is from within the server’s MongoDB instance? I.e. How can I find out whether a schedule is enabled or disabled just by querying the MongoDB?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, can I change the state of a schedule through MongoDB? I.e. How do I switch the state of a schedule from Enabled to Disabled and/or vice versa via MongoDB?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 10:08:20 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/361404#M3169</guid>
      <dc:creator>alexcassola</dc:creator>
      <dc:date>2019-01-28T10:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: MongoDB - where to find + change WF schedule state</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/361504#M3173</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;you can read this article, it can be a good starting point:&amp;nbsp;&lt;A href="https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/Query-Scheduler-Database-from-Alteryx/ta-p/10534" target="_blank"&gt;https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/Query-Scheduler-Database-from-Alteryx/ta-p/10534&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Why want you to update scheduling status? Would it be easier to call the execution of your workflow through the Server API ?&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 12:54:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/361504#M3173</guid>
      <dc:creator>WilliamR</dc:creator>
      <dc:date>2019-01-28T12:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: MongoDB - where to find + change WF schedule state</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/361515#M3175</link>
      <description>&lt;P&gt;Thanks. Bottom line is I would like to enable/disable multiple schedules on the Server in one go, rather than having to enable/disable schedules individually manually. (The server gallery hasn't got this facility unfortunately.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wasn't aware of the Server API option, so I'll look into whether there's an API for enabling/disabling schedules on the gallery.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd appreciated any further pointers/ideas on this if any :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 13:10:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/361515#M3175</guid>
      <dc:creator>alexcassola</dc:creator>
      <dc:date>2019-01-28T13:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: MongoDB - where to find + change WF schedule state</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/786306#M9101</link>
      <description>&lt;P&gt;Hi Alex, just wanted to check in and see if you made any headway with this in the end.&lt;/P&gt;&lt;P&gt;Currently looking at the same challenge where we want to query the 'state' for scheduled workflows via the API, the MongoDB collection, or otherwise.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 13:47:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/786306#M9101</guid>
      <dc:creator>JonathanAllenby</dc:creator>
      <dc:date>2021-07-14T13:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: MongoDB - where to find + change WF schedule state</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/786442#M9104</link>
      <description>&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still don't know of a way of enabling/disabling Gallery schedules in a batch &lt;span class="lia-unicode-emoji" title=":expressionless_face:"&gt;😑&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be able to check the status of a schedule both from the Gallery API (/admin/v1/schedules/) as well as from your Gallery's MongoDB instance.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 16:37:22 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/786442#M9104</guid>
      <dc:creator>alexcassola</dc:creator>
      <dc:date>2021-07-14T16:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: MongoDB - where to find + change WF schedule state</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/787848#M9129</link>
      <description>&lt;P&gt;Hey Alex - I appreciate taking the time to log back on for an update. I saw your last online time and thought it was a bit of a stretch to expect a response!&lt;BR /&gt;&lt;BR /&gt;We thought that we could check the state using the Gallery API and MongoDB collection as well however the user with access to the MongoDB is telling us that the information isn't there and when we think we've found the relevant information it's actually something else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to confirm, are you referring to this column when referring to the state of a schedule? :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonathanAllenby_0-1626598367804.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/193894iDFA89C223CFF98C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonathanAllenby_0-1626598367804.png" alt="JonathanAllenby_0-1626598367804.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We thought we found this after digging through&amp;nbsp;the documentation for the Alteryx Service MongoDB schema: &lt;A href="https://help.alteryx.com/20203/server/alteryxservice-mongodb-schema" target="_blank"&gt;https://help.alteryx.com/20203/server/alteryxservice-mongodb-schema&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This schema includes the collection &lt;STRONG&gt;AS_Schedules&lt;/STRONG&gt; which contains the field "&lt;STRONG&gt;Status: (String) Schedule status.&lt;/STRONG&gt;" which seemed immensely promising but we've been told that "&lt;EM&gt;The “Status” field holds the current status of the schedule or workflow i.e. queued or running not the schedule state" by the user with access to the MongoDB.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're currently waiting to see if Alteryx Support can confirm this, but if you're able to confirm/deny the location of the 'state' information as per the screenshot in the MongoDB/API it'd go a long way.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jul 2021 08:58:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/787848#M9129</guid>
      <dc:creator>JonathanAllenby</dc:creator>
      <dc:date>2021-07-18T08:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: MongoDB - where to find + change WF schedule state</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/788037#M9130</link>
      <description>&lt;P&gt;Best to have official confirmation on your question from someone within Alteryx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime (to remain on topic) it is still not possible for me to enable/disable a schedule in an automated manner.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 09:51:54 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/MongoDB-where-to-find-change-WF-schedule-state/m-p/788037#M9130</guid>
      <dc:creator>alexcassola</dc:creator>
      <dc:date>2021-07-19T09:51:54Z</dc:date>
    </item>
  </channel>
</rss>

