<?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>Cancelling Specific Tasks From a Separate Process</title><link>https://community.appian.com/discussions/f/process/9693/cancelling-specific-tasks-from-a-separate-process</link><description>Hello, I have a report that assigns a task to a user. A user is selected, the task is assigned to them, and this kicks off a process model that assigns and creates the task. There is a process with a sub-process contained within it. The task needs to</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Cancelling Specific Tasks From a Separate Process</title><link>https://community.appian.com/thread/69846?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 07:53:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c923daf-d352-4ea7-999e-f20947ec6f18</guid><dc:creator>satishk0001</dc:creator><description>&lt;p&gt;HI Poorna if you know the solution let me know&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelling Specific Tasks From a Separate Process</title><link>https://community.appian.com/thread/69839?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 16:39:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8bd89b23-2ffd-4709-9af8-7ac2e69392fa</guid><dc:creator>satishk0001</dc:creator><description>&lt;p&gt;Hi Issam,&lt;/p&gt;
&lt;p&gt;Did parent processes also kill by using cancel processes?&lt;/p&gt;
&lt;p&gt;I am asking why because I tried by using cancel processes node it worked for only subprocesses. But here I want to kill both processes as well as parent and child processes also.&lt;/p&gt;
&lt;p&gt;So guide me is there is any way to close all open tasks and after closing tasks, I want to close both parent processes and sub-processes also&lt;/p&gt;
&lt;p&gt;Thanks in advance...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelling Specific Tasks From a Separate Process</title><link>https://community.appian.com/thread/42769?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 18:17:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:54e97036-ddf9-42c6-89d4-48576ad6f263</guid><dc:creator>Poorna Guduri</dc:creator><description>Great :)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelling Specific Tasks From a Separate Process</title><link>https://community.appian.com/thread/42768?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 18:00:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:02399c63-382d-4260-8a66-0ce9bd8fd289</guid><dc:creator>Issam Dabaie</dc:creator><description>Thank you all for your input.  In the end I did a query for the process IDs using process query analytics, and a Cancel Process node.  It works well, thanks again!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelling Specific Tasks From a Separate Process</title><link>https://community.appian.com/thread/42731?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 08:13:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:878c6ec4-5f2c-4352-9d9f-34457c03522b</guid><dc:creator>sikhivahans</dc:creator><description>Send message should be fine as long as it&amp;#39;s used as an intermediate event and the message is sent to a specific process.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelling Specific Tasks From a Separate Process</title><link>https://community.appian.com/thread/42706?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 20:35:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e16bdb1-a05c-4941-a632-c3a9ffac6638</guid><dc:creator>Issam Dabaie</dc:creator><description>Are you suggesting I use the Cancel Process node in the parent process of the new process instance?  I will try that, thank you!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelling Specific Tasks From a Separate Process</title><link>https://community.appian.com/thread/42705?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 20:22:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7aca26f6-c9ce-4e24-8f43-bc3b453e9a6b</guid><dc:creator>Poorna Guduri</dc:creator><description>Yes this works for sure. Through the function a!queryProcessAnalytics() you will be able to get the existing task id and also the process instance id when you pass the context process model. And a question here: Why not cancelling the process directly? Is there any specific reason you are going for Send Message Event to invoke a new process? The reason why I am asking is because the functionalities are not recommended any more as they got deprecated..&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelling Specific Tasks From a Separate Process</title><link>https://community.appian.com/thread/42704?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 20:11:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fb2bd2bc-89f9-42a9-9aec-39acdb1f560c</guid><dc:creator>Issam Dabaie</dc:creator><description>Currently how it works is it creates a new process instance, it does not modify the old process instance.&lt;br /&gt;&lt;br /&gt;I am looking into querying using a!queryProcessAnalytics() to see if a task already exists, then using a Send Message node to execute a Cancel Process node.  I will update if this works.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelling Specific Tasks From a Separate Process</title><link>https://community.appian.com/thread/42703?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 19:40:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c2005820-aae7-484f-a6a2-b4b89e539adc</guid><dc:creator>Poorna Guduri</dc:creator><description>Hi, may I know how you are re-assigning the task to a new user? through the one of the smart services that comes with the shared component Task Smart Services? &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhe1E6XnF-q8L5popjLxeo-B_X1DFA-B8/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>