saveState

subPr.saveState (create or update) is fully controlled by Properties. pp.StateManager process property is used to build the directory and the filename incl. extension. The current document currentDatais used as the payload.

Property
Description

DDP_State

state.userState: The state as Integer

DDP_UserId

state.userId: external system reference

pp.StateManager.Directory

state.key

DDP_UserId + pp.StateManager.Extension

state.context: used as the file-name

DDP_ErrorMessage

state.userInfo: if provided


{
  "id" : "character",
  "key" : "character",
  "context" : "character",
  "userId" : "character",
  "userState" : "number"	/* # */,
  "userInfo" : "character",
  "payloadType" : "character",
  "payload" : "character"
}

Last updated