--- sidebar_position: 6 description: Complete tasks checklist element and other functions to work with Bitrix24 in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Bitrix24] --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; # Complete tasks checklist element Mark an element as completed `Function CompleteTasksChecklistElement(Val URL, Val TaskID, Val ElementID, Val Token = "") Export` | Parameter | CLI option | Type | Required | Description | |-|-|-|-|-| | URL | --url | String | ✔ | URL of webhook or a Bitrix24 domain, when token used | | TaskID | --task | Number, String | ✔ | Task ID | | ElementID | --element | Number, String | ✔ | Element ID | | Token | --token | String | ✖ | Access token, when app auth method used | Returns: Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API
:::tip Method at API documentation: [task.checklistitem.complete](https://dev.1c-bitrix.ru/rest_help/tasks/task/checklistitem/complete.php) :::
```bsl title="1C:Enterprise/OneScript code example" URL = FunctionParameters["Bitrix24_URL"]; TaskID = FunctionParameters["Bitrix24_HookTaskID"]; ElementID = FunctionParameters["Bitrix24_HookCheckElementID"]; Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID); TaskID = FunctionParameters["Bitrix24_TaskID"]; ElementID = FunctionParameters["Bitrix24_CheckElementID"]; URL = FunctionParameters["Bitrix24_Domain"]; Token = FunctionParameters["Bitrix24_Token"]; Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token); ``` ```bash oint bitrix24 CompleteTasksChecklistElement \ --url "b24-ar17wx.bitrix24.by" \ --task "8402" \ --element 5910 \ --token "***" ``` ```batch oint bitrix24 CompleteTasksChecklistElement ^ --url "b24-ar17wx.bitrix24.by" ^ --task "8402" ^ --element 5910 ^ --token "***" ``` ```json title="Result" { "result": true, "time": { "start": 1760521910, "finish": 1760521911.04847, "duration": 1.04846596717834, "processing": 0, "date_start": "2025-10-15T09:51:50+00:00", "date_finish": "2025-10-15T09:51:51+00:00", "operating_reset_at": 1760522511, "operating": 0 } } ```