| Package | Description |
|---|---|
| org.activiti.engine |
Public API of the Activiti engine.
Typical usage of the API starts by the creation of a ProcessEngineConfiguration
(typically based on a configuration file), from which a ProcessEngine can be obtained.Through the services obtained from such a ProcessEngine, BPM and workflow operation
can be executed:RepositoryService: Manages Deployments RuntimeService: For starting and searching ProcessInstances TaskService: Exposes operations to manage human (standalone) Tasks,
such as claiming, completing and assigning tasksIdentityService: Used for managing Users,
Groups and the relations between themManagementService: Exposes engine admin and maintenance operations,
which have no relation to the runtime exection of business processesHistoryService: Exposes information about ongoing and past process instances.FormService: Access to form data and rendered forms for starting new process instances and completing tasks. |
| Modifier and Type | Method and Description |
|---|---|
Attachment |
TaskService.createAttachment(String attachmentType,
String taskId,
String processInstanceId,
String attachmentName,
String attachmentDescription,
InputStream content)
Add a new attachment to a task and/or a process instance and use an input stream to provide the content
|
Attachment |
TaskService.createAttachment(String attachmentType,
String taskId,
String processInstanceId,
String attachmentName,
String attachmentDescription,
String url)
Add a new attachment to a task and/or a process instance and use an url as the content
|
Attachment |
TaskService.getAttachment(String attachmentId)
Retrieve a particular attachment
|
| Modifier and Type | Method and Description |
|---|---|
List<Attachment> |
TaskService.getProcessInstanceAttachments(String processInstanceId)
The list of attachments associated to a process instance
|
List<Attachment> |
TaskService.getTaskAttachments(String taskId)
The list of attachments associated to a task
|
| Modifier and Type | Method and Description |
|---|---|
void |
TaskService.saveAttachment(Attachment attachment)
Update the name and decription of an attachment
|
Copyright © 2016 Alfresco. All rights reserved.