<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: How to access file picked up by FilePickupStartEventBean?</title><link>https://answers.axonivy.com/questions/3557/how-to-access-file-picked-up-by-filepickupstarteventbean</link><description>&lt;p&gt;Hello.
I'm trying to create a simple process that takes the file at a specified path and logs its name(Java Program Start -&amp;gt; Script -&amp;gt; End).The problem is that I'm not sure how I can access the file in the script element.&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3557/how-to-access-file-picked-up-by-filepickupstarteventbean" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 23 Nov 2018 10:47:50 -0500</lastBuildDate><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/3557/how-to-access-file-picked-up-by-filepickupstarteventbean/3558</link><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;On your data class you have to create a string field. e.g. fileName.
Then on the &lt;strong&gt;Program Start&lt;/strong&gt; inscription on the &lt;strong&gt;Editor&lt;/strong&gt; tab you have to set "&lt;strong&gt;Process attribute to store the file in&lt;/strong&gt;" to "&lt;em&gt;fileName&lt;/em&gt;".
Then wait some time and if the process runs you have the file name in the "&lt;em&gt;in.fileName&lt;/em&gt;" attribute.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Fri, 23 Nov 2018 10:47:50 -0500</pubDate><guid>https://answers.axonivy.com/questions/3557/how-to-access-file-picked-up-by-filepickupstarteventbean/3558</guid></item></channel></rss>