---
title: Condition type | Wartiva GraphQL API
description: Start condition for a unit. Wartiva GraphQL API reference with arguments, fields, and examples. Browse related operations and types.
url: https://wartiva.com/api-docs/types/condition.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `Condition` type

Start condition for a unit.

## Fields

| Field Name | Description |
|---|---|
| `name` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Condition name. |
| `trigger` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether this is a trigger condition. |
| `negate` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether to negate the condition. |
| `param` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Condition parameter. |
| `result` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Condition result. |

## Used by

- [`SystemServiceLinux`](https://wartiva.com/api-docs/types/system-service-linux.html) type: Linux-specific attributes for a System Service (systemd).

## Example

### Example

```json
{
  "name": "xyz789",
  "trigger": false,
  "negate": false,
  "param": "xyz789",
  "result": 123
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
