Package com.orchestranetworks.workflow

# Interface UserTaskUsersForAllocationCollectorContext

All Superinterfaces:
  `DataContextReadOnly`, `ProcessExecutionInfoContext`

public interface UserTaskUsersForAllocationCollectorContext extends ProcessExecutionInfoContext, DataContextReadOnly
This interface is used as the context for `UserTask.getUsersForAllocation(UserTaskUsersForAllocationCollectorContext)` to get the users list for the allocation or reallocation of a work item.

Since:
  5.5.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Session`
  `getSession()`
  Returns the authenticated session of the user.
  `UserTask.WorkItem`
  `getWorkItem()`
  Get the work item concerned by the allocation or reallocation.

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

  `getVariableNames, getVariableString, isVariableDefined`

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

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

- ## Method Details

  - ### getWorkItem

    UserTask.WorkItem getWorkItem()
    Get the work item concerned by the allocation or reallocation.

  - ### getSession

    Session getSession()
    Returns the authenticated session of the user.

    The returned session is in a read-only state, meaning that the interaction's parameters cannot be modified.

    Specified by:
      `getSession` in interface `ProcessExecutionInfoContext`