FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
What Temporal Can't Do: Human Approval Mid-Workflow
How-ToProgramming Languages

What Temporal Can't Do: Human Approval Mid-Workflow

via Dev.to PythonGeorge Belsky2h ago

Temporal is excellent at durable execution. I'm not here to argue otherwise. But try adding a human approval step to a Temporal workflow. Something like: agent validates a database migration, then an SRE needs to approve before it runs. What This Looks Like in Temporal @workflow.defn class ApprovalWorkflow: def __init__(self): self.approved = None @workflow.run async def run(self, change): result = await workflow.execute_activity( validate_change, change, start_to_close_timeout=timedelta(minutes=5) ) # Wait for human signal await workflow.wait_condition( lambda: self.approved is not None ) if not self.approved: return {"status": "rejected"} return await workflow.execute_activity( apply_change, change, start_to_close_timeout=timedelta(minutes=10) ) @workflow.signal async def approval_signal(self, approved: bool): self.approved = approved This is the workflow. Now you need: A notification service - Temporal doesn't notify humans. You build email/Slack integration. A UI or API for the hum

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
2 views

Related Articles

Percentage Change: The Most Misused Metric in Data Analysis (And How to Calculate It Correctly)
How-To

Percentage Change: The Most Misused Metric in Data Analysis (And How to Calculate It Correctly)

Medium Programming • 2h ago

I Missed This Claude Setting at First. And It Actually Matters
How-To

I Missed This Claude Setting at First. And It Actually Matters

Medium Programming • 4h ago

Instacart Promo Code: Save on Groceries in March 2026
How-To

Instacart Promo Code: Save on Groceries in March 2026

Wired • 6h ago

How a Switch Actually “Learns”: Demystifying MAC Addresses and the CAM Table
How-To

How a Switch Actually “Learns”: Demystifying MAC Addresses and the CAM Table

Medium Programming • 6h ago

This is the lowest price on a 64GB RAM kit I've seen in months
How-To

This is the lowest price on a 64GB RAM kit I've seen in months

ZDNet • 13h ago

Discover More Articles