Boomi File-System Implementation
Simple File-System state-management with Boomi
Last updated
Simple File-System state-management with Boomi
Last updated
To start with the considerations we need a directory in which we store the state files. It is even better to have several (sub) directories to manage different states.
I recommend to use a shared directory to store states. However, for testing "no directory" is good enough ("No directory" with Disk v2 connector means: relative to Boomi Atom Directory).
A file-name represents to id of a state.
We use the Disk v2 connector and we keep all state-management processes (incl. required components) in the StateManager folder. There will be two independent subProcesses, called though a Route: subPr.saveState
and subPr.readState
:
A State is represented by j.State
profile (see State-Management in general) and states are serialized and stored in files.