<?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/Cancel all active processes</title><link>https://community.appian.com/discussions/f/administration/12547/delete-cancel-all-active-processes</link><description>Hi Team, 
 
 We had an error in one of the expression rules which is used by a process ;un-fortunately this process is triggered in every 15 minutes and we have lot of active process instances flooding the system. Is there a smart way to delete all this</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Delete/Cancel all active processes</title><link>https://community.appian.com/thread/103204?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 06:27:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f5f89693-7a5d-4c8a-a8f1-199f8dee2d47</guid><dc:creator>julienc</dc:creator><description>&lt;p&gt;link doesn&amp;#39;t work anymore.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete/Cancel all active processes</title><link>https://community.appian.com/thread/55883?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 11:35:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a5e5da21-2de7-43a8-bef8-c73497b8ab75</guid><dc:creator>Pratiksha</dc:creator><description>&lt;p&gt;I have come across the same problem and for that i have created process report to get the process id. create one PM which contains PV of multiple type for id get all active process id and pass that to smart service &amp;quot;Cancel Processes V2&amp;quot;.&lt;br /&gt; There are 1 more required input &amp;quot;Cancel Async Subs&amp;quot; if you want to cancel asynchronous subprocess pass true() for this input.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/12/CancelProcess.PNG"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/12/CancelProcess.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete/Cancel all active processes</title><link>https://community.appian.com/thread/55876?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 10:18:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6a400e2e-a1ef-471a-8c31-c78db2f53e7f</guid><dc:creator>shafaly</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
You can either use :&lt;br /&gt;
&lt;br /&gt;
Solution 1:&lt;br /&gt;
&lt;br /&gt;
1. Create the process report for process model for which you want to delete/cancel instances, with added filter like from date and to date if you want to delete for specific period.&lt;br /&gt;
2. Select the upper tick box to select all the process instances of one page then click on delete.&lt;br /&gt;
3. Repeat the step 2 until all the process instances delete.&lt;br /&gt;
&lt;br /&gt;
If there are such amount of processes you can not delete them by clicking on upper tick-box  &lt;br /&gt;
 &lt;br /&gt;
Solution 2:&lt;br /&gt;
&lt;br /&gt;
1. Create the process report for process model for which you want to delete/cancel instances, with added filter like from date and to date if you want to delete for specific period.&lt;br /&gt;
2. You need to create a utility process model where you need to fetch process ids using a!queryProcessAnalytics() &lt;br /&gt;
3. You need to pass all ids to delete process/cancel process smart service to achieve your requirement.&lt;br /&gt;
&lt;br /&gt;
I hope this will help you.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Shafaly&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete/Cancel all active processes</title><link>https://community.appian.com/thread/55846?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 07:23:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aca669af-c965-4a2d-bd15-e7b1a91f765d</guid><dc:creator>Benhail</dc:creator><description>1.Navigate to Runtime Data&lt;br /&gt;
2.Using the filter -&amp;gt; Active Tasks=1 and apply&lt;br /&gt;
3.Use the Select All checkbox and Delete the Processes.&lt;br /&gt;
&lt;br /&gt;
This should remove/ delete all the active process&lt;br /&gt;
&lt;br /&gt;
Hope this helps.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete/Cancel all active processes</title><link>https://community.appian.com/thread/55844?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 07:21:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bc265eac-a35b-4c65-a4ec-9382a8728a99</guid><dc:creator>georgej</dc:creator><description>Thank you, I am trying the approach mentioned by Vindo&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete/Cancel all active processes</title><link>https://community.appian.com/thread/55843?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 07:19:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:63e870f9-49a9-4364-8858-4031aaebe000</guid><dc:creator>vinodt874</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
1. Create the process report for process model for which you want to delete/cancel instances, with added filter like from date and to date if you want to delete for specific period.&lt;br /&gt;
2. Use execute process report smart service to call process report, you will get process ids&lt;br /&gt;
3. Now you can pass all ids to delete process/cancel process smart service to achieve your requirement.&lt;br /&gt;
&lt;br /&gt;
I hope this will help you.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Vinod Tate&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete/Cancel all active processes</title><link>https://community.appian.com/thread/55830?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 06:21:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:287ac4b7-483b-425d-a7f0-2804bc68c4ca</guid><dc:creator>ravalik</dc:creator><description>Hi georgej,&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/18.1/Active_Processes.html"&gt;docs.appian.com/.../Active_Processes.html&lt;/a&gt;&lt;br /&gt;
You can also have a look on the above link.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
ravalk&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete/Cancel all active processes</title><link>https://community.appian.com/thread/55828?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 06:13:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6483a9b6-126b-49d1-914a-62afc390d440</guid><dc:creator>Sandeep Deshmukh</dc:creator><description>Hi &lt;a href="/members/georgej"&gt;georgej&lt;/a&gt; ,&lt;br /&gt;
Plugin is Available for this. You just need to create a Process Model Utility and with the help of this Plugin you can delete Process Model Instances . &lt;br /&gt;
Plugin Name : Process Model Utilities&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjepE6dGk75DUwf-MkSsbwuya1TTzzij2/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this will help.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Sandeep&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>