Class Ruote::Exp::SaveExpression
In: lib/ruote/exp/fe_save.rb
Parent: FlowExpression

Saves the current workitem fields into a variable or into a field.

  save :to_field => 'old_workitem'
    # or
  save :to => 'f:old_workitem'
    #
    # saves a copy of the fields of the current workitem into itself,
    # in the field named 'old_workitem'

  save :to_variable => '/wix'
    # or
  save :to => 'v:/wix'
    #
    # saves a copy of the current workitem in the varialbe 'wix' at
    # the root of the process

See also the ‘restore’ expression (Ruote::Exp::RestoreExpression).

Methods

apply   reply  

Public Instance methods

[Validate]