Getting and changing case instance information
You can use the workflow REST protocol to get and set case instance data, including case
comments, case history, and activities.
Cases and case folders
A case is represented as a case folder within the folder hierarchy in the target object store for a deployed solution. A case is filed in folder hierarchy under the Cases folder for its case type. A case folder contains the activities, history, and comments that are associated with the case.
To prevent any one folder from being overloaded with too many objects, the new case folder is
placed in a subfolder that is based on the year, month, and day that the case was created. The
subfolder also includes a randomly generated number to identify the parent folder. The following
example illustrates the general structure of the folder hierarchy for a deployed solution. In this
example, the subfolder hierarchy is represented as follows:
- yyyy: The four-digit year
- mm: The two-digit month
- dd: The two-digit day
- pppp: The four-digit parent folder number
/IBM Case Manager
/Solution Deployments
/<solution name 1>
/Case Types /<Case Type 1a folder>
/Cases
/yyyy
/mm
/dd
/pppp
/<case folder. Name = sequence number>
... (more case instance folders)
/<Case Type 1b folder>
/Cases
/yyyy
/mm
/dd
/pppp
/<case folder. Name = sequence number>
... (more case types for solution 1)
/<solution name 2>
/Case Types
/<Case Type 2a folder>
/Cases
/yyyy
/mm
/dd
/pppp
/<case folder. Name = sequence number>
...
/<Case Type 2b folder>
/Cases
/yyyy
/mm
/dd
/pppp
/<case folder. Name = sequence number>
... (more case types for solution 2)
... (more solutions)