Académique Documents
Professionnel Documents
Culture Documents
Objectives
Explain how Oracle Workflow receives information about a role Map Oracle Workflow to your directory repository
Terms
Role
Directory Repository
WF_USERS
WF_ROLES WF_USER_ROLES
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
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
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:
Territory
Email_Address Fax Orig_System Orig_System_ID Expiration_date
WF_USER_ROLES View
WF_USER_ROLES is an intersection of the users and roles in WF_USER and WF_ROLES.
User_Orig_System_ID: Primary key that identifies this user in the user directory repository
Role_Orig_System_ID: Primary key that identifies this role in the role directory repository
WF_LOCAL_USERS
WF_LOCAL_ROLES WF_LOCAL_USER_ROLES
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.
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.
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.