title: Orbeon 4.5 - How to pass request parameters?
body: <p>We are upgrading from Orbeon 3.9 to 4.5.</p>
  
  <p>In Orbeon 3.9, we were passing request parameters to the send success URI (<code>oxf.fr.detail.send.success.uri</code>) when the user clicks on a custom submit button. We have done this by modifying <code>persistence-model.xml</code>.</p>
  
  <p>Following is the code part which we used in 3.9:</p>
  
  <pre><code>&lt;xforms:model id="fr-persistence-model"
  
      &lt;xforms:instance id="x3params"&gt;
          &lt;data xmlns=""&gt;
              &lt;customerid/&gt;
          &lt;/data&gt;
      &lt;/xforms:instance&gt;
  
      &lt;xforms:action ev:event="xforms-model-construct-done" if="$app != '*' and $form != '*'"&gt;
          &lt;xforms:setvalue ref="instance('g3params')/customerid" value="xxforms:get-request-parameter('customerid')" /&gt;
  
      &lt;xxforms:variable name="g3customerId" as="xs:string" select="instance('g3params')/customerid"/&gt;
  
      &lt;xforms:submission id="fr-workflow-send-submission"
          resource="{$workflow-success-uri}?fr-app={$app}&amp;amp;form={$form}&amp;amp;docid={$document}&amp;amp;customerid={$g3customerId}"
          relevant="{xxforms:property(string-join(('oxf.fr.detail.send.success.prune', $app, $form), '.'))}"
          validate="false" method="{$workflow-success-method}"
          serialization="{if ($workflow-success-method = 'get') then 'none' else 'application/xml'}"
          ref="if (instance('fr-workflow-send-instance') != '') then instance('fr-workflow-send-instance') else xxforms:instance('fr-form-instance')"
          replace="all"/&gt;
  </code></pre>
  
  <p>In Orbeon 4.5, I used the <code>save-final</code> process for a custom submit.</p>
  
  <p>Since <code>fr-workflow-send-submission</code> is removed in 4.5, how can I pass the request parameters to the send success URI?</p>
  
  <p>Following is my properties-local.xml:</p>
  
  <p></p>
  
  <pre><code>&lt;property as="xs:boolean" name="oxf.fr.detail.send.pdf" value="false"/&gt;
  &lt;property as="xs:boolean" name="oxf.fr.email.attach-pdf" value="false"/&gt;
  &lt;property as="xs:anyURI" name="oxf.fr.detail.send.success.uri.Preconstruction.*" value="http://localhost:8080/webapp/new"/&gt;
  &lt;property as="xs:string" name="oxf.fr.detail.send.success.method.*.*" value="post"/&gt;
  &lt;property as="xs:boolean" name="oxf.fr.detail.send.success.prune.*.*" value="false"/&gt;
  </code></pre>