In 3.9 we often worked in PIs with ivy.set("MyClass.MySubclass.MyString","Hello"). 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)

In 4.3 this does no more work the same. You can only use set() on a known reference of the process data class: MyClass.MySubclass.set("My","Hello").

Is there a way to reproduce the old behavior?

asked 25.06.2012 at 10:19

Philipp%20Renggli's gravatar image

Philipp Renggli
(suspended)
accept rate: 0%


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.

If you need PI's then you can read and write process data with the utility methods from ch.ivyteam.ivy.process.extension.impl.AbstractUserProcessExtension. Create the new PI with the wizard on the PI inscription mask and you easily see how it works.

link

answered 02.07.2012 at 06:54

Martin%20Steiger's gravatar image

Martin Steiger
(suspended)
accept rate: 50%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4
×1

Asked: 25.06.2012 at 10:19

Seen: 1,673 times

Last updated: 25.06.2012 at 10:19