You are here

Node objects

In an Alfresco Activiti process definition Alfresco repository node references and associations are represented as alfresco Node objects in Activiti BPMN 2.0. An Alfresco node object is an object‐oriented view of an item in the Alfresco Repository. It provides accessors for retrieving and setting properties and traversing associations, and methods for performing alfresco 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
The description for this in‐flight workflow.
bpm_workflowDueDate
the due date for the workflow.
bpm_workflowPriority
The 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 Alfresco 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.