"Read document as input to Execute script"

Ale
Ale New Altair Community Member
edited November 2024 in Community Q&A
Hi! In my process I have a Read document operator connected to an execute script operator. I want to use the path of the file loaded by the read document in the script, how can I retrieve it? I'm using this code in the script, but it doesn't seem to work:
Document doc=input[0];
String path = doc.getSource();
Also I can't find anywhere a documentation for the Document class. How can I solve this problem?

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.