Class OpenWFE::LoopExpression
In: lib/openwfe/expressions/fe_cursor.rb
Parent: CursorExpression

The ‘loop’ expression is like ‘cursor’ but it doesn‘t exit until it‘s broken (with ‘break’ or ‘cancel’).

    <loop>
        <participant ref="toto" />
        <break if="${f:done} == true" />
    </loop>

or, in a Ruby process definition :

    _loop do
        participant "toto"
        _break :if => "${f:done} == true"
    end

(notice the _ (underscores) to distinguish the OpenWFEru expressions from the native Ruby ones).

Methods

is_loop  

Public Instance methods

Returns true as, well, it‘s a loop…

[Source]

     # File lib/openwfe/expressions/fe_cursor.rb, line 239
239:         def is_loop
240: 
241:             true
242:         end

[Validate]