<?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 Find length of scheduled workflow in the API in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1275365#M15469</link>
    <description>&lt;P&gt;I've been implementing an alteryx monitoring tool for my team, but have struggled to figure out how to find the length of time it takes for a schedule to be run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before using Alteryx Server I could easily do it using the log files, but have yet to find it in the different API endpoints.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone able to help?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 14:31:45 GMT</pubDate>
    <dc:creator>jsprh</dc:creator>
    <dc:date>2024-05-21T14:31:45Z</dc:date>
    <item>
      <title>Find length of scheduled workflow in the API</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1275365#M15469</link>
      <description>&lt;P&gt;I've been implementing an alteryx monitoring tool for my team, but have struggled to figure out how to find the length of time it takes for a schedule to be run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before using Alteryx Server I could easily do it using the log files, but have yet to find it in the different API endpoints.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone able to help?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 14:31:45 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1275365#M15469</guid>
      <dc:creator>jsprh</dc:creator>
      <dc:date>2024-05-21T14:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Find length of scheduled workflow in the API</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1275499#M15474</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/453550"&gt;@jsprh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can connect to the Alteryx back-end and access the collection AS_Queue.&amp;nbsp;&lt;A href="https://help.alteryx.com/20231/en/server/configure/mongodb-management/mongodb-schema-reference/alteryxservice-mongodb-schema.html#idm46021311437200" target="_blank"&gt;https://help.alteryx.com/20231/en/server/configure/mongodb-management/mongodb-schema-reference/alteryxservice-mongodb-schema.html#idm46021311437200&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To simplify, the calculation will be:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CompletionDateTime -&amp;nbsp;CreationDateTime&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Be aware that this is also considering the time the workflow was waiting on the Queue to run. The correct calculation would be:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CompletionDateTime -&amp;nbsp;CreationDateTime + QueueTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;However, this QueueTime is only accessible by decrypting the&amp;nbsp;&lt;STRONG&gt;__ServiceData&amp;nbsp;&lt;/STRONG&gt;column, which is not straightforward. If your server doesn`t have performance issues, you will probably not have any queue time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even though the Alteryx Server Usage Report is deprecated, it already has most of the Back-end data prep and parsing that you can leverage to build this report.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.alteryx.com/20221/en/server/install/install-the-server-usage-report.html#install-the-server-usage-report" target="_blank"&gt;https://help.alteryx.com/20221/en/server/install/install-the-server-usage-report.html#install-the-server-usage-report&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Fernando Vizcaino&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 17:45:40 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1275499#M15474</guid>
      <dc:creator>fmvizcaino</dc:creator>
      <dc:date>2024-05-21T17:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find length of scheduled workflow in the API</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1277892#M15499</link>
      <description>&lt;P&gt;Just comment on&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/15312"&gt;@fmvizcaino&lt;/a&gt;&amp;nbsp;'s post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we are on 2023.2 and notice&amp;nbsp;&lt;STRONG&gt;ExecutionStartTime &lt;/STRONG&gt;field already part of AS_Result collection and&amp;nbsp;&lt;STRONG&gt;__ServiceData&lt;/STRONG&gt; is removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.alteryx.com/20232/en/server/configure/mongodb-management/mongodb-schema-reference/alteryxservice-mongodb-schema.html#idm46091068373568" target="_self"&gt;https://help.alteryx.com/20232/en/server/configure/mongodb-management/mongodb-schema-reference/alteryxservice-mongodb-schema.html#idm46091068373568&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hence Queue Time is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ExecutionStartTime -&amp;nbsp;CreationDateTime&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Actual Run Time is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CompletionDateTime&lt;SPAN&gt;&amp;nbsp; -&amp;nbsp;&lt;/SPAN&gt;ExecutionStartTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add a chart for easy reading&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-05-28 11_46_17.png" style="width: 857px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/356351i1B9460492BB4F30F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-05-28 11_46_17.png" alt="2024-05-28 11_46_17.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 03:53:00 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1277892#M15499</guid>
      <dc:creator>Yongcan</dc:creator>
      <dc:date>2024-05-28T03:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find length of scheduled workflow in the API</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1277896#M15500</link>
      <description>&lt;P&gt;Thank you, &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/32500"&gt;@Yongcan&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I was sure they had removed the servicedata but couldn't find the field anywhere, and I ended up convincing myself I was crazy &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt; I guess I was in the wrong version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for such a detailed response!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 04:12:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1277896#M15500</guid>
      <dc:creator>fmvizcaino</dc:creator>
      <dc:date>2024-05-28T04:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Find length of scheduled workflow in the API</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1278890#M15510</link>
      <description>&lt;P&gt;We are not actively upgrade on each server release, just happen to see this change.&amp;nbsp;Grade it's helping the community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I learnt a lot here and your "Alteryx Server Series" videos, appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 01:55:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Find-length-of-scheduled-workflow-in-the-API/m-p/1278890#M15510</guid>
      <dc:creator>Yongcan</dc:creator>
      <dc:date>2024-05-30T01:55:49Z</dc:date>
    </item>
  </channel>
</rss>

