<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: ivy.set after project import from 3.9</title><link>https://answers.axonivy.com/questions/453/ivy-set-after-project-import-from-3-9</link><description>&lt;p&gt;In 3.9 we often worked in PIs with &lt;code&gt;ivy.set("MyClass.MySubclass.MyString","Hello")&lt;/code&gt;. This was especially helpful when the name of the process data class member was known only at run time (e.g. if it was taken from the DB) &lt;/p&gt;
&lt;p&gt;In 4.3 this does no more work the same. You can only use &lt;code&gt;set()&lt;/code&gt; on a known reference of the process data class: &lt;code&gt;MyClass.MySubclass.set("My","Hello")&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Is there a way to reproduce the old behavior?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/453/ivy-set-after-project-import-from-3-9" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 02 Jul 2012 06:54:37 -0400</lastBuildDate><item><title>Answer by Martin Steiger</title><link>https://answers.axonivy.com/questions/453/ivy-set-after-project-import-from-3-9/454</link><description>&lt;p&gt;Most of the functions which were implemented with PI's in Ivy 3.9 can be implemented in Java and then be called directly from ivyScript. As long you do not need time outs or the process level exception handling this is much simpler. 
Solange ihr keine Timeout und Exception Handling braucht ist dies der einfachste Weg.&lt;/p&gt;
&lt;p&gt;If you need PI's then you can read and write process data with the utility methods from &lt;code&gt;ch.ivyteam.ivy.process.extension.impl.AbstractUserProcessExtension&lt;/code&gt;. Create the new PI with the wizard on the PI inscription mask and you easily see how it works.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Steiger</dc:creator><pubDate>Mon, 02 Jul 2012 06:54:37 -0400</pubDate><guid>https://answers.axonivy.com/questions/453/ivy-set-after-project-import-from-3-9/454</guid></item></channel></rss>