<?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>I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/discussions/f/general/3776/i-have-a-process-model-is-there-a-way-that-if-i-cancel-a-task-in-that-process</link><description>I have a process model. Is there a way that if I cancel a task in that process model that I can also trigger to cancel the process instance? My problem is that I have timed email notifications in the process so while the user&amp;#39;s task gets cancelled he</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/81540?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 14:42:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6d37d591-52f3-48fd-b622-2f0e4b54eb82</guid><dc:creator>anjalipriya449</dc:creator><description>&lt;p&gt;Sure.&amp;nbsp;&lt;span&gt;I have a process model. I want to&amp;nbsp;cancel a task in that process model (from another Process model). I am able to do this but I also want to trigger to cancel the process instance (with that task)? Hope it is clearer...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/81538?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 12:46:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c097de00-9f09-43a9-ad5c-c6df8e35acec</guid><dc:creator>John Pang</dc:creator><description>&lt;p&gt;Could you elaborate on your use case?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/81535?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 12:23:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e909fb41-8379-4e62-b8e9-ce030e070dd5</guid><dc:creator>anjalipriya449</dc:creator><description>&lt;p&gt;Yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/81534?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 12:12:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:72e0708e-b5c8-4a75-993e-9aba73bfed3f</guid><dc:creator>John Pang</dc:creator><description>&lt;p&gt;Let me check if I&amp;#39;m understanding you correctly, you want to cancel a process instance where a task is being cancelled by another process?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/81533?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 11:50:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:612c0f63-f9a7-4f46-bf67-7cc792798c29</guid><dc:creator>anjalipriya449</dc:creator><description>&lt;p&gt;Hey &lt;a href="/members/johnp903"&gt;John Pang&lt;/a&gt;, thanks for your response but I did not get you. I am asking how about how exactly do&amp;nbsp;we check that the task is cancelled to send out pv!cancel = true in the output? Since the user is not cancelling it, it is being cancelled from another process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/81529?ContentTypeID=1</link><pubDate>Tue, 11 May 2021 06:09:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:122dcf22-7557-41b7-a751-814143eb7911</guid><dc:creator>John Pang</dc:creator><description>&lt;p&gt;I believe what has been discussed involves creating a&amp;nbsp;buttonWidget (set submit to true) in the interface that saves true() into a boolean ri value e.g. ri!cancel. This value would then be mapped to a pv in the process model which will be processed by an XOR to determine the appropriate process flow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/81520?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 16:56:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:beb4e493-2c38-4e5d-8720-9e9a9f7b2fcd</guid><dc:creator>anjalipriya449</dc:creator><description>&lt;p&gt;How did you achieve this &lt;a href="/members/mikec"&gt;mikec&lt;/a&gt;?&amp;nbsp;&lt;br /&gt;Can you please share how were you able to identify when the task is cancelled to be able to set your process variable (pv!cancel) to true.? (Referring to this part : &lt;em&gt;&amp;quot;On the output of the task if not cancelled then set the value to False.&lt;/em&gt;&amp;quot;)&lt;br /&gt;&lt;br /&gt;Appreciate your response. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/13318?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2014 02:58:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d3ca7fed-cd7f-40c2-b248-d2e1bb91695f</guid><dc:creator>mikec</dc:creator><description>You did give me an idea though.  What I could do is set for example pv!cancel to &amp;quot;True&amp;quot; and then setup an XOR in my email notification.  On the output of the task if not cancelled then set the value to False. the the XOR decision is if pv!cancel is True which it would be if the task had been cancelled then terminate the process for if false go ahead and send the email.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/13317?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2014 02:52:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ed94887-22e8-48bd-aca0-f4bf8f9f3343</guid><dc:creator>abhi.jana</dc:creator><description>I&amp;#39;ve just tested it and you&amp;#39;re right. The flow halts on cancellation.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/13315?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2014 02:41:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:73cb2dc2-b9eb-40bd-a3db-35aabe91222d</guid><dc:creator>mikec</dc:creator><description>What I have seen from monitoring a process when cancelling a user input task is that the node highlight just changes from Green to Blue indicating that the task is completed but there is no flow out of that task.  So I am not quite sure how to set up this XOR to check a PV and then terminate the event since upon cancelling the task there is no out flow.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/13314?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2014 02:38:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a913b9dc-7b8b-4a67-a87e-cf53155c49df</guid><dc:creator>abhi.jana</dc:creator><description>You could try adding a temporary pv and an XOR gate that checks the value of the pv. If the task was completed, a value may be assigned to the pv. If it was cancelled, then the value would be null and the flow would then be directed by the XOR to a Terminate End Event.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/13307?ContentTypeID=1</link><pubDate>Wed, 19 Nov 2014 18:30:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:719b069a-12cf-436d-9cec-50d852293706</guid><dc:creator>mikec</dc:creator><description>It would seem that I need to have a receive message node tied to a terminate process node.  What message is given off when a User Input Task is cancelled that the receive message node can receive to trigger the Terminate Process Event.?&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/13306?ContentTypeID=1</link><pubDate>Wed, 19 Nov 2014 18:20:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:16da6ae1-feed-4c24-aec1-c6c49fbdc597</guid><dc:creator>mikec</dc:creator><description>Not sure how to do this.  I looked at the documentation and it would seem that I need to configure some message from that node to terminate the process as a whole.  So for example: I have a User Input Task &amp;quot;Complete Timesheet&amp;quot;.  In the portal I go in and cancel that task.  What you are saying then is that action should trigger a message to an End Event to terminate the entire process.  I do not see where in the User Input task you can configure this.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a process model.  Is there a way that if I cancel a task in that process</title><link>https://community.appian.com/thread/13294?ContentTypeID=1</link><pubDate>Wed, 19 Nov 2014 04:14:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eab99c7c-f106-4d17-9188-100a8880ad3a</guid><dc:creator>abhi.jana</dc:creator><description>You could add a Terminate End Event that will be triggered when the task is cancelled. Check the &amp;quot;Results&amp;quot; section in the link below for information on the Terminate event - &lt;br /&gt;&lt;a href="https://forum.appian.com/suite/help/7.7/End_Event.html"&gt;forum.appian.com/.../End_Event.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>