เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Replace nested Conditions with a Switch

Theo's flow has grown a nested Condition for each possible Contracts Status - Active, Pending Review, Expired. The code is hard to read and the logic is getting tangled. A Switch is the right tool when you're routing on a single value across multiple cases.

Replace the nested Conditions with a Switch on the Contracts row's Status column. Add a Default case to catch any future status the flow doesn't yet handle - silence on an unexpected value is the worst outcome.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Intermediate Power Automate

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำจริง

เปลี่ยนทฤษฎีให้เป็นการลงมือทำด้วยแบบฝึกหัดเชิงโต้ตอบหนึ่งในของเรา

เริ่มแบบฝึกหัด