Skip Headers

Oracle Workflow Administrator's Guide
Release 2.6.3.5

Part Number B12160-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

Guest Access from Oracle E-Business Suite Forms

You can provide guest access from an Oracle E-Business Suite application to the Status Monitor by using self-service functions. You can call these functions from an Oracle E-Business Suite form, or add the menus that contain the functions to another menu associated with another responsibility.

The following table lists the functions that provide guest access to the Status Monitor.

Function Description
WF_G_ACTIVITIES Displays the Activity History page for the specified workflow in the administrator version of the Status Monitor.
WF_G_DIAGRAM Displays the Status Diagram page for the specified workflow in the administrator version of the Status Monitor.
WF_SSG_ACTIVITIES Displays the Notification History page for the specified workflow in the self-service version of the Status Monitor.
WF_SSG_DIAGRAM Displays the Status Diagram page for the specified workflow in the self-service version of the Status Monitor.

When you call one of the guest access functions, you must pass the function the following parameters:

Note: Because users are authenticated in guest access, you can call the PL/SQL function WF_FWKMON.IsMonitorAdministrator() to determine whether a the user has administrator privileges based on the workflow administrator setting in the Workflow Configuration page. If you use this function, you should use its result when obtaining both the encrypted access key and the encrypted administrator mode, in order to avoid a discrepancy between these two values. See: IsMonitorAdministrator, Oracle Workflow API Reference.

You can also choose to grant or withhold administrator privileges in the Status Monitor by specifying the administrator mode as Y or N, respectively, regardless of the workflow administrator setting in the Workflow Configuration page.

You can call the function FND_FUNCTION.EXECUTE to execute a guest access function specifying your parameters. See: FND_FUNCTION.EXECUTE, Oracle Applications Developer's Guide.

Note: When you call FND_FUNCTION.EXECUTE, you should use the WFA_HTML.conv_special_url_chars() API to convert any special characters in the parameters you pass to the Status Monitor.

The following code example demonstrates how to execute the WF_G_ACTIVITIES function using FND_FUNCTION.EXECUTE.

itemType := icx_call.encrypt('<your_item_type>'); 

itemKey := icx_call.encrypt('<your_item_key>');

adminMode := wf_fwkmon.isMonitorAdministrator('<user_name>');

wm := wf_fwkmon.getEncryptedAdminMode(adminMode);

wa := wf_fwkmon.getEncryptedAccessKey('<your_item_type>',
'<your_item_key>', adminMode);

FND_FUNCTION.EXECUTE(
FUNCTION_NAME => 'WF_G_ACTIVITIES',
OPEN_FLAG => 'Y',
SESSION_FLAG => 'Y',
OTHER_PARAMS =>
'itemType='||(wfa_html.conv_special_url_chars(itemType))
||'&'||'itemKey='||(wfa_html.conv_special_url_chars(itemKey))
||'&'||'wm='||(wfa_html.conv_special_url_chars(wm))
||'&'||'wa='||(wfa_html.conv_special_url_chars(wa))
||'&'||'retainAM=Y'
||'&'||'fExt=X'
);

See Also

Overview of Form Development Steps, Oracle Applications Developer's Guide

Menus Window, Oracle Applications Developer's Guide

Menu Setup

If you use a guest access function within your responsibility, you must add the menu containing that function to the top-level menu for your responsibility. The WF_G_ACTIVITIES and WF_G_DIAGRAM functions are seeded on the Workflow Guest Monitor Application (WF_G_MONITOR_APPLICATION) menu, and the WF_SSG_ACTIVITIES and WF_SSG_DIAGRAM functions are seeded on the Workflow Guest Self-Service Monitor Application (WF_SSG_MONITOR_APPLICATION) menu.

Note: You cannot add the Status Monitor functions to your menu directly. To include these functions, you must add the Oracle Workflow menu that contains the function you want.

The Workflow Guest Monitor Application menu is seeded on the Workflow Administrator (New) menu (FND_WFADMIN_NEW) associated with the Workflow Administrator Web (New) responsibility. Similarly, the Workflow Guest Self-Service Monitor Application menu is seeded on the Workflow User (New) menu (FND_WFUSER_NEW) associated with the Workflow User Web (New) responsibility.

Migrating to Guest Access Functions

If your application used self-service functions to provide access to the previous version of the Workflow Monitor, you can migrate to the new Status Monitor by replacing the functions you previously called with the appropriate new functions. The following table shows the correspondence between functions for the previous Workflow Monitor and the guest access functions for the new Status Monitor.

Previous Function New Function
FND_WFMON_ADV WF_G_ACTIVITIES
FND_WFMON_DIAGRAM WF_G_DIAGRAM or WF_SSG_DIAGRAM
FND_FNDWFIAS (if called with the ITEM_TYPE, ITEM_KEY, ADMIN_MODE, and ACCESS_KEY parameters) WF_SSG_ACTIVITIES

See Also

Migrating to Standard Access Functions


         Previous  Next          Contents  Index  Glossary



Oracle Logo
Copyright © 2003, 2004, Oracle. All rights reserved.