Watch the explanation. Practice the skill.

Create procedures with exceptions and recovery

Write a procedure that handles missing inputs and exceptions.

Visual lesson1:43

Captions appear here during playback.

Create procedures with exceptions and recovery

Write a procedure that handles missing inputs and exceptions.

Download transcriptOpen video file

Source-based teaching example · Fictional data · Reviewed 2026-10-03. Microsoft Mark · locally synthesized. On a small screen, use fullscreen for diagram details or read the transcript.

Read the descriptive transcript

0:00 · What you will learn

Write a procedure that handles missing inputs and exceptions.

What appears on screen

Write a procedure that handles missing inputs and exceptions.

0:06 · The idea

Start with the supplied rule. Explain what happens when required information is missing. Mark suggested additions as proposals rather than established policy.

What appears on screen

Start with the supplied rule. Explain what happens when required information is missing. Mark suggested additions as proposals rather than established policy.

0:19 · One useful term

Exception path. The steps to follow when normal conditions are not met.

What appears on screen

The steps to follow when normal conditions are not met.

0:27 · A worked example · 1

Training requests need a course title and supervisor approval. Approved requests are logged; missing approval sends the request back. No payment is authorized.

What appears on screen

Training requests need a course title and supervisor approval. Approved requests are logged; missing approval sends the request back. No payment is authorized.

0:41 · A worked example · 2

A new duplicate-handling rule needs review.

What appears on screen

A new duplicate-handling rule needs review.

0:46 · Your turn to think

Can a suggested improvement be presented as an existing approved rule? Pause and decide before continuing.

What appears on screen

Can a suggested improvement be presented as an existing approved rule? Pause the video if you need more time.

1:04 · Why this answer works

No. Label it proposed. Keep required confirmations, identity checks and unresolved problems visible.

What appears on screen

No. Label it proposed. Keep required confirmations, identity checks and unresolved problems visible.

1:15 · Check 1

Preserve the controlling rule.

What appears on screen

Preserve the controlling rule.

1:20 · Check 2

Include a stop or return path.

What appears on screen

Include a stop or return path.

1:25 · Check 3

Distinguish proposed changes from approved policy.

What appears on screen

Distinguish proposed changes from approved policy.

1:31 · Now try a different case

Open the lesson and try its different practice case. Use every check in the full task. Watching alone does not mark the lesson complete.

What appears on screen

Open the lesson Try the new case Check and revise The full task and its requirements are in the linked lesson.

Watching explains the example. Complete the lesson practice to check what you can do. Explore all visual lessons →