---
title: "Action tickets_clear_input"
description: "Clears subject custom-field constants after ticket creation or cancellation."
---

# Action `tickets_clear_input`

> **System ID:** `action_tickets_clear_input`

## Description

By subject alias, finds the custom-field configuration and removes the matching constants from user state. Useful after ticket creation, form cancellation, or before filling a new form.

## Events (scenario branches)

| Event | When it occurs |
|-------|----------------|
| **success** | Field constants cleared |
| **error** | No `subject_alias`, or subject not found |

## Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `subject_alias` | string | yes | — | Alias of the subject whose fields should be cleared (placeholders) |

## Configuration example

```json
{
  "subject_alias": "support"
}
```

## Related docs

- [Actions reference](/en/actionjail/reference/actions-reference.md)
