Options
All
  • Public
  • Public/Protected
  • All
Menu

Handles the sequence of actions that are performed when a task is being assigned, based on the task's configuration.

Hierarchy

Index

Constructors

Properties

_assignTaskService: AssignTaskService
_callchain: CallChainService
_cancelTaskService: CancelTaskService
_finishPolicyService: FinishPolicyService
_isForced: boolean = false
_permissionService: PermissionService
_selectedCaseService: SelectedCaseService = null
_taskContentService: TaskContentService
_taskDataService: TaskDataService
_taskOperations: TaskOperations
_userComparatorService: UserComparatorService
_userService: UserService

Accessors

  • get _safeTask(): Task
  • get forced(): boolean
  • set forced(bool: boolean): void

Methods

  • afterAssignOpenPolicy(assignSuccess: boolean, afterAction: AfterAction): void
  • autoAssignClosedPolicy(afterAction: Subject<boolean>): void
  • Performs the actions that correspond to the [Auto Assign Policy]{@link AssignPolicy#auto} when a task is 'opening' (eg. task panel is expanding).

    Assigns the task, reloads the current task page, loads task data and performs the finish policy.

    See [finish policy]{@link FinishPolicyService#performFinishPolicy} for more information.

    Parameters

    • afterAction: AfterAction

      the action that should be performed when the assign policy (and all following policies) finishes

    Returns void

  • autoAssignPolicy(taskOpened: boolean, afterAction: AfterAction): void
  • isTaskPresent(): boolean
  • isTaskRelevant(requestedTaskId: string): boolean
  • manualAssignOpenedPolicy(afterAction: AfterAction): void
  • Performs the actions that correspond to the [Manual Assign Policy]{@link AssignPolicy#manual} when a task is 'opening' (eg. task panel is expanding).

    Loads task data and performs the [finish policy]{@link FinishPolicyService#performFinishPolicy}.

    See [finish policy]{@link FinishPolicyService#performFinishPolicy} for more information.

    Parameters

    • afterAction: AfterAction

      the action that should be performed when the assign policy (and all following policies) finishes

    Returns void

  • manualAssignPolicy(taskOpened: boolean, afterAction: AfterAction): void
  • performAssign(taskOpened: boolean, afterAction?: AfterAction): void
  • performAssignPolicy(taskOpened: boolean, afterAction?: AfterAction): void

Generated using TypeDoc