Package com.orchestranetworks.workflow

# Interface WorkflowTriggerBeforeWorkItemTerminationContext

All Superinterfaces:
  `DataContextReadOnly`, `ProcessExecutionContext`, `ProcessExecutionInfoContext`, `WorkflowTriggerContext`, `WorkflowTriggerStepContext`, `WorkflowTriggerWorkItemContext`

public interface WorkflowTriggerBeforeWorkItemTerminationContext extends WorkflowTriggerWorkItemContext
Dedicated context for handling the event "before work item termination".

Since:
  5.5.1
See Also:
  - `WorkflowTriggerBean.handleBeforeWorkItemTermination(WorkflowTriggerBeforeWorkItemTerminationContext)`

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface com.orchestranetworks.workflow.ProcessExecutionContext

  `ProcessExecutionContext.WorkflowPermission`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isAccepted()`
  Returns `true` if the work item has been accepted, `false` if the work item has been rejected.

  ### Methods inherited from interface com.orchestranetworks.workflow.DataContextReadOnly

  `getVariableNames, getVariableString, isVariableDefined`

  ### Methods inherited from interface com.orchestranetworks.workflow.ProcessExecutionContext

  `createMailSpec, getProcessInstanceDescription, getProcessInstanceLabel, modifyProcessPriority`

  ### Methods inherited from interface com.orchestranetworks.workflow.ProcessExecutionInfoContext

  `getProcessInstance, getProcessInstanceCreator, getProcessInstanceKey, getProfileForPermission, getPublishedProcessKey, getRepository, getSession`

  ### Methods inherited from interface com.orchestranetworks.workflow.WorkflowTriggerStepContext

  `getCurrentStepId`

  ### Methods inherited from interface com.orchestranetworks.workflow.WorkflowTriggerWorkItemContext

  `getWorkItem`

- ## Method Details

  - ### isAccepted

    boolean isAccepted()
    Returns `true` if the work item has been accepted, `false` if the work item has been rejected.