Skip to main content

core.cases.create_task

Create a new task for a case. Enterprise Edition

Inputs

case_id
string
required
The ID of the case to create a task for.
title
string
required
The title of the task.
assignee_id
string | null
The ID of the user to assign the task to.Default: null.
default_trigger_values
object | null
The default trigger values for the task.Default: null.
description
string | null
The description of the task.Default: null.
priority
string
The priority of the task (unknown, low, medium, high, critical).Default: "unknown".
status
string
The status of the task (todo, in_progress, blocked, completed).Default: "todo".
workflow_id
string | null
The ID of the workflow associated with this task.Default: null.

Examples

Manage case tasks
- ref: create_task
  action: core.cases.create_task
  args:
    case_id: ${{ TRIGGER.case_id }}
    title: Collect email headers
    description: Pull the original message from the mail gateway.
    priority: high
    status: todo
- ref: get_task
  action: core.cases.get_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}
- ref: list_tasks
  action: core.cases.list_tasks
  args:
    case_id: ${{ TRIGGER.case_id }}
- ref: update_task
  action: core.cases.update_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}
    status: in_progress
- ref: delete_task
  action: core.cases.delete_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}

core.cases.get_task

Get a specific case task by ID. Enterprise Edition

Inputs

task_id
string
required
The ID of the task to retrieve.

Examples

Manage case tasks
- ref: create_task
  action: core.cases.create_task
  args:
    case_id: ${{ TRIGGER.case_id }}
    title: Collect email headers
    description: Pull the original message from the mail gateway.
    priority: high
    status: todo
- ref: get_task
  action: core.cases.get_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}
- ref: list_tasks
  action: core.cases.list_tasks
  args:
    case_id: ${{ TRIGGER.case_id }}
- ref: update_task
  action: core.cases.update_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}
    status: in_progress
- ref: delete_task
  action: core.cases.delete_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}

core.cases.list_tasks

List all tasks for a case. Enterprise Edition

Inputs

case_id
string
required
The ID of the case to list tasks for.

Examples

Manage case tasks
- ref: create_task
  action: core.cases.create_task
  args:
    case_id: ${{ TRIGGER.case_id }}
    title: Collect email headers
    description: Pull the original message from the mail gateway.
    priority: high
    status: todo
- ref: get_task
  action: core.cases.get_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}
- ref: list_tasks
  action: core.cases.list_tasks
  args:
    case_id: ${{ TRIGGER.case_id }}
- ref: update_task
  action: core.cases.update_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}
    status: in_progress
- ref: delete_task
  action: core.cases.delete_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}

core.cases.update_task

Update an existing case task. Enterprise Edition

Inputs

task_id
string
required
The ID of the task to update.
assignee_id
string | null
The ID of the user to assign the task to.Default: null.
default_trigger_values
object | null
The default trigger values for the task.Default: null.
description
string | null
The updated description of the task.Default: null.
priority
string | null
The updated priority of the task (unknown, low, medium, high, critical).Default: null.
status
string | null
The updated status of the task (todo, in_progress, blocked, completed).Default: null.
title
string | null
The updated title of the task.Default: null.
workflow_id
string | null
The ID of the workflow associated with this task.Default: null.

Examples

Manage case tasks
- ref: create_task
  action: core.cases.create_task
  args:
    case_id: ${{ TRIGGER.case_id }}
    title: Collect email headers
    description: Pull the original message from the mail gateway.
    priority: high
    status: todo
- ref: get_task
  action: core.cases.get_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}
- ref: list_tasks
  action: core.cases.list_tasks
  args:
    case_id: ${{ TRIGGER.case_id }}
- ref: update_task
  action: core.cases.update_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}
    status: in_progress
- ref: delete_task
  action: core.cases.delete_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}

core.cases.delete_task

Delete a case task. Enterprise Edition

Inputs

task_id
string
required
The ID of the task to delete.

Examples

Manage case tasks
- ref: create_task
  action: core.cases.create_task
  args:
    case_id: ${{ TRIGGER.case_id }}
    title: Collect email headers
    description: Pull the original message from the mail gateway.
    priority: high
    status: todo
- ref: get_task
  action: core.cases.get_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}
- ref: list_tasks
  action: core.cases.list_tasks
  args:
    case_id: ${{ TRIGGER.case_id }}
- ref: update_task
  action: core.cases.update_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}
    status: in_progress
- ref: delete_task
  action: core.cases.delete_task
  depends_on:
    - create_task
  args:
    task_id: ${{ ACTIONS.create_task.result.id }}