Fuego.Lib : ClientSession

The ClientSession component is used to associate any value or object with the current user session. The data stored with ClientSession is kept in the WorkSpace application memory and its scope and lifetime is that of the current user session. The data is lost when a user logs off. The data stored in ClientSession is shared across all processes, activities and process instances.

Important: The ClientSession component can only be called from a Screenflow or Interactive activities.
CAUTION:
The behavior of ClientSession depends on the session-handling mechanism and configuration of the Servlet container hosting the Oracle BPM WorkSpace application. You should understand your environment's limitations of sharing session state across multiple nodes of a cluster.

Example

  ClientSession.putObjectIn(name : "shoppingCart", value : items)
...
  items = ClientSession.retrieveObjectFrom(name : "shoppingCart", defaultValue : [])
      
Related reference
Fuego.Lib : ServerSession
Fuego.Lib : ClientType