7: Run a Process-Description in a Web Browser
The process-description that was developed throughout the previous chapters was executed in the Tester. But the end-user – in our scenario, the clinician using the medical protocol – would eventually access the process-description through the web, and would therefore view the process-description in a web browser.
In this chapter, you’ll run the process-description in a web browser.
To download the process-description created in the previous chapter select File > Load Process Description From Web Repository. If you are logged in, the Load Process Description dialog appears; otherwise, you have to log in (if you don’t have a personal account, use the guest account: User Name = Guest; Password = testpass). Navigate to World\Tutorials and select and load Chapter06_create_a_task_that_re_executes_n_times.
1. Set Up an Enactment Server
In order to run a process-description in a web browser, you have to submit it to a web enactment server.
Select Run > Configure Web Enactment Servers (or click the Configure Web Enactment Servers button on the toolbar ).
The Enactment Servers Configuration dialog appears. Click Add to add a new sever configuration.
In the Add Server Configuration dialog, enter the following information:
URL: | www.openclinical.org |
Application: | newkpc |
Note: The URL is the server on which the process-description will be executed, and the Application is the program that will execute it.
Click OK to confirm the Add Server Configuration dialog.
Note: The first server configuration that is added becomes the default server configuration. It will be the configuration used when running a process-description in a web browser. You can make any configuration the default one by selecting it and clicking Set as Default.
Click OK to confirm the Enactment Servers Configuration dialog.
2. Run the Process-Description in a Web Browser.
To run the current process-description using the default enactment server configuration, select Run > Run in Web Browser (Default Enactment Servers) (or click the Run in Web Browser button on the toolbar ).
Note: To run the current process-description using an enactment server configuration other than the default one, select Run > Run In Web Browser…. The Enactment Servers dialog appears. From the drop-down list box, select the server configuration with which you want to run the process-description, and click Enact.
You can now view the process-description as the end-user clinician would view it.
Note:
- Only one candidate can be committed for the Diagnosis decision.
- A process-description executed in the Tallis Web Enactment completes when there are no more tasks other than plans in_progress.