<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Use a picked up PDF in a process</title><link>https://answers.axonivy.com/questions/2660/use-a-picked-up-pdf-in-a-process</link><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have a process that starts when a PDF file comes to a folder. I have configured a program start like that:&lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/Image_1.png"&gt;&lt;/p&gt;
&lt;p&gt;And process data class like this:&lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/Image_2.png"&gt;&lt;/p&gt;
&lt;p&gt;But when the process starts when a file arrives to this folder, i have a NULL value in pdfPath attribute. I don't know why this happens, and I need to use this PDF file in HTML Dialogs.&lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2660/use-a-picked-up-pdf-in-a-process" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 06 Jun 2017 09:22:56 -0400</lastBuildDate><item><title>Answer by clemens_sch</title><link>https://answers.axonivy.com/questions/2660/use-a-picked-up-pdf-in-a-process/2674</link><description>&lt;p&gt;Hi Javier,&lt;/p&gt;
&lt;p&gt;please only use pdfPath.    Actually only the filename will be stored in that attribute. The start bean will copy the file to the templ location of ivy. You can then access it from there via filename in ivy script . In your example  File thefile = new FIle(pdfPath,true)  and do whatever you want. e.g. add it to the case via API.&lt;/p&gt;
&lt;p&gt;BR,
Clemens&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">clemens_sch</dc:creator><pubDate>Tue, 06 Jun 2017 09:22:56 -0400</pubDate><guid>https://answers.axonivy.com/questions/2660/use-a-picked-up-pdf-in-a-process/2674</guid></item><item><title>Answer by Reto Weiss</title><link>https://answers.axonivy.com/questions/2660/use-a-picked-up-pdf-in-a-process/2664</link><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Do not use the prefix 'in.' in the process attribute. Instead of 'in.altaEmpleadoData.pdfPath' use only 'altaEmpleadoData.pdfPath'.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Reto Weiss, Axon.ivy BPM Suite Support&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Fri, 02 Jun 2017 04:14:14 -0400</pubDate><guid>https://answers.axonivy.com/questions/2660/use-a-picked-up-pdf-in-a-process/2664</guid></item></channel></rss>