0 votes
1.4k views
in Integrations by (16.3k points)

1 Answer

0 votes
by (16.3k points)
selected by
 
Best answer
var managedFile = tw.system.model.findManagedFileByPath("somefile.csv", TWManagedFile.Types.Web);
log.error("Got the managed file!: " + managedFile);
// load the textual content into a variable
var textualContent = managedFile.readText();
// write the file to filesystem
managedFile.writeDataToFile("/tmp/somefile.csv");

Related questions

0 votes
1 answer 1.5k views
0 votes
1 answer 492 views
0 votes
1 answer 692 views
0 votes
1 answer 1.2k views
0 votes
1 answer 1.0k views
0 votes
0 answers 255 views
0 votes
2 answers 3.2k views
0 votes
1 answer 1.1k views
0 votes
0 answers 515 views

635 questions

495 answers

98 comments

3.0k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...