handlers/kinetic_request_submission_build_review_request_url_v2/handler/init.rb
# Builds the URL string by concatenating the application path, review request
# Servlet path, and a query string build from the configured parameter names
# and encoded parameter values.
#
# This is a required method that is automatically called by the Kinetic Task
# Engine.
#
# ==== Returns
# An Xml formatted String representing the return variable results.
Builds the URL string by concatenating the application path, review request
Servlet path, and a query string build from the configured parameter names
and encoded parameter values.

This is a required method that is automatically called by the Kinetic Task
Engine.

Returns
An Xml formatted String representing the return variable results.
Builds the URL string by concatenating the application path review request Servlet path and a query string build from the configured parameter names and encoded parameter values . This is a required method that is automatically called by the Kinetic Task Engine . Returns An Xml formatted String representing the return variable results .
def execute()
    if @configurations['configuration_type'] == 'Simple'
      csrv = encode_url_parameter(@parameters['csrv'])
      url = "#{@configurations['application_path']}ReviewRequest?csrv=#{csrv}"
    else
      parameter_strings = @parameters.collect {|name, value|
        "#{name}=#{encode_url_parameter(value)}" unless value.nil?
      }.compact
      url = "#{@configurations['application_path']}ReviewRequest?#{parameter_strings.join('&')}"
    end
    <<-RESULTS
    <results>
      <result name="URL">#{escape(url)}</result>
    </results>
    RESULTS
  end
def execute ( ) if @configurations [ 'configuration_type' ] == 'Simple' csrv = encode_url_parameter ( @parameters [ 'csrv' ] ) url = "#{@configurations['application_path']}ReviewRequest?csrv=#{csrv}" else parameter_strings = @parameters . collect { | name , value | "#{name}=#{encode_url_parameter(value)}" unless value . nil? } . compact url = "#{@configurations['application_path']}ReviewRequest?#{parameter_strings.join('&')}" end <<-RESULTS 
    <results>
      <result name="URL"> #{ escape ( url ) } </result>
    </results>
     RESULTS end
Builds the URL string by concatenating the application path, review request
Servlet path, and a query string build from the configured parameter names
and encoded parameter values.
Builds the URL string by concatenating the application path review request Servlet path and a query string build from the configured parameter names and encoded parameter values .
# If we are using the simple review request configuration # Encode the csrv, this will ensure that any '#' characters in the # InstanceId are escaped. # Concatenate the application path, review request Servlet path, and the # encoded InstanceId of the desired submission # If we are using the advanced review request configuration # Build up the HTTP parameter name/value pair Strings # Each parameter pair String maps the parameter to the encoded parameter # value.  It is important to encode the value so that special characters # (such as '#' or '&') don't modify the intended meaning of the URL. # Build up the URL # Return the results String