# Uses of Interface
org.flowable.engine.task.Attachment

Packages that use Attachment
Package
Description
org.flowable.engine
Public API of the Flowable 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 `Deployment`s.
`RuntimeService`: For starting and searching `ProcessInstance`s.
`TaskService`: Exposes operations to manage human (standalone) tasks, such as claiming, completing and assigning tasks.
`IdentityService`: Used for managing users, groups and the relations between them.
`ManagementService`: Exposes engine administration and maintenance operations, which have no relation to the runtime exection of business processes.
`HistoryService`: Exposes information about ongoing and past process instances.
`FormService`: Access to form data and rendered forms for starting new process instances and completing tasks.
org.flowable.engine.compatibility

- ## Uses of Attachment in org.flowable.engine

  Methods in org.flowable.engine that return Attachment
  Modifier and Type
  Method
  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
  Methods in org.flowable.engine that return types with arguments of type Attachment
  Modifier and Type
  Method
  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
  Methods in org.flowable.engine with parameters of type Attachment
  Modifier and Type
  Method
  Description
  `void`
  TaskService.`saveAttachment(Attachment attachment)`
  Update the name and description of an attachment

- ## Uses of Attachment in org.flowable.engine.compatibility

  Methods in org.flowable.engine.compatibility that return Attachment
  Modifier and Type
  Method
  Description
  `Attachment`
  Flowable5CompatibilityHandler.`createAttachment(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, InputStream content, String url)`
  Methods in org.flowable.engine.compatibility with parameters of type Attachment
  Modifier and Type
  Method
  Description
  `void`
  Flowable5CompatibilityHandler.`saveAttachment(Attachment attachment)`