Write Data List to Text File
Comments
-
Hello,
I am wanting to write a couple hundred thousand records from a Decisions data type to a text file. I know I can loop through and write each line one at a time, but is there a way to insert the records in bulk at once?
Thank you. -
Found an answer for you.
Create a Report of the Decisions Data Type Use a “Run Report” step Set Properties > Output Settings > Return Data Option = “CSV File” This CSV can be read by any txt reader, or, if you, specifically, want a .txt file Use a “Create File” step
i. Map the RunReportResults.Contents to the Inputs > Data > Path field
ii. Set the Inputs > File Name to “{path}.txt” (eg. C:program files est.txt)
This method automatically creates a line break between Rows/Objects when read by a text reader.
Let me know if this gets you what you need.
Howdy, Stranger!
Categories
- 4.4K All Categories
- 81 General
- 13 Training
- 209 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 711 Forms
- 346 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions