<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Axon Ivy cannot find any documentation about task state</title><link>https://answers.axonivy.com/questions/3464/axon-ivy-cannot-find-any-documentation-about-task-state</link><description>&lt;p&gt;In my database I've tasks state starting with number 1 to 7, maybe more but 7 is the highest state I've.&lt;/p&gt;
&lt;p&gt;In the documentation of Axon Ivy I cannot find any information about the task state and their meaning. I just found some workflow task information but they seem not related with the Axon Ivy task state. Or m I wrong?&lt;/p&gt;
&lt;p&gt;Because in the documentation they reefer to some state like Done, Resumed, ... : &lt;a href="https://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.concepts.html#ivy-wf-states"&gt;https://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.concepts.html#ivy-wf-states&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But nothing about numbers, and I know in old Axon Ivy Version there was state like destroyed for example who are not listed in this documentation.&lt;/p&gt;
&lt;p&gt;So where can I find a good documentation about the task states in Axon Ivy Engine/Designer ???&lt;/p&gt;
&lt;p&gt;And what are those task state who are documented into the chapter referenced? Is there two type of task now?&lt;/p&gt;
&lt;p&gt;Thanks a lot for the help,
Neo&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3464/axon-ivy-cannot-find-any-documentation-about-task-state" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 02 Oct 2018 03:56:25 -0400</lastBuildDate><item><title>Answer by Reto Weiss</title><link>https://answers.axonivy.com/questions/3464/axon-ivy-cannot-find-any-documentation-about-task-state/3465</link><description>&lt;p&gt;Hi Neo&lt;/p&gt;
&lt;p&gt;There are only one task types and the states documented in the user document are the most common task states. &lt;/p&gt;
&lt;p&gt;The number you find in the column State in the table IWA_Task can be found on the enum &lt;code&gt;ch.ivyteam.ivy.workflow.TaskState&lt;/code&gt;. In the Axon.ivy Designer use &lt;code&gt;CTRL&lt;/code&gt; - &lt;code&gt;T&lt;/code&gt; and type &lt;code&gt;TaskState&lt;/code&gt; to open the source of TaskState. &lt;/p&gt;
&lt;p&gt;On the API you can get the state of a task with &lt;code&gt;ch.ivyteam.ivy.workflow.ITask#getState(&lt;/code&gt;). On the TaskQuery you can filter by the state of a task with:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;TaskQuery.create().where().state().isEqual(TaskState.SUSPENDED);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;More information can be found here: &lt;a href="https://developer.axonivy.com/doc/latest/PublicAPI/ch/ivyteam/ivy/workflow/package-summary.html"&gt;Axon.ivy PublicAPI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Reto Weiss, Axon.ivy Support&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Tue, 02 Oct 2018 03:56:25 -0400</pubDate><guid>https://answers.axonivy.com/questions/3464/axon-ivy-cannot-find-any-documentation-about-task-state/3465</guid></item></channel></rss>