Get the connection absolute path
Posted: Wed Dec 06, 2023 5:55 pm
Hello I have a script that has three out connection
I like to be able to get the out connection absolute path
for example:
if I loop through my connection I like to get the out folder location on disk
I can't find anything on how to achieve this?
I like to be able to get the out connection absolute path
for example:
if I loop through my connection I like to get the out folder location on disk
Code: Select all
let OutConnections: Connection[] = flowElement.getOutConnections();
for (const connection of OutConnections) {
if (job.isFile() === true) {
job.log(LogLevel.Info,[Connection path on disk]);
job.sendTo(connection);
}
}
I can't find anything on how to achieve this?