# Case

Node type `case`

## What it does

Run a branch when all conditions in its group are satisfied.

## Desktop client configuration

![Case configuration in the desktop client](/assets/case.ff3bee0ef0b56536f706cd69d8643ea48e7d94496f8d93bb0c6e3ac945a36536.0538f3a9.webp)

Captured in the English interface of MoreLogin Desktop V2.73.101.

## Inputs

Paths are relative to the complete node.

| Field | Type or values | Schema required | Execution default | Description and bounds |
|  --- | --- | --- | --- | --- |
| `id` | `string` | Yes | — | `minLength = 1`, `maxLength = 128` |
| `meta` | `object` | No | — | Optional opaque display JSON. Unknown nested keys are preserved; no runtime semantics. Omission on replacement removes it; untouched nodes retain it. |
| `type` | `"case"` | Yes | — | — |
| `data` | `object` | Yes | — | — |
| `data.title` | `string` | No | — | — |
| `data.description` | `string` | No | — | — |
| `data.inputs` | `object` | No | — | — |
| `data.outputs` | `object` | No | — | — |
| `data.conditionGroups` | array<`object`> | Yes | — | A condition branch has only one condition group (AND within the group). To express OR, add branches. `minItems = 1`, `maxItems = 1` |
| `blocks` | array<`WorkflowNode`> | Yes | — | — |


## Mode requirements and limits

- This node belongs only to ifElse. conditionGroups can have only one group (AND within the group). To express OR, add branches. The first matching branch is used.
- Field paths of structure nodes are relative to the complete node. For end, defaults refers to data.inputsValues. For other details, see workflow.md.
- Validation code `RPA_STRUCTURE_INVALID`


## Outputs

No dedicated business output.

## JSON example

Place this node in the `blocks` of an If/else node. It reads `read_title.data.text`, the output of an earlier Read element data node.

```json
{
  "id": "is_sign_in",
  "type": "case",
  "data": {
    "title": "Sign-in page",
    "conditionGroups": [
      {
        "content": [
          {
            "left": {
              "type": "ref",
              "content": [
                "read_title",
                "data",
                "text"
              ]
            },
            "operator": "contains",
            "right": {
              "type": "constant",
              "content": "Sign in"
            }
          }
        ]
      }
    ]
  },
  "blocks": [
    {
      "id": "click_sign_in",
      "type": "browser_click",
      "data": {
        "title": "Click the sign-in button",
        "browserAction": "click",
        "browserUi": {
          "inputs": {
            "selectorType": "selector",
            "selectorRadio": "CSS",
            "selector": "#sign-in"
          },
          "exception": {
            "timeout": 30000,
            "policy": "interrupt"
          }
        }
      }
    }
  ]
}
```

[Back to the node catalog](/browser-rpa/nodes)