# Deprecated API

## Contents

- Terminally Deprecated
- Classes
- Methods

- Terminally Deprecated Elements
  Element
  Description
  org.flowable.engine.test.FlowableRule
  Use JUnit Jupiter with `FlowableTest` instead
  org.flowable.engine.test.FlowableTestCase
  Use JUnit Jupiter with `FlowableTest` instead

- Deprecated Classes
  Class
  Description
  org.flowable.engine.test.FlowableRule
  Use JUnit Jupiter with `FlowableTest` instead
  org.flowable.engine.test.FlowableTestCase
  Use JUnit Jupiter with `FlowableTest` instead

- Deprecated Methods
  Method
  Description
  org.flowable.cmmn.api.delegate.DelegatePlanItemInstance.setStartTime(Date)
  use `DelegatePlanItemInstance.setCreateTime(Date)` instead
  org.flowable.cmmn.api.runtime.PlanItemInstance.getStartTime()
  use `PlanItemInstance.getCreateTime()` instead
  org.flowable.common.engine.api.query.DeleteQuery.deleteWithRelatedData()
  in favour of using `BatchDeleteQuery.deleteSequentiallyUsingBatch(int, String)` or `DeleteQuery.delete()` if the query does not support batch delete
  org.flowable.dmn.api.ExecuteDecisionBuilder.execute()
  Use `ExecuteDecisionBuilder.executeDecision()` to execute a Decision (table)
  org.flowable.engine.ProcessEngineConfiguration.getCleanInstancesEndedAfterNumberOfDays()
  use `ProcessEngineConfiguration.getCleanInstancesEndedAfter()` instead
  org.flowable.engine.ProcessEngineConfiguration.setCleanInstancesEndedAfterNumberOfDays(int)
  use `ProcessEngineConfiguration.setCleanInstancesEndedAfter(Duration)` instead
  org.flowable.task.api.history.HistoricTaskInstance.getStartTime()
  use `TaskInfo.getCreateTime()` instead