# Uses of Interface
org.flowable.engine.runtime.Execution

Packages that use Execution
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.interceptor
org.flowable.engine.runtime
Classes related to the `RuntimeService`.

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

  Methods in org.flowable.engine that return Execution
  Modifier and Type
  Method
  Description
  `Execution`
  RuntimeService.`addMultiInstanceExecution(String activityId, String parentExecutionId, Map<String,Object> executionVariables)`
  Adds a new execution to a running multi-instance parent execution
  `Execution`
  RuntimeService.`executeActivityInAdhocSubProcess(String executionId, String activityId)`
  Executes an activity in a ad-hoc sub process
  Methods in org.flowable.engine that return types with arguments of type Execution
  Modifier and Type
  Method
  Description
  `List<Execution>`
  RuntimeService.`getAdhocSubProcessExecutions(String processInstanceId)`
  Gets executions with an adhoc sub process as current flow element

- ## Uses of Execution in org.flowable.engine.interceptor

  Method parameters in org.flowable.engine.interceptor with type arguments of type Execution
  Modifier and Type
  Method
  Description
  `void`
  ExecutionQueryInterceptor.`afterExecutionQueryExecute(ExecutionQuery executionQuery, List<Execution> executions)`

- ## Uses of Execution in org.flowable.engine.runtime

  Subinterfaces of Execution in org.flowable.engine.runtime
  Modifier and Type
  Interface
  Description
  `interface`
  `ProcessInstance`
  Represents one execution of a `ProcessDefinition`.
  Methods in org.flowable.engine.runtime with parameters of type Execution
  Modifier and Type
  Method
  Description
  `boolean`
  ProcessDebugger.`isBreakpoint(Execution execution)`
  Indicates that execution is in the breakpoint state