lib/openwfe/expool/fs_expstorage.rb
#
# Returns the pair dir / filename for an expression.
# If the optional arg join is set to true, will return the full path
# for the expression
#
Returns the pair dir / filename for an expression.
If the optional arg join is set to true, will return the full path
for the expression
Returns the pair dir / filename for an expression . If the optional arg join is set to true will return the full path for the expression
def filename_for (fei, join=false)
      r = if fei.wfid == '0'
        [ @basepath, "engine_environment.#{@suffix}" ]
      else
        [
          dir_for(fei.wfid),
          "#{fei.workflow_instance_id}__#{fei.expression_id}_#{fei.expression_name}.#{@suffix}"
        ]
      end
      join ? "#{r.first}/#{r.last}" : r
    end
def filename_for ( fei , join = false ) r = if fei . wfid == '0' [ @basepath , "engine_environment.#{@suffix}" ] else [ dir_for ( fei . wfid ) , "#{fei.workflow_instance_id}__#{fei.expression_id}_#{fei.expression_name}.#{@suffix}" ] end join ? "#{r.first}/#{r.last}" : r end
Returns the pair dir / filename for an expression.
Returns the pair dir / filename for an expression .
fei
<not_specific>
join
<not_specific>