Skip to main content


Perform activities repeatedly until a condition is true.


<until condition='context.IsApproved="1"'>


Attribute or Element Description Value
condition attribute Required. This expression is evaluated at the end of each pass through the activities in the <until> element. Once true, it stops execution of the <until> element. An expression that evaluates the integer value 1 (if true) or 0 (if false). This expression must use the scripting language specified by the containing <process> element.
name, disabled, xpos, ypos, xend, yend attributes See “Common Attributes and Elements.”  
<annotation> element
Other elements Optional. <until> may contain zero or more of the following elements in any combination: <alert>, <assign>, <branch>, <break>, <call>, <code>, <continue>, <delay>, <empty>, <flow>, <foreach>, <if>, <label>, <milestone>, <reply>, <rule>, <scope>, <sequence>, <sql>, <switch>, <sync>, <throw>, <trace>, <transform>, <until>, <while>, <xpath>, or <xslt>.  


The <until> element defines a sequence of activities that are repeatedly executed until a logical expression evaluates to the integer value 1 (true). The expression is re-evaluated after each loop through the sequence.

To fine-tune loop execution, include <break> and <continue> elements within an <until> element. See the descriptions of these elements for details.

FeedbackOpens in a new tab