<?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>Delete all active instances</title><link>https://community.appian.com/discussions/f/process/17380/delete-all-active-instances</link><description>Is there any smart way to delete all active process instances? This is for environment cleanup activity . 
 
 Thanks in advance</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Delete all active instances</title><link>https://community.appian.com/thread/105796?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 01:15:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b1aeaf2-47c8-4f75-b87a-99854b6f49da</guid><dc:creator>ahmedk927042</dc:creator><description>&lt;p&gt;Not sure if this is resolved or no. other than the provided solutions, there is another way to clean all of the process instances from the monitoring tab -&amp;gt; Process Activity. There will be a grey header will be shown once you choose all of instances in the first page that will ask if you want to apply the&amp;nbsp;same action on all of the process instances that have the same applied criteria. Here is a screenshot for your reference&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="31" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/Screen-Shot-2022_2D00_12_2D00_20-at-8.13.09-PM.png" width="763" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all active instances</title><link>https://community.appian.com/thread/68459?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 14:53:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a8d490b-db8e-4591-9209-f80ccbcc81a6</guid><dc:creator>Eliot Gerson</dc:creator><description>&lt;p&gt;In that case, the answer is to set the cleanup settings for your process appropriately. It&amp;#39;s easy to automate the cleanup of expected processes by choosing your desired behavior in the data maintenance tab&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/19.2/process-model-object.html#data-management-tab"&gt;https://docs.appian.com/suite/help/19.2/process-model-object.html#data-management-tab&lt;/a&gt;&amp;nbsp; &amp;nbsp;. Simply set your processes to automatically get cleaned up on your desired cadence, and you shouldn&amp;#39;t need any manual intervention.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all active instances</title><link>https://community.appian.com/thread/68449?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 12:36:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2773fa0b-d752-464d-aab0-975823c47694</guid><dc:creator>sandeepd</dc:creator><description>&lt;p&gt;Hi Anu,&lt;br /&gt;Long back I have created workflow with the help to few Smart service&amp;nbsp;for deleting process Instances. You need to first get all the Process Instance Id and those instance Ids you need to pass to delete Process Smart Service.&lt;br /&gt;There are few smart services available :&lt;br /&gt;&lt;a href="https://community.appian.com/b/appmarket/posts/process-management-services"&gt;community.appian.com/.../process-management-services&lt;/a&gt;&lt;br /&gt;&lt;a href="https://community.appian.com/b/appmarket/posts/process-history"&gt;community.appian.com/.../process-history&lt;/a&gt;&lt;br /&gt;&lt;a href="https://community.appian.com/b/appmarket/posts/process-sizing-report-smart-services"&gt;community.appian.com/.../process-sizing-report-smart-services&lt;/a&gt;&lt;br /&gt;&lt;a href="https://community.appian.com/b/appmarket/posts/process-model-utilities"&gt;community.appian.com/.../process-model-utilities&lt;/a&gt;&lt;br /&gt;&lt;a href="https://community.appian.com/b/appmarket/posts/process-model-details"&gt;community.appian.com/.../process-model-details&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Sandeep&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all active instances</title><link>https://community.appian.com/thread/68446?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 12:16:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bc7c1cc0-0cab-4f81-91b7-a0066d12ba75</guid><dc:creator>Anupriya Sathyamoorthy</dc:creator><description>&lt;p&gt;Hi Anu,&lt;/p&gt;
&lt;p&gt;To cancel/ delete processes in bulk, we can use Cancel Processes/ Delete Processes smart service. These are&amp;nbsp;custom plug-ins available under process management services, please take a look at this link:&amp;nbsp;&lt;a href="/b/appmarket/posts/process-management-services"&gt;https://community.appian.com/b/appmarket/posts/process-management-services&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please let me know if you&amp;nbsp;have any queries.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all active instances</title><link>https://community.appian.com/thread/68441?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2019 07:30:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:59ef4f9b-0426-4b8c-bb2e-166fb9e839c3</guid><dc:creator>Anu</dc:creator><description>&lt;p&gt;Since we run test scripts everyday , it creates lot of instances and we end up with memory issues . Everyday deleting from designer&amp;nbsp;manually is not feasible . I also tried implementing smart service Process Management(Delete Processes) but it doesn&amp;#39;t seems to be working . Any help here would be greatly appreciated .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all active instances</title><link>https://community.appian.com/thread/68427?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 19:28:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:839b1187-948a-45a5-85e1-48ea8a9a9617</guid><dc:creator>Eliot Gerson</dc:creator><description>&lt;p&gt;I&amp;#39;d be really curious to know what your reasons are for avoiding cleanup that way. With that approach, you can delete up to 10,000 instances at a time. How many instances are you needing to delete? Is there a different reason that the approach wouldn&amp;#39;t work for you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all active instances</title><link>https://community.appian.com/thread/68425?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 16:34:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96365bf8-0276-42fa-a355-98bb0540d860</guid><dc:creator>Anu</dc:creator><description>&lt;p&gt;Yes , other than going to designer and selecting manually . Is there any other way&amp;nbsp;to delete all instances ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete all active instances</title><link>https://community.appian.com/thread/68422?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 16:20:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d755d7d8-9b2c-44bb-8829-87e05d54e85f</guid><dc:creator>ChristineLHutchison</dc:creator><description>&lt;p&gt;Do you mean other than going into Designer &amp;gt; Monitoring &amp;gt; select instances &amp;gt; click delete?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/19.2/monitoring_view.html#bulk-operations"&gt;https://docs.appian.com/suite/help/19.2/monitoring_view.html#bulk-operations&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>