<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How can I acces global variables in an event start bean</title><link>https://answers.axonivy.com/questions/741/how-can-i-acces-global-variables-in-an-event-start-bean</link><description>&lt;p&gt;I am trying to use a file pickup event bean which starts the process as soon as it detects a file in a given directory. I already have such a bean, but it uses a fix bean editor input (which cannot be changed on the server) for defining the path in which to look for files.&lt;/p&gt;
&lt;p&gt;I would like now to replace this fix input with a global variable. But unforunately in the bean scope I have no access to the variable and ivy.var.get("name") returns null or empty.&lt;/p&gt;
&lt;p&gt;Has anyone an idea how to solve this?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/741/how-can-i-acces-global-variables-in-an-event-start-bean" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 05 Jun 2014 09:36:58 -0400</lastBuildDate><item><title>Answer by Daniel Oechslin</title><link>https://answers.axonivy.com/questions/741/how-can-i-acces-global-variables-in-an-event-start-bean/742</link><description>&lt;p&gt;Hi Marcel&lt;/p&gt;
&lt;p&gt;did you try a static access as well like: &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Ivy.var().get("name")
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Oechslin</dc:creator><pubDate>Thu, 05 Jun 2014 09:36:58 -0400</pubDate><guid>https://answers.axonivy.com/questions/741/how-can-i-acces-global-variables-in-an-event-start-bean/742</guid></item></channel></rss>