You are here

Node objects

In a process definition, repository node references and associations are represented as node objects in Activiti BPMN 2.0. A node object is an object‐oriented view of an item in the repository. It provides accessors for retrieving and setting properties and traversing associations, and methods for performing SkyVault actions such as checkin, checkout, and transforms.

The following variables are set by the start task in your process definition, and are accessible after the start task completes:

bpm_workflowDescription
Description for this in‐flight workflow.
bpm_workflowDueDate
Due date for the workflow.
bpm_workflowPriority
Priority for the workflow.
bpm_package
A Repository Node with aspect bpm:workflowPackage representing the Workflow package containing content being routed through the workflow.
bpm_context
A Repository Node of type cm:folder representing the folder in which the workflow was started.

The are some special node objects available in the process definition, that are not part of the task model:

initiator
A Repository Node of type cm:person representing the person who initiated the workflow.
initiatorhome
A Repository Node of type cm:space representing the home folder of the person who initiated the workflow.
companyhome
A Repository Node of type cm:space representing the company home root folder.