<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Is there a direct way we can archiving the process instance which are active, paused , paused by exceptio</title><link>https://community.appian.com/discussions/f/process/34851/is-there-a-direct-way-we-can-archiving-the-process-instance-which-are-active-paused-paused-by-exceptio</link><description>Hello everyone, 
 I&amp;#39;m looking to archive process instances that are currently active, paused, or paused due to an exception. We&amp;#39;ve already configured process instance archival after 5 days with deletion after 3 days, but we now have over 10,000 process</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is there a direct way we can archiving the process instance which are active, paused , paused by exceptio</title><link>https://community.appian.com/thread/134604?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 10:02:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:46eca728-664f-4e26-9fc4-828ce1557177</guid><dc:creator>Harsh Kumar Agarwal</dc:creator><description>&lt;p&gt;You can run that smart service in a loop or in a MNI to do bulk operation.&lt;/p&gt;
&lt;p&gt;The idea to use &amp;#39;&lt;span&gt;a!queryProcessAnalytics()&lt;/span&gt;&amp;#39; here so that you create a utility process and automate this activity and do not need to find id(s) manually. If you would like to get it from monitoring the you just need the process to cancel or archive.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a direct way we can archiving the process instance which are active, paused , paused by exceptio</title><link>https://community.appian.com/thread/134602?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 09:52:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9d72dc5f-ad1c-41e6-b3bb-d9d1632553d3</guid><dc:creator>manishs0028</dc:creator><description>&lt;p&gt;&lt;a href="/members/harshk1671"&gt;Harsh Kumar Agarwal&lt;/a&gt;&amp;nbsp;:This report provides me with the process IDs, which I can readily obtain from the monitoring tabs. Essentially, the process report accomplishes the same task. However, the crucial issue is that I have over 10,000 process IDs that I aim to archive simultaneously. The archive smart service archives one process at a time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a direct way we can archiving the process instance which are active, paused , paused by exceptio</title><link>https://community.appian.com/thread/134599?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 09:09:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c0cb6bb7-b0d5-4c39-8232-6fb675c80727</guid><dc:creator>Harsh Kumar Agarwal</dc:creator><description>&lt;p&gt;Follow the screenshots to create Process Report:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1714640741166v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1714640808708v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;After creation, edit the report.&lt;/p&gt;
&lt;p&gt;Under Filter &amp;gt; Create New Rule&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1714640903454v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Save the changes. Using this report in&amp;nbsp;a!queryProcessAnalytics() you can get the instance ids as suggested in previous message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a direct way we can archiving the process instance which are active, paused , paused by exceptio</title><link>https://community.appian.com/thread/134598?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 08:55:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c8911141-f87d-44c8-9bae-277937408735</guid><dc:creator>manishs0028</dc:creator><description>&lt;p&gt;&lt;a href="/members/harshk1671"&gt;Harsh Kumar Agarwal&lt;/a&gt;&amp;nbsp;: Thanks for your input , Can you provide me some example code, that will be helpful thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a direct way we can archiving the process instance which are active, paused , paused by exceptio</title><link>https://community.appian.com/thread/134597?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 08:49:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae1797c5-30af-4a9e-970d-775b303ebc4a</guid><dc:creator>Harsh Kumar Agarwal</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/manishs0028"&gt;manishs0028&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;You can create a process report using &amp;#39;a!queryProcessAnalytics()&amp;#39; to get process instance Id(s) of all the instances in&amp;nbsp;&lt;span&gt;currently active, paused, or paused due to an exception status.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Create a utility process to cancel or archive all the above instances Id(s) using cancel process or archive process smart service respectively.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>