<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Can we set Case status to DONE?</title><link>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done</link><description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;Is there any ways to set case status to DONE? and should we do that manually?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 21 Mar 2017 11:55:14 -0400</lastBuildDate><item><title>Comment by Alex Suter on Alex Suter's answer</title><link>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done#2511</link><description>&lt;p&gt;Hi &lt;a href="http://answers.axonivy.com/users/118/trungdv"&gt;&lt;a href="http://answers.axonivy.com/users/118/trungdv"&gt;@trungdv&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;No, you can't set status to DONE via API. Boundary signal would be a really nice solution for that.  &lt;/p&gt;
&lt;p&gt;&lt;em&gt;A Signal Boundary Event destroys an open task of an user if a signal code is received that matches the inscribed pattern.&lt;/em&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Tue, 21 Mar 2017 11:55:14 -0400</pubDate><guid>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done#2511</guid></item><item><title>Comment by trungdv on Alex Suter's answer</title><link>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done#2510</link><description>&lt;p&gt;hi &lt;a href="http://answers.axonivy.com/users/710/alex-suter"&gt;&lt;a href="http://answers.axonivy.com/users/710/alex-suter"&gt;@Alex Suter&lt;/a&gt;&lt;/a&gt; ♦♦&lt;/p&gt;
&lt;p&gt;I totally agree with you that we should set state to DESTROY, it's better than DONE in this situation. And anyway we can't set case status to DONE, right?&lt;/p&gt;
&lt;p&gt;I think another way is we can take advantage of boundary signal to clean up the Case.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">trungdv</dc:creator><pubDate>Tue, 21 Mar 2017 11:31:53 -0400</pubDate><guid>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done#2510</guid></item><item><title>Comment by Alex Suter on Alex Suter's answer</title><link>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done#2509</link><description>&lt;p&gt;Hi &lt;a href="http://answers.axonivy.com/users/118/trungdv"&gt;&lt;a href="http://answers.axonivy.com/users/118/trungdv"&gt;@trungdv&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The logic is as follows: In the special case if task A1 is done, tasks of Task B1 and Task C1 must not be done anymore. From an user point of view I would like to see, that Task B1 and Task C1  are not really done - because nobody really did the work. They are destroyed. You also can destroy on task level &lt;code&gt;ITask#destroy&lt;/code&gt;. &lt;/p&gt;
&lt;p&gt;But you have to ask you the following question: Is it a good solution to have parallel tasks, when some of them not have to be done, when another task is done? The user may do some unnecessary work.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Tue, 21 Mar 2017 11:12:22 -0400</pubDate><guid>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done#2509</guid></item><item><title>Comment by trungdv on Alex Suter's answer</title><link>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done#2507</link><description>&lt;p&gt;Hi &lt;a href="http://answers.axonivy.com/users/710/alex-suter"&gt;&lt;a href="http://answers.axonivy.com/users/710/alex-suter"&gt;@Alex Suter&lt;/a&gt;&lt;/a&gt; ♦♦&lt;/p&gt;
&lt;p&gt;My case is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;I working on task A1 belongs to case A&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;task A1 have a button, and when I click on that button, case B and case C must be set to DONE (their tasks also)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">trungdv</dc:creator><pubDate>Tue, 21 Mar 2017 07:32:50 -0400</pubDate><guid>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done#2507</guid></item><item><title>Answer by Alex Suter</title><link>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done/2505</link><description>&lt;p&gt;There is no API to set the case status to DONE. A case is DONE when all tasks of the actual case are done. You have the opportunity to DESTROY &lt;code&gt;ICase#destroy()&lt;/code&gt; a case manually. Can you explain your use case?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Mon, 20 Mar 2017 10:11:29 -0400</pubDate><guid>https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done/2505</guid></item></channel></rss>