<?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>How to cancel a specific task process</title><link>https://community.appian.com/discussions/f/process/24350/how-to-cancel-a-specific-task-process</link><description>Hi, 
 I need to cancel a specific task process (from another process), and to do this I&amp;#39;ve found the &amp;quot; Cancel Process&amp;quot; Smart Service. 
 I&amp;#39;m a little sceptic with that SmartService because in the documentation I can read &amp;quot;It allows you to halt all process</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to cancel a specific task process</title><link>https://community.appian.com/thread/144797?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2025 08:45:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eb4c8e15-ad34-434d-9a66-19af1fe71150</guid><dc:creator>marios6581</dc:creator><description>&lt;p&gt;Does this stop the email from going?&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1737967512329v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cancel a specific task process</title><link>https://community.appian.com/thread/94003?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 07:45:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:60eed500-03e2-4778-9015-0f84a76c7a72</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;Ok, I understand better, thank you Stefan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cancel a specific task process</title><link>https://community.appian.com/thread/93964?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 16:41:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:122d709a-a51a-4404-a8f8-f2bc3665b57f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What I mean is, by cancelling another process, you interrupt the business process. If this behaviour is required, then you should design this into the process instead of just killing it from the outside.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.1/Receive_Message_Event.html"&gt;docs.appian.com/.../Receive_Message_Event.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cancel a specific task process</title><link>https://community.appian.com/thread/93949?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 13:59:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8cfcbcc6-dda4-4668-872a-90e57e32ba6f</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;Yes stefan, it is a business requirement.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure to understand your solution. Would you have any documentation or tutorial&amp;nbsp;that shows how it works?&lt;/p&gt;
&lt;p&gt;(or an example)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cancel a specific task process</title><link>https://community.appian.com/thread/93948?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 13:57:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea697670-0478-4c08-95de-b1a65f5af047</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;Thank you, I&amp;#39;m going to try this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cancel a specific task process</title><link>https://community.appian.com/thread/93947?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 13:53:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c033c4a0-8f19-4ec1-a496-f67a357d6070</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Yes, you can get process instance ID using pp!id (from expression editor you can type it will auto prompt for your selection if you are using latest version Appian)&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cancel a specific task process</title><link>https://community.appian.com/thread/93945?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 13:48:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c4979b3-92ff-410d-814a-fd1939d46732</guid><dc:creator>cedric02</dc:creator><description>&lt;p&gt;Thank you Naresh. And before saving that process instance ID to a DB field, how I can get that instance Id ?&lt;/p&gt;
&lt;p&gt;Once a process is launched, an ID is returned ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cancel a specific task process</title><link>https://community.appian.com/thread/93943?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 13:35:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2fb054ed-bfc9-474c-98b4-61ab446c24c5</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;If this is a business requirement, I would add a receive message event to the model and then react accordingly to an incoming message sent from the other process. Just cancelling other processes or tasks is typically not a good idea.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cancel a specific task process</title><link>https://community.appian.com/thread/93942?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 13:25:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc63fa7b-2c03-406c-9a61-aa1671f97cee</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to save your process instance ID in one of your DB column and using that process instance id you can cancel that particular process using cancel smart service or sending a message to that process&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>