lib/rep/launchitems.rb
# Builds a launchitem from the request parameters (html form)
#
Builds a launchitem from the request parameters (html form)
Builds a launchitem from the request parameters ( html form )
def parse_launchitem_form (x)
      url = request.params['pdef_url']
      pdef = request.params['pdef']
      fields = json_parse(request.params['fields'])
      if pdef && pdef.strip != ''
        li = OpenWFE::LaunchItem.new pdef
      else
        li = OpenWFE::LaunchItem.new
        li.workflow_definition_url = url
      end
      li.attributes.merge! fields
      li
    end
def parse_launchitem_form ( x ) url = request . params [ 'pdef_url' ] pdef = request . params [ 'pdef' ] fields = json_parse ( request . params [ 'fields' ] ) if pdef && pdef . strip != '' li = OpenWFE :: LaunchItem . new pdef else li = OpenWFE :: LaunchItem . new li . workflow_definition_url = url end li . attributes . merge! fields li end
Builds a launchitem from the request parameters (html form)
Builds a launchitem from the request parameters ( html form )
x
<not_specific>