Skip Headers
Oracle Workflow Administrator's Guide
Release 2.6.3.5
Part Number B12160-02
|
|
|
|
|
|
|
|
|
Previous |
Next |
|
Contents |
Index |
Glossary |
Testing Guest Access
You can test guest access from an Oracle Applications Framework-based Web page to the Status Monitor in the Programmatic Access page. Guest access provides tightly coupled access to a freestanding Status Monitor page for a particular workflow, without access to the rest of the Oracle Workflow application.
To Test Guest Access
1. Use a Web browser to log on to a responsibility specified by your system administrator and choose the Programmatic Access link.
2. Select the Test "Guest" Access link.
3. In the Test "Guest" Access region, enter the test options you want. Each option corresponds to a method parameter for the method in the oracle.apps.fnd.wf.monitor.webui.Monitor class that is being simulated. See: Guest Access in Java.
The test options include:
- Item Type - Enter the internal name of the workflow item type to automatically query in the Status Monitor.
- Item Key - Enter the item key to automatically query in the Status Monitor.
- First Page - Specify the Status Monitor page that you want to initially display.
- HISTORY - Activity History page in the Administrator Monitor or Notification History page in the Self-Service Monitor
- DIAGRAM - Status Diagram page
- RESPONSES - Participant Responses page
If you leave the First Page field blank, this option defaults to HISTORY.
- Retain Calling AM - Specify true or false to indicate whether to retain the calling application module when calling a Get URL method. If you enter true, retainAM=Y is appended to the URL; if you enter false, retainAM=N is appended to the URL.
- Administrator Mode - Specify a value to indicate whether the user should have privileges to perform administrative operations when accessing the Status Monitor.
- Y - The user is granted administrator privileges, regardless of whether the user belongs to the workflow administrator role or not.
- N - The user is not granted administrator privileges, regardless of whether the user belongs to the workflow administrator role or not.
- U - Oracle Workflow checks whether the user belongs to the workflow administrator role as specified in the Workflow Configuration page and grants administrator privileges accordingly.
If you leave the Administrator Mode field blank, this option defaults to N.
4. Select the test action you want to perform.
- Get Advanced Monitor URL - Corresponds to a call to the Java method Monitor.getGuestAdvanceUrl( ). This call returns a URL for the Administrator Monitor page specified by the test options in the following format, suitable for use within an Oracle Applications Framework application page:
/OA_HTML/OA.jsp?OAFunc=[parameters...]
For example, you can set this URL as a destination link on an OAWebBean using the call <OAFrameworkBean>.setDestination(String url).
The parameter retainAM=Y or retainAM=N is appended to the URL depending on the value you specified for the Retain Calling AM option.
When you perform this action, Oracle Workflow retrieves a URL according to the test options using Monitor.getGuestAdvanceUrl( ) and displays that URL as a hyperlink in a text message bean. To navigate to the Status Monitor, select the link.
- Get Simple Monitor URL - Corresponds to a call to the Java method Monitor.getGuestSimpleUrl( ). This call returns a URL for the Self-Service Monitor page specified by the test options in the following format, suitable for use within an Oracle Applications Framework application page:
/OA_HTML/OA.jsp?OAFunc=[parameters...]
For example, you can set this URL as a destination link on an OAWebBean using the call <OAFrameworkBean>.setDestination(String url).
The parameter retainAM=Y or retainAM=N is appended to the URL depending on the value you specified for the Retain Calling AM option.
When you perform this action, Oracle Workflow retrieves a URL according to the test options using Monitor.getGuestSimpleUrl( ) and displays that URL as a hyperlink in a text message bean. To navigate to the Status Monitor, select the link.
- Redirect to Advanced Monitor - Corresponds to a call to the Java method Monitor.redirectToGuestAdvUrl( ). When you perform this action, Oracle Workflow redirects you to the Status Monitor as specified by the test options.
- Redirect to Simple Monitor - Corresponds to a call to the Java method Monitor.redirectToGuestSimpleUrl( ). When you perform this action, Oracle Workflow redirects you to the Status Monitor as specified by the test options.
5. Select the Perform "Guest" Action button.
Copyright © 2003, 2004, Oracle. All rights reserved.