Fast File Writer
Comments
-
For the set of steps, FFW, Write, and Close. I try to capture all errors in my flows. However, in the three flows I use the FFW I keep running into an issue where the writer is already in use.
There are two main reasons, I have many people using the same flow and the file writer in each ‘compete’. This I can trap and avoid for the most part. I will be replacing this with a database entry so I can avoid collisions.
The second way is that a file gets locked and does not get unlocked until the service is restarted. This one is my issue. We need a way to be able to ‘see’ all FFW and even use one across instances of the same flow.
First, can I ‘send’ the FFW into a sub-flow, this way if I ERROR out in the sub-flow my ‘parent’ flow will still close the writer.
Second, should I create a table in Decisions to track each FFW or should I just make a logging table (DataSet)?
-
[font=Roboto, Arial, Helvetica, sans-serif]The type FastFileWriter can be used in a declaration of a composite type. A simple data structure can be leveraged to avoid collisions, save writes for a later time, or execute them in bulk. I have created a small project demonstrating the use of a database structure to more easily work with FastFileWriters.[/font]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions