Interacting with a parent case from a process
In processes that implement case activities, you can interact with the JavaScript case operations through the new operations that have been added to the TWProcessInstance JavaScript API in Business Automation Workflow.
For more information about the TWProcessInstance JavaScript API, see TWProcessInstance.
addCommentToParentActivity
addCommentToParentCase
completeParentCaseStage
createCaseUsingSameCaseType
createCaseUsingSpecifiedCaseType
createDiscretionaryActivityInParentCase
createDiscretionaryActivityInParentCaseWithWorkflowParams
createParentCaseDiscretionaryActivityWithProps
createSubfolderUnderParentCase
getParentActivityPropertyNames
getParentActivityPropertyValues
getParentCaseCasePropertyNames
getParentCaseCasePropertyValues
getParentCaseStructure
relateParentCase
searchParentCaseActivities
setParentActivityPropertyValues
setParentCaseCasePropertyValues
unrelateParentCase
For information about using new or existing processes to implement case activities, see Adding an activity with a new process and Adding an activity with an existing process.
ECM Update Content Object Properties Service
ECM Get Content Object Property Service
ECM Get Content Object Properties Service
ECM Update Content Object Property Service
To work with the parent case from your process instance, you can use the
parentCaseId
and parentCaseServerName
properties that are
available in the TWProcessInstance object.
Runtime synchronization of content objects
IBM® Business Automation Workflow and IBM Case Manager have access to content objects. When a Business Automation Workflow process runs from a case activity, the process has access to the case content objects. Any updates to content objects in a Business Automation Workflow process show up synchronously in the IBM Case Manager case or activity. Similarly, content object updates from within the IBM Case Manager case or activity are synchronously made available to the Business Automation Workflow process.