Previous  Next          Contents  Index  Glossary  Library

Workflow Monitor Access

You can control a user's access to the Workflow Monitor in one of two ways. You can either depend on the workflow-enabled application to control access to the Workflow Monitor or provide direct access to the Find Processes web page.

Application-controlled Access to the Workflow Monitor

Identify within the logic of your application code, the workflow process instance(s) that a user is allowed to view, and whether to run the monitor in 'ADMIN' or 'USER' mode for that user. You must also provide a means in your application's user interface to call a web browser application that supports Java 1.1.4 and AWT and pass it the Workflow Monitor URL that gets returned from the function WF_MONITOR.GeDiagramURL( ). The returned URL will have a hidden password attached that provides the user access to the Workflow Monitor in either 'ADMIN' or 'USER' mode. See: GetDiagramUrl.

Note: In Oracle Applications, you can call the function FND_UTILITIES.OPEN_URL to open a web browser and have it connect to a specified URL. See: FND_UTILITIES:Utility Routine, Oracle Applications Developer's Guide.

Provide Access to the Find Processes Web Page

Another way to access the Workflow Monitor is to pass the Find Processes URL to a web browser that supports Java 1.1.4 and AWT. The Find Processes page requires user authentication before access. Depending on whether Oracle Workflow is configured to use Oracle Self-Service Web Applications or Oracle WebServer security, the user must log in using the appropriate username and password if he or she has not done so for the current browser session. If the user has workflow administrator privileges, the Find Processes web page that appears lets the user search for any workflow process instance. If the user does not have workflow administrator privileges, the Find Processes web page lets the user search for only processes that the user owns, as set by a call to the Workflow Engine SetProcessOwner API. The user can then display the notifications or the process diagram for any of those process instances in the Workflow Monitor. See: Using the Find Processes Web Page.

The Find Processes URL looks similar to the following:

<webagent>/wf_monitor.find_instance

<webagent> is the web agent string that you can retrieve from the WF_WEB_AGENT token in the WF_RESOURCES table by calling WF_CORE.TRANSLATE( ). See: Identifying the Oracle Web Agent used by Oracle Workflow and TRANSLATE.

Note: In Oracle Applications, you can call the function FND_UTILITIES.OPEN_URL to open a web browser and have it connect to a specified URL. See: FND_UTILITIES:Utility Routine, Oracle Applications Developer's Guide.

Note: You can also access the Find Processes web page from the Oracle Workflow home page. See: Accessing the Oracle Workflow Home Page


         Previous  Next          Contents  Index  Glossary  Library