How to convert List of Strings to .txt file
Hello!
I'd like to know if there's a way to convert a list of strings into a text file (.txt)?
I'm using the List to CSV step at the moment, but it formats the text in a way that I don't like, is there a better way to accomplish this?
Thanks in advance
Comments
-
Hey there, thanks for using the Decisions Community forum!
This can be accomplished by using the create data step, to create the list and then follow that step with the Join Strings with Special Characters to convert the list into a string that can be then fed into the Create Text File Step.
For the File name on the Create Text file Step, ensure that you put the directory located on the app server, where you want the file to be saved, followed by the name of the document, for example:
"C:\Users\Example.User\Downloads\textfile.txt"
in this example, "textfile.txt" will be the name of the file that gets created.
I've included screenshots below to give you an idea of how to set this up:
I hope this helps!
Regards,
Levi | Decisions Support
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions