Package com.orchestranetworks.workflow

# Interface WorkflowTriggerBeforeProcessInstanceTerminationContext

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

public interface WorkflowTriggerBeforeProcessInstanceTerminationContext extends WorkflowTriggerContext
Dedicated context for handling the event "before process instance completion".

Since:
  5.5.0

- ## Nested Class Summary

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

  `ProcessExecutionContext.WorkflowPermission`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isForcedTermination()`
  Returns `true` if the completion is due to an administration action.

  ### 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`

- ## Method Details

  - ### isForcedTermination

    boolean isForcedTermination()
    Returns `true` if the completion is due to an administration action. In this case, the termination of the process instance has been forced, it is not a normal completion.