พื้นฐานการอนุมัติ: Start และ wait

Power Automate ระดับกลาง

Dani Kahil

Solution Architect | Microsoft MVP

ทำไมต้องหยุดโฟลว์เพื่อรอคน?

nanobanana: A clean flat minimalist illustration on a pure white background. A horizontal Power Automate flow runs left to right with three rectangular action steps connected by arrows. The middle step is replaced with a large pause icon in DataCamp green — two vertical bars inside a rounded square. Above the pause icon, a small Outlook envelope icon hovers, suggesting an email is sent while the flow waits. No labels, no other elements. Flat 2D, no shadows.

 

  • การอนุมัติจะหยุดโฟลว์ไว้จนกว่าคนจะตอบกลับ
  • การตัดสินใจที่มีความเสี่ยงสูงไม่ควรทำงานอัตโนมัติ
  • คอนเนกเตอร์ส่งอีเมลและรอคำตอบให้เอง ไม่ต้องต่อวงจรเพิ่ม
Power Automate ระดับกลาง

โครงสร้างของ Start and wait

 

Start and wait for an approval action expanded in the Power Automate designer, showing the Approval type dropdown, Title, Assigned to, Details, and Item Link fields

 

  • Approval type - แบบไบนารีหรือแบบกำหนดเอง
  • Assigned to - อีเมลของผู้อนุมัติ
  • Title, Details, Item Link - สิ่งที่ผู้อนุมัติเห็น
Power Automate ระดับกลาง

สิ่งที่ผู้อนุมัติเห็นจริง

$$

Outlook actionable approval email rendering showing Title, Details, Item Link, and embedded Approve and Reject buttons inline

 

  • Title + Details แสดงในเนื้อหาอีเมล
  • Item Link เปิดระเบียนข้อมูล (PDF สัญญา)
  • ปุ่ม Approve / Reject ส่งคำตอบได้โดยไม่ต้องออกจาก Outlook
Power Automate ระดับกลาง

Outcome: กับดักตัวพิมพ์เล็ก-ใหญ่

$$

mermaid: outcome casing trap

 

  • Outcome เป็นสตริง - 'Approve' หรือ 'Reject'
  • ขึ้นต้นด้วยตัวพิมพ์ใหญ่ A และ R เสมอ
  • การเปรียบเทียบด้วยตัวพิมพ์เล็กจะเงียบๆ ไปเป็น False
Power Automate ระดับกลาง

ตำแหน่งการอนุมัติในโฟลว์

mermaid: green-navy: Condition splits flow on value; high-value branch uses approval, low-value sends email directly

 

  • การต่ออายุมูลค่าต่ำไม่จำเป็นต้องมีคนในวงจร
  • การอนุมัติอยู่บนสาขาที่มีความเสี่ยงสูง
  • การอนุมัติ 1 ครั้ง = Condition ถัดไป 1 ครั้งที่ตรวจสอบ Outcome
Power Automate ระดับกลาง

มาฝึกกันเถอะ!

Power Automate ระดับกลาง

Preparing Video For Download...