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.
addCommentToParentActivityaddCommentToParentCasecompleteParentCaseStagecreateCaseUsingSameCaseTypecreateCaseUsingSpecifiedCaseTypecreateDiscretionaryActivityInParentCasecreateDiscretionaryActivityInParentCaseWithWorkflowParamscreateParentCaseDiscretionaryActivityWithPropscreateSubfolderUnderParentCasegetParentActivityPropertyNamesgetParentActivityPropertyValuesgetParentCaseCasePropertyNamesgetParentCaseCasePropertyValuesgetParentCaseStructurerelateParentCasesearchParentCaseActivitiessetParentActivityPropertyValuessetParentCaseCasePropertyValuesunrelateParentCase
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 ServiceECM Get Content Object Property ServiceECM Get Content Object Properties ServiceECM 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.