<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Link case to data</title><link>https://answers.axonivy.com/questions/1724/link-case-to-data</link><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;is it acutally possible to retrive the data of a specific case, to basically show a list of cases with the corresponding dataclasses? Or is there a better way to show a user the state of cases and the data stored within them.&lt;/p&gt;
&lt;p&gt;So far i tried to solve this via IvyScript and query for the specificy Cases I want to show but I can't find a way to link a case to its input data. &lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1724/link-case-to-data" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 11 Apr 2016 09:10:40 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/1724/link-case-to-data/1726</link><description>&lt;p&gt;You can get the data of a running Task via Public API:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://developer.axonivy.com/doc/latest/publicApi/ch/ivyteam/ivy/workflow/ITask.html#getStartProcessData--"&gt;ITask.getStartProcessData()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://developer.axonivy.com/doc/latest/publicApi/ch/ivyteam/ivy/workflow/ITask.html#getEndProcessData--"&gt;ITask.getEndProcessData()&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To find running tasks from a case you can use the case API:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://developer.axonivy.com/doc/latest/publicApi/ch/ivyteam/ivy/workflow/ICase.html#getActiveTasks--"&gt;ICase.getActiveTasks()&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 11 Apr 2016 09:10:40 -0400</pubDate><guid>https://answers.axonivy.com/questions/1724/link-case-to-data/1726</guid></item></channel></rss>