Managing Process urls

The urls management processes used to modify the way in which you can access each of the processes for execution. To perform this administration should right-click on the name of the listing process in the Inspector panel, and then select the "Manage URLs" option, this opens a window called "Manage URLs Window", the following figure shows the window as seen :






As can be seen in the figure above three fields called: Alias, and Remote CLI. The Alias ​​option is selected by default, however you can choose any other option &oacaute; n hitting the button for each radio. Each option has a specific function:

Alias: Create an alternative name for the process is mainly used to shorten the url and make it more simple. To create an alias just simply choose the alias option in the "Manage URLs Window" and enter a text for the alias eg process1. Then click on the "Add URL" button.

The default URL to which the processes can be invoked in the development environment has the following notation:


 http://[yourdomain]/[sistev_process]/index.php/execute/preview/[project_ID]/[process_ID]/  

Using the Alias ​​option can shorten the url to something like this:


 http://[yourdomain]/[sistev_process]/index.php/[alias]/  

Note: In the above examples the [sistev_process] refers to the directory where your copy of SistevProcess installed on your local server or web server.

Thus if we have a url like the following example:


 http://localhost/My_Project_1223455/index.php/execute/preview/project_1381958569/process_1381958581045/  

Using the alias option "Manage URLs Window" window the url example might be as follows:


 http://localhost/My_Project_1223455/index.php/process1/  

Note: There may be 2 same alias in the same facility SistevProcess, so for example if you have an alias called "process1" in a project, you can not use that alias in any process of any project.

Remote: With this option you can create a url to run the process from a remote location as another server, or from your laptop or cell phone. To do this you must know the IP address of the device to run the process and add the field called "IP", then you click on the "Add URL" button. This option is useful for creating distributed systems, automatic cascade processes, remote process control, etc.

CLI: With this option you can create a url to run the process from the server console, this is useful to run background processes. To add a url to run the console you just choose the CLI option "Manage URLs Window", and enter a password to give security to the process in May.


Note: To run a console process should create a mechanism to call on PHP and the url created, this process varies by operating system using the Server.

No hay comentarios:

Publicar un comentario