<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: CMS - add a PDF file to the process</title><link>https://answers.axonivy.com/questions/2636/cms-add-a-pdf-file-to-the-process</link><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I'm trying to find the way to do the following. We need to start a process when a email comes with an attachment. I can solve this by a daemon in OS at host. But then, when the file moves to a folder, I need to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Start the process &lt;/li&gt;
&lt;li&gt;Add the PDF to the process to be available to process users.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I'm writing a Java class in order to search if there is a file to the folder and raise the start of the process. I need to know how can put it in a daemon that executes that every x minutes. 
Then, I have to attach the PDF to the process, but I'm not finding a way to do it.&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/2636/cms-add-a-pdf-file-to-the-process" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 24 May 2017 08:19:22 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/2636/cms-add-a-pdf-file-to-the-process/2637</link><description>&lt;p&gt;This is a task that you can easily solve with the standard process 'Program Start' event. 
Choose the 'FilePickupStartEventBean' in the 'Start' tab and configure the path to monitor for new files in the 'Editor' tab. You can also define which process attributes should contain the PDF.&lt;/p&gt;
&lt;p&gt;With this start event a process will run whenever a file was found in the configured folder and you have access to it on the process data.&lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/filePickupStartEvent_ea0SmMC.png"&gt;
&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/filePickup_editor.png"&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Wed, 24 May 2017 08:19:22 -0400</pubDate><guid>https://answers.axonivy.com/questions/2636/cms-add-a-pdf-file-to-the-process/2637</guid></item></channel></rss>