The Redirect action allows redirecting to another external or internal web page. CONTENTS |
Parameters
- URL template
- An already stored URL-Template or the direct input of the URL can be selected.
- URL
- Input of a URL, if Direct input of URL was selected as URL template. The use of Variables is possible.
- Additional URL parameters
- URL parameters can be set for this URL to be used to call the action.
The redirection happens only after all actions have been processed. If after this action still other actions were executed, which execute a forwarding, then only the last forwarding is executed.
For example, if another action of type HTML response page was set after this action that redirects to the selected final page, the user will be redirected to this final page at the end of the action processing.
Action variables
Actions of type Redirect provide Action variables which can be used in subsequent actions.
Standard action variables
- [%$<action name>.SUCCESS%]
- Return whether action was successfully executed. Returns Boolean (true/false).
- [%$<action name>.RESULT%]
- Return all results provided by the action in structured form.
- [%$<action name>.ERROR_CODE%]
- The error code thrown in case of an error in the action. Empty if no error occurred.
- [%$<action name>.ERROR_MESSAGE%]
- The thrown error message in the action's error case. Empty if no error occurred.
Action specific action variables
- [%$<action_name>.RESULT.host%]
- The hostname of the returned URL.
- [%$<actionname>.RESULT.path%]
- The path of the returned URL.
- [%$<action name>.RESULT.port%]
- The port number of the returned URL, or -1 if unspecified.
- [%$<actionname>.RESULT.protocol%]
- The protocol of the returned URL.
- [%$<actionname>.RESULT.host%]
- The URL parameters of the returned URL.
- [%$<actionname>.ERROR.message%]
- Error message returned if the specified URL does not match a valid format or if no URL template could be supplied to perform the action.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article