Vous êtes sur la page 1sur 16

Overview of the Workflow Directory Service

Copyright Oracle Corporation, 2000. All rights reserved.

Objectives

After this lesson, you should be able to:

Explain how Oracle Workflow receives information about a role Map Oracle Workflow to your directory repository

Copyright Oracle Corporation, 2000. All rights reserved.

Terms

Role
Directory Repository

Copyright Oracle Corporation, 2000. All rights reserved.

Directory Service Views


WF_USERS
WF_ROLES WF_USER_ROLES

Copyright Oracle Corporation, 2000. All rights reserved.

WF_USERS View
Columns in WF_USERS contain the following information: Name: Internal name of a user

Display Name: Display name of a user Description: Description of a user Notification Preference: A value of MAILTEXT, MAILATTH, MAILHTML, QUERY or SUMMARY to indicate how user prefers to receive notifications Language: NLS_LANGUAGE initialization parameter that specifies the default languagedependent behavior Territory: NLS_TERRITORY initialization parameter that specifies the default language-dependent date and numeric formatting used

Copyright Oracle Corporation, 2000. All rights reserved.

WF_USERS View (continued)

Email_Address: Valid email address for the user or mail distribution list
Fax: A fax number for the user Orig_System: Name identifying the base tables of this view Orig_System_ID: Primary key that identifies this user in the base tables Status: ACTIVE, EXTLEAVE, INACTIVE, TMPLEAVE are the status choices Expiration_date: Date at which the user is no longer valid in the directory service

Copyright Oracle Corporation, 2000. All rights reserved.

WF_ROLES View
Workflow roles can be roles, positions or responsibilities referenced in a directory repository. The columns in WF_ROLES are similar to those in WF_USERS view:

Name Display Name Description Notification Preference Language

Copyright Oracle Corporation, 2000. All rights reserved.

WF_ROLES View (continued)


Territory
Email_Address Fax Orig_System Orig_System_ID Expiration_date

Copyright Oracle Corporation, 2000. All rights reserved.

WF_USER_ROLES View
WF_USER_ROLES is an intersection of the users and roles in WF_USER and WF_ROLES.

User_Name: Internal name of the user as listed in WF_USERS view


User_Orig_System: Name assigned to the directory repository that WF_USERS is based on

User_Orig_System_ID: Primary key that identifies this user in the user directory repository

Copyright Oracle Corporation, 2000. All rights reserved.

WF_USER_ROLES View (continued)

Role_Name: Internal name of the user as listed in WF_ROLES view


Role_Orig_System: Name assigned to the directory repository that WF_ROLES is based on

Role_Orig_System_ID: Primary key that identifies this role in the role directory repository

Copyright Oracle Corporation, 2000. All rights reserved.

Oracle Workflow Local Tables


WF_LOCAL_USERS
WF_LOCAL_ROLES WF_LOCAL_USER_ROLES

Copyright Oracle Corporation, 2000. All rights reserved.

Implementing Global User Preferences


Interaction with Oracle Workflow


Access to the Global Preferences Web page Override a default user preference

Copyright Oracle Corporation, 2000. All rights reserved.

User Preference Information

Copyright Oracle Corporation, 2000. All rights reserved.

Ad Hoc Users/Roles

You can create and manage ad hoc users and roles in a workflow process.
Use server PL/SQL APIs to dynamically create new user and role definitions in the directory service. The new APIs store the information in the WF_LOCAL_* tables. The WF_USERS and WF_ROLES views use the EXPIRATION_DATE.

WF_LOCAL_USER_ROLES keeps track of the originating system of the users and roles.

Copyright Oracle Corporation, 2000. All rights reserved.

Directory Service for Oracle Applications

Oracle Workflow ships a unified directory service for Oracle Applicationswfdirhrv.sql. The unified directory service maps:
WF_USERS to Oracle HRMS employees, Oracle Application/Oracle Self-Service Application users, Oracle Receivables customer contacts and WF_LOCAL_USERS. WF_ROLES to users in WF_USERS, Oracle HRMS positions, Oracle Federal HR group boxes, Oracle Applications responsibilities, Oracle Engineering approval lists, and WF_LOCAL_ROLES.

Copyright Oracle Corporation, 2000. All rights reserved.

Directory Services for Oracle Workflow Standalone Version

Two sample Directory Services scripts are located in the Oracle Workflow sql subdirectory:
wfdirouv.sql maps workflow users and roles to the native users and roles defined in the Oracle RDBMS. wfdircsv.sql maps workflow users and roles to the users and roles stored in the Oracle Workflow local tables.

Copyright Oracle Corporation, 2000. All rights reserved.

Vous aimerez peut-être aussi