Skip to main content

markInProgress

plugin.tasksApi.markInProgress(taskId: string): Promise<Task>

Marks a task as in-progress.

Updates the task's status to indicate that work has begun on it. This is typically called when a task is being actively worked on. Returns the updated task object.

Parameters

ParameterTypeRequiredDescription
taskIdstringYesThe unique identifier of the task to mark as in-progress

Returns

Promise<Task> — A promise that resolves to the updated Task object with in-progress status

Example

import plugin from '@codebolt/plugin-sdk';

const result = await plugin.tasksApi.markInProgress('taskId');
console.log(result);