---
title: "Discussion on \"Ash StateMachine\" | Hashnode"
description: "Discussion on \"Ash StateMachine\". TLDR;\nAsh StateMachine 은 상태 변경이 가능한 케이스를 명시하고, 미리 선언된 상태 변경만 가능하도록 한다.\n\n왜 쓸까?\n예를 들면, “새로 생성 → 진행 중 → 완료” 처럼 정해진 workflow 가 있다면, 로직으로 if/else 를 사용하는 것보다 상태머신으로 선언해 두는 게 안전하고 읽기 쉽다.\n\n예제: Task\n요구사항:\n\n기본 상태는 :new\n\n:start 액션이 :new → :in_progress\n\n:finish ..."
url: "https://hashnode.com/posts/ash-statemachine/68c6d7927a3a8d6b09c270a1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ash StateMachine](https://kkbz.hashnode.dev/ash-statemachine?utm_source=hashnode&utm_medium=feed)

TLDR; Ash StateMachine 은 상태 변경이 가능한 케이스를 명시하고, 미리 선언된 상태 변경만 가능하도록 한다. 왜 쓸까? 예를 들면, “새로 생성 → 진행 중 → 완료” 처럼 정해진 workflow 가 있다면, 로직으로 if/else 를 사용하는 것보다 상태머신으로 선언해 두는 게 안전하고 읽기 쉽다. 예제: Task 요구사항: 기본 상태는 :new :start 액션이 :new → :in\_progress :finish ...

Sep 14, 2025 · 2 min read · kkbz.hashnode.dev  
Read the article

## Written by

[Wonwoo Cho](https://hashnode.com/@kkbz)

@kkbz

  
[View profile](https://hashnode.com/@kkbz)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
