How to redirect to another web interface
When you open a web interface, the url looks like:
https://live.runmyprocess.com/live/${customer_id}/appli/${app_id}?P_mode=TEST
or
https://live.runmyprocess.com/live/${customer_id}/appli/${app_id}?P_mode=LIVE
or
https://live.runmyprocess.com/live/${customer_id}/appli/${app_id}
P_mode indicates if you want to open the web interface and its associated processes in TEST mode or LIVE mode.
4 different cases:
- The project has a version in LIVE and the web interface is part of this version
- ?P_mode=LIVE will open the web interface in LIVE
- ?P_mode=TEST will open the web interface in TEST
- if there's no P_mode, default will be LIVE
- The project has a version in LIVE and the web interface is not part of this version
- ?P_mode=LIVE will lead to an error message : The resource appli 'my web interface' of the project 'my project' doesn't exist in the version 'my version'
- ?P_mode=TEST will open the web interface in TEST
- if there's no P_mode, it will lead to an error message : The resource appli 'my web interface' of the project 'my project' doesn't exist in the version 'my version'
- The project has a version in TEST
- ?P_mode=LIVE will lead to an error message : No production version found for appli 'my web interface'
- ?P_mode=TEST will open the web interface in TEST
- if there's no P_mode, it will lead to an error message : The resource appli 'my web interface' of the project 'my project' doesn't exist in the version 'my version'
- There is no version on the project
- ?P_mode=LIVE will lead to an error message : No production version found
- ?P_mode=TEST will open the web interface in TEST
- if there's no P_mode, default will be TEST
Please give details of the problem