Node objects - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

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 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:

Variable Description
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.

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

Variable Description
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.