<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.smt-x.com/index.php?action=history&amp;feed=atom&amp;title=Queries_related_to_the_datastore_parameters</id>
	<title>Queries related to the datastore parameters - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.smt-x.com/index.php?action=history&amp;feed=atom&amp;title=Queries_related_to_the_datastore_parameters"/>
	<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=Queries_related_to_the_datastore_parameters&amp;action=history"/>
	<updated>2026-04-03T23:06:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://wiki.smt-x.com/index.php?title=Queries_related_to_the_datastore_parameters&amp;diff=195&amp;oldid=prev</id>
		<title>Smtxwiki: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=Queries_related_to_the_datastore_parameters&amp;diff=195&amp;oldid=prev"/>
		<updated>2020-05-25T20:44:30Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:44, 25 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Smtxwiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.smt-x.com/index.php?title=Queries_related_to_the_datastore_parameters&amp;diff=194&amp;oldid=prev</id>
		<title>Smtxwiki: Created page with &quot;Below are some example queries that run on the parameter data table: update processinstance set              ticketdescription=field6,              ticketinformation=field27,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=Queries_related_to_the_datastore_parameters&amp;diff=194&amp;oldid=prev"/>
		<updated>2018-08-14T12:52:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Below are some example queries that run on the parameter data table: update processinstance set              ticketdescription=field6,              ticketinformation=field27,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Below are some example queries that run on the parameter data table:&lt;br /&gt;
update processinstance set &lt;br /&gt;
            ticketdescription=field6, &lt;br /&gt;
            ticketinformation=field27, &lt;br /&gt;
            ticketsolution=&amp;#039;ActualFinish: &amp;#039; + Field7 + &amp;#039;&amp;lt;br /&amp;gt;&amp;#039; + replace(field26,char(13),&amp;#039;&amp;lt;br /&amp;gt;&amp;#039;),&lt;br /&gt;
            ticketpoolid = 14,&lt;br /&gt;
            ticketclassification = &amp;#039;3W&amp;#039;,&lt;br /&gt;
            ticketstatus = &amp;#039;Closed&amp;#039;,&lt;br /&gt;
            ticketMedium = &amp;#039;HPSD&amp;#039;,&lt;br /&gt;
            TicketService = &amp;#039;3W&amp;#039;,&lt;br /&gt;
            TicketFieldsLocked = 1&lt;br /&gt;
       from parameterdata where parameter_id=1058 and processinstance.id=field5 and Field8=&amp;#039;281521429887887&amp;#039;&lt;br /&gt;
       &lt;br /&gt;
Save HPSD Ticketnummer&lt;br /&gt;
      insert into ProcessInstTicketCustomFldVal &lt;br /&gt;
      select field5, 6, min(field1) from ParameterData where Parameter_Id=1058 and Field8=&amp;#039;281521429887887&amp;#039; group by field5 &lt;br /&gt;
Save Instruction&lt;br /&gt;
      insert into ProcessInstTicketCustomFldVal &lt;br /&gt;
      select field5, 5, field28 from ParameterData inner join ProcessInstTicketCustomFldVal on stringvalue=field1 where Parameter_Id=1058 and Field8=&amp;#039;281521429887887&amp;#039; and field28 is not null and field28 &amp;lt;&amp;gt; &amp;#039;&amp;#039; group by field5,field28&lt;br /&gt;
&lt;br /&gt;
Add remark to history&lt;br /&gt;
      insert into ProcessInstanceMessage &lt;br /&gt;
      select field5, getdate(), 1, &amp;#039;Actie &amp;amp; Analyse geïmporteerd vanuit HPSD in het Instructie veld&amp;#039;, 6,3,0 from ParameterData where Parameter_Id=1058 and Field8=&amp;#039;281521429887887&amp;#039; &lt;br /&gt;
&lt;br /&gt;
Field1 to field20 and field26 to field50 are varchar(1000) fields. Field21-field25 are unlimited varchar fields.&lt;br /&gt;
&lt;br /&gt;
Read out full contents of datastore parameter&lt;br /&gt;
     SELECT FIELD1 as Name, Field2 as Name2 from parameterdata where parameter_id=123&lt;/div&gt;</summary>
		<author><name>Smtxwiki</name></author>
	</entry>
</feed>