---
title: "tempoAddAllocation"
canonical: "https://support.appfire.com/space/PSJ/15486817/tempoAddAllocation"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the SIL Tempo Connector add-on (free) be installed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | tempoAddAllocation(allocation) | **Package** | tempo |
| **Alias** |  | **Pkg Usage** | addAllocation(allocation) |

> ❌ Note that this function is only available if the Tempo Planner add-on is installed.

## Description

> Macro (excerpt)
> 
> Function adds a new Tempo Planner allocation.

Function adds a new Tempo Planner allocation.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| allocation | TempoAllocation | Yes | The predefined structure containing all the necessary fields for allocation creation. |

## Return Type

**Boolean**

Returns true if the planning succeeded, false otherwise.

> ⚠️ The list of fields from the **[TempoAllocation](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15485649)** structure that are taken into consideration when creating the allocation.

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)