Throws an error if the TaskContentService didn't have the Task object set yet.
the Task object held by TaskContentService.
the Task object held by TaskContentService or undefined
if the Service currently holds no Task.
Reloads the current page of tasks if the preceding assign operation succeeded. Then initializes the task's data fields.
whether the preceding assign succeeded or not
the action that should be performed when the assign policy (and all following policies) finishes
Requests a reload of the task and then requests the task to be closed.
the action that should be performed when the assign policy (and all following policies) finishes
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.
the action that should be performed when the assign policy (and all following policies) finishes
Performs the actions that correspond to the [Auto Assign Policy]{@link AssignPolicy#auto}.
whether the Task was 'opened' (eg. task panel is expanding) or 'closed' (eg. task panel is collapsing)
the action that should be performed when the assign policy (and all following policies) finishes
true
if a Task instance is set, false
otherwise
Checks whether the current state of the TaskContentService and optionally if the SelectedCaseService, is still relevant to the task that was requested.
This method is useful if you use UnlimitedTaskContentService, or a similar implementation. It is possible for the currently "selected" task to change in-between a backend request was sent and the response was received. In that case the response is no longer relevant and should be discarded, otherwise an illegal task state could be achieved on frontend.
the stringId
of the requested task
true
if the requested task is still relevant to the state of the frontend. Returns false
otherwise.
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.
the action that should be performed when the assign policy (and all following policies) finishes
Performs the actions that correspond to the [Manual Assign Policy]{@link AssignPolicy#manual}.
whether the Task was 'opened' (eg. task panel is expanding) or 'closed' (eg. task panel is collapsing)
the action that should be performed when the assign policy (and all following policies) finishes
Performs the actions that correspond to the policy defined by the Task on it's assignment.
whether the Task was 'opened' (eg. task panel is expanding) or 'closed' (eg. task panel is collapsing)
the action that should be performed when the assign policy (and all following policies) finishes
Generated using TypeDoc
Handles the sequence of actions that are performed when a task is being assigned, based on the task's configuration.