This is the documentation for ConfiForms Server/Data Center app
However, this might also work for ConfiForms cloud and in most cases it does. But please see this page to understand the differences between server and cloud versions of the ConfiForms app.
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.
Form in EDIT mode
Form in VIEW mode
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
If you are looking at what else can be done with redirects, check here Redirect to a created with IFTTT page
This small tutorial shows how to use a result from IFTTT macro to use in redirect parameters. Obviusly, you can combine the two - create a page with IFTTT, save result into the ConfiForms record and then us ethe concept described in the tutorial above to create a correct redirect
Any content page in Confluence can be accessed via it's ID