Escalating Prompt

An escalating prompt contains multiple prompts sequenced in such a way that the first time the prompt is queued up inside a step, it queues the first prompt in the escalation. If a retry occurs within the step, then the second prompt is queued up instead of the first one, and so on until the last prompt is queued up on the previous attempt at which point it is queued up for all remaining attempts.

An escalation is always reset to the first prompt when the step exits either successfully or in error.

For example, the prompt expression:

P[P1] || P[P2] || TTS[Hello]

represents an escalation prompt that plays P[P1] on the first attempt in a step, P[P2] on the next retry and TTS[Hello] for all other retries in that same step.