<?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 we use global variable in Automatic Process Element?</title><link>https://answers.axonivy.com/questions/1938/how-can-we-use-global-variable-in-automatic-process-element</link><description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;Now i have a automatic process in our project then the customer want to configure the amount of time that process can start. i intend to use global variable but i don't know how to put it on that element. &lt;/p&gt;
&lt;p&gt;Anyone know, please help&lt;/p&gt;
&lt;p&gt;Thanks a lot
&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/Untitled.png"&gt;&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1938/how-can-we-use-global-variable-in-automatic-process-element" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Aug 2016 12:00:32 -0400</lastBuildDate><item><title>Comment by Reguel Wermelinger on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/1938/how-can-we-use-global-variable-in-automatic-process-element#1948</link><description>&lt;p&gt;I don't understand the concern. The AutoProcessStarterEventBean is just a sample implementation of an IProcessStartEventBean. It's designed to be a adapted for your personal needs. But of course you should then also change the name and package of the bean.&lt;/p&gt;
&lt;p&gt;To finde the source: You can simply open the default implementation with the Type Finder (Ctrl+T). 
The source will be displayed right in your Designer.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 08 Aug 2016 12:00:32 -0400</pubDate><guid>https://answers.axonivy.com/questions/1938/how-can-we-use-global-variable-in-automatic-process-element#1948</guid></item><item><title>Comment by trungdv on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/1938/how-can-we-use-global-variable-in-automatic-process-element#1947</link><description>&lt;p&gt;hi. thanks for you feedback
i just have one concern if ivy change something in default imp of AutoProcessStarterEventBean, then we lost for custom java class :(
as well, which ivy lib i can find imp of AutoProcessStarterEventBean?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">trungdv</dc:creator><pubDate>Mon, 08 Aug 2016 11:26:04 -0400</pubDate><guid>https://answers.axonivy.com/questions/1938/how-can-we-use-global-variable-in-automatic-process-element#1947</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/1938/how-can-we-use-global-variable-in-automatic-process-element/1944</link><description>&lt;p&gt;You can write your own custom StartEventBean. Just copy the code of the existing bean ('ch.ivyteam.ivy.process.eventstart.beans.AutoProcessStarterEventBean') into a new JavaClass in your project src directory. Choose a good name for the class and adjust the content for your needs.&lt;/p&gt;
&lt;p&gt;The adjustment should be simple: just put an Ivy.var.get("xyz") call at the right position and it should work.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 08 Aug 2016 09:43:31 -0400</pubDate><guid>https://answers.axonivy.com/questions/1938/how-can-we-use-global-variable-in-automatic-process-element/1944</guid></item></channel></rss>