Hi all,

I have a process that starts when a PDF file comes to a folder. I have configured a program start like that:

alt text

And process data class like this:

alt text

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.

Any idea?

Thanks in advance

asked 01.06.2017 at 08:00

jirazazabal's gravatar image

jirazazabal
(suspended)
accept rate: 0%


Hi Javier,

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.

BR, Clemens

link

answered 06.06.2017 at 09:22

clemens_sch's gravatar image

clemens_sch
(suspended)
accept rate: 100%

Hi

Do not use the prefix 'in.' in the process attribute. Instead of 'in.altaEmpleadoData.pdfPath' use only 'altaEmpleadoData.pdfPath'.

Regards

Reto Weiss, Axon.ivy BPM Suite Support

link

answered 02.06.2017 at 04:14

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k202857
accept rate: 74%

Still doesn't work. Getting null yet.

(02.06.2017 at 04:37) jirazazabal jirazazabal's gravatar image

Still doesn't work.

Could you please help me about this issue?

Thanks

(06.06.2017 at 06:48) jirazazabal jirazazabal's gravatar image

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×18

Asked: 01.06.2017 at 08:00

Seen: 2,067 times

Last updated: 07.06.2017 at 02:46