<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: SQL Select all Cases that belong to a specific Process Model Version</title><link>https://answers.axonivy.com/questions/1768/sql-select-all-cases-that-belong-to-a-specific-process-model-version</link><description>&lt;p&gt;How would a SQL select statement look like, that returns all Cases that run in a specific Process Model Version?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1768/sql-select-all-cases-that-belong-to-a-specific-process-model-version" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 11 May 2016 10:46:40 -0400</lastBuildDate><item><title>Answer by Dominik Regli</title><link>https://answers.axonivy.com/questions/1768/sql-select-all-cases-that-belong-to-a-specific-process-model-version/1769</link><description>&lt;p&gt;You could do that with following query:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SELECT * from IWA_Case c 
INNER JOIN IWA_TaskStart ts
ON c.TaskStartId = ts.TaskStartId
INNER JOIN IWA_TaskElement te
ON ts.TaskElementId = te.TaskElementId
WHERE te.ProcessModelVersionId = '&amp;lt;my process model version id&amp;gt;'
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dominik Regli</dc:creator><pubDate>Wed, 11 May 2016 10:46:40 -0400</pubDate><guid>https://answers.axonivy.com/questions/1768/sql-select-all-cases-that-belong-to-a-specific-process-model-version/1769</guid></item></channel></rss>