# UserJourneyStep

**Kind:** Interface

**Source:** [`atloria-monorepo/packages/doc-automation/src/v2/types/cross-language.types.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/doc-automation/src/v2/types/cross-language.types.ts#L150)

UserJourneyStep - Complete step in a user workflow

Combines frontend action with backend processing for clear user docs.

## Properties

| Property | Type |
|---|---|
| `order` | `number` |
| `action` | `string` |
| `screen` | `string` |
| `screenPath` | `string` |
| `processing` | `{
    description: string; // "System validates and saves order"
    validationRules?: string[]; // ["Customer is required", "At least one item"]
    permissionRequired?: string; // "Sales Manager or Admin"
  }` |
| `outcomes` | `Array<{
    type: 'success' | 'error' | 'redirect';
    description: string; // "Order created successfully"
    nextScreen?: string; // Where user goes next
  }>` |
