In ConfiForms you can setup redirect URLs to be used when a record is saved. This behavious is decoupled from a Form configuration and is set up via ConfiForms Registration Control macro.

And as one ConfiForms Form might have multiple ConfiForms Registration Controls pointing at it - you can set up different redirects.

 

Here is the storage format for the ConfForms Form (we have Registration Control together with the form, to simplify the example)

<ac:structured-macro ac:macro-id="adc3b1c7-9eea-4268-9070-f4532386d1af" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">redirectForm</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="f72c29b9-3540-483d-abdb-ee035f0402e3" ac:name="confiform-entry-register" ac:schema-version="1">
        <ac:parameter ac:name="redirectUrl">https://wiki.vertuna.com/pages/editpage.action?pageId=[entry.selectedpage.id]</ac:parameter>
        <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
        <ac:rich-text-body>
          <p> </p>
        </ac:rich-text-body>
      </ac:structured-macro>
      <ac:structured-macro ac:macro-id="dae7190a-a29c-4494-906d-740c822e2ef2" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">selectedpage</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Selected Page to Edit</ac:parameter>
        <ac:parameter ac:name="type">page</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

The form contains one field to select a page you want to edit

The field we hold this info is called "selectedPage"

So the code for "Redirect URL" in ConfiForms Registration Control is

https://wiki.vertuna.com/pages/editpage.action?pageId=[entry.selectedpage.id]

It points to the value of the selected page, and as the object held in a page field is a "complex object" - we have all the info related to this page available for us

More about field types and values held can be found here Accessing field values and properties