readState & fetchStates
Last updated
Last updated
ReadState uses the pp.StateManager.Directory
process property to find the state files in the right directory. ReadState reads all files from the directory and returns each file's content as currentData (documents), as well as, DDP_State
and DDP_UserId
.
A second process sub.FetchStates( DPP_ReqState)
"on-top" of ReadState filters those records which meet a specific state: DPP_ReqState
is used as the filter to read only records with that specific state.