---
name: "BIS_fnc_deleteTask"
type: function
status: ok
groups: ["Tasks"]
arma3_since: "1.06"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_deleteTask
revid: 364798
updated: 2024-06-14T14:01:53Z
---

# BIS_fnc_deleteTask

*Function · Tasks · Arma 3 v1.06*

Locality: arguments **global** · effect **global**

## Description

Deletes given task. 

> [!NOTE]
> See Arma 3: Task Framework.

## Syntax

```sqf
[taskID, owner, removeFromJIP] call BIS_fnc_deleteTask
```

**Parameters:**

- `taskID`: [String](../topics/String.md) - ID of the task
- `owner`: [String](../topics/String.md) - (Optional) owner of the task. Can be:
  - [Boolean](../topics/Boolean.md) - true to use all playable units
  - [Object](../topics/Object.md) - specific object
  - [Group](../topics/Group.md) - all objects in the group
  - [Side](../topics/Side.md) - all objects of the given side
  - [Array](../topics/Array.md) - collection of above types
- `removeFromJIP`: [Boolean](../topics/Boolean.md) - (Optional, default [false](../commands/false.md)) [true](../commands/true.md) to also remove task from JIP queue *(since arma3 2.08)*

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
["task_1"] call BIS_fnc_deleteTask;
```

### Example 2

```sqf
["task_1", west] call BIS_fnc_deleteTask;
```

### Example 3

```sqf
["task_1", [west, player, group soldier]] call BIS_fnc_deleteTask;
```

## See also

Arma 3: Task Framework

<sub>Source: [BI Community Wiki — BIS fnc deleteTask](https://community.bistudio.com/wiki/BIS_fnc_deleteTask) (revision 364798).</sub>
