Hello. I'm trying to create a simple process that takes the file at a specified path and logs its name(Java Program Start -> Script -> End).The problem is that I'm not sure how I can access the file in the script element.

asked 23.11.2018 at 09:16

Adrian's gravatar image

Adrian
(suspended)
accept rate: 0%


Hi

On your data class you have to create a string field. e.g. fileName. Then on the Program Start inscription on the Editor tab you have to set "Process attribute to store the file in" to "fileName". Then wait some time and if the process runs you have the file name in the "in.fileName" attribute.

link

answered 23.11.2018 at 10:47

Christian%20Strebel's gravatar image

Christian St... ♦
3.2k31338
accept rate: 88%

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: 23.11.2018 at 09:16

Seen: 1,231 times

Last updated: 23.11.2018 at 10:47