<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-simplest-way-to-write-workflows-as-code-ffjug1ipg" -->

---
title: The simplest way to write workflows as code | daily.dev
description: Restate allows developers to write lightweight, flexible, and durable workflows as code, combining the benefits of workflows with the ease of regular...
canonical: https://daily.dev/posts/the-simplest-way-to-write-workflows-as-code-ffjug1ipg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The simplest way to write workflows as code | daily.dev
og:description: Restate allows developers to write lightweight, flexible, and durable workflows as code, combining the benefits of workflows with the ease of regular...
og:url: https://daily.dev/posts/the-simplest-way-to-write-workflows-as-code-ffjug1ipg
og:image: https://api.daily.dev/og/posts/ffjuG1ipG.png
og:image:alt: The simplest way to write workflows as code
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The simplest way to write workflows as code

**[Restate](https://daily.dev/sources/restate)** · 11 min read · 34 upvotes · 0 comments

## Summary

Restate allows developers to write lightweight, flexible, and durable workflows as code, combining the benefits of workflows with the ease of regular functions. It eliminates the need for complex configuration files and extra infrastructure, making workflows executable directly in code using the Restate SDK. Key features include Durable Execution, which logs and recovers workflow progress, and flexibility, allowing workflows to run in various environments like local servers, K8s, and AWS Lambda. Restate integrates easily, enabling retries, idempotency, and resilience for both long-running and latency-sensitive tasks.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://restate.dev/blog/the-simplest-way-to-write-workflows-as-code/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#cloud](https://daily.dev/tags/cloud), [#devops](https://daily.dev/tags/devops), [#java](https://daily.dev/tags/java), [#automation](https://daily.dev/tags/automation), [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/the-simplest-way-to-write-workflows-as-code-ffjug1ipg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The simplest way to write workflows as code","url":"https://daily.dev/posts/the-simplest-way-to-write-workflows-as-code-ffjug1ipg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-simplest-way-to-write-workflows-as-code-ffjug1ipg"},"datePublished":"2024-07-30T08:41:10.642Z","dateModified":"2024-10-05T18:34:46.437Z","description":"Restate allows developers to write lightweight, flexible, and durable workflows as code, combining the benefits of workflows with the ease of regular...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5072a85d7936fcc7e41e35f9d72d822e?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5072a85d7936fcc7e41e35f9d72d822e?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Restate","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Restate","logo":"https://media.daily.dev/image/upload/s--qYEjt4Wr--/f_auto/v1719933011/logos/restate","url":"https://daily.dev/sources/restate"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-simplest-way-to-write-workflows-as-code-ffjug1ipg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":34},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cloud,devops,java,automation,typescript","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Restate","item":"https://daily.dev/sources/restate"},{"@type":"ListItem","position":3,"name":"The simplest way to write workflows as code"}]}
```

