|
Implementing the Transaction Type
To implement the transaction type, you need to specify or create, if required, the
following components of the approval process:
1. Create item-class use (Optional).
Once you have documented the approval processes you want a transaction type to
implement, you can begin implementing the transaction type. The first step is to
register any custom item-class use your transaction type requires.
2. Create transaction attributes (Optional).
In AME, an attribute is a named business variable such as
TRANSACTION_AMOUNT, whose value AME fetches at run time, when it
constructs transactions' approver lists. Only a user with the Application
Administrator responsibility can create or alter attributes (using the Attributes tab),
because doing so generally requires entering or changing an SQL query.
AME includes the attributes commonly required for the transaction type(s) of each
application that can use AME. If your organization has customized an application,
or has defined flexfields in it, and wants to use these in the application's approval
processes, a user with the AME Application Administrator responsibility must
create new attribute names representing the customizations or flexfields, and must
define SQL queries that fetch their values at run time. Business users can only select
from existing attributes, when they create conditions for AME rules.
3. Create conditions (Optional).
In AME, a condition specifies a list or range of attribute values required to make a
rule apply to a transaction. For example:
Example
USD1000 < TRANSACTION_AMOUNT < USD5000
You create and maintain conditions using the Conditions tab.
4. Create approver groups (Optional).
You can create AME rules to include one or more approver groups in a transaction's
approver list. You create and maintain approver groups using the Approver
Groups tab. You must create an approver group before using it in an
approval-group rule. You can also add existing approver groups to an
approval-group rule.
5. Prepare to use the action types.
You add action types to a transaction type using the Action Types tab. The action
types available to use are:
• Predefined action and approver types
AME comes with many predefined action types and actions for them. The
predefined action types currently support three types of approvers: HR
employees (in the HR supervisory hierarchy), HR positions (in the HR position
hierarchy), and Oracle Applications (FND) users. The predefined action types
ascend the HR hierarchies in many different ways.
An action determines which approvers are included in a transaction's approver
list. Typically an action type represents a way to ascend a certain organizational
hierarchy, including in a transaction's approver list an appropriate chain of
authority from the hierarchy; and an approval specifies where the chain starts
and ends. If your organization wishes to require approvals from an
organizational hierarchy that none of AME's predefined action types ascend,
you need to use a custom action type. The procedure to create a custom action
type is detailed within the AME Developers guide.
• Custom action and approver types
AME can support approvers from any originating system registered with
Workflow Directory Services (that is, any entity that can function in Workflow
as an approver). If your organization requires chains of authority structured
differently than those generated by AME's predefined action types, or
approvals from approvers in an originating system that AME does not yet
support, you may elect to code a custom action type. This requires a significant
programming effort (a typical action-type handler PL/SQL package is several
hundred lines of code), and an application administrator must register the
resulting PL/SQL package with AME. You may also have to register the
non-predefined approver type with AME. Currently there is no user interface to
register an approver type; one must do so from the SQL*Plus command line.
We encourage you to request that AME development release a patch
supporting the approver type your organization requires, rather than
registering the approver type yourself.
• Add approvals to existing approval types
Your organization may plan to use AME's predefined action types, but may
require additional actions. For example, the supervisory-level action type comes
with actions for a supervisory hierarchy having at most 10 levels. If your
organization has 15 levels, you must create supervisory-level actions for levels
11-15. An application administrator can add these action types using the actions
tab.
• Preparing to use the Job-Level approval types
If your organization plans to use one of the job-level action types, it must first
assign a job level to each job defined in HRMS (that is, it must first populate the
approval_authority column of the HRMS table per_jobs). Your organization
should also have a business process for maintaining job levels.
6. Define approval rules.
With your item-class use, attributes, conditions, approver groups, action types, and
actions prepared, you can create your approval rules using the Rules tab. Again, an
approvals matrix or decision tree may serve as a convenient checklist.
In AME, an approval rule associates one or more conditions with an approval
action. The rule applies to a transaction if and only if all of the rule's conditions are
true for the transaction.
Each application that can use AME defines one or more transaction types. Each
transaction type has its own set of approval rules. Several transaction types can
share attribute names, while defining separate use for those attribute names. This
makes it possible for several transaction types to share conditions and rules. See:
Using Attributes, page 3-7.
7. Test approval rules.
Once a transaction type has a set of rules, it is critical to test the rules, to ensure they
apply to the proper cases and do not contain logical gaps or inconsistencies. You
can store these test cases to reuse later.
There are three ways to test a transaction type:
• Create a transaction in the integrating application, and use the application's
user interface to view the transaction's approver list.
• Create a transaction in the integrating application, and use AME's Test
Workbench tab to view the transaction's approver list.
• Create a test transaction and view its approver list using AME's Test
Workbench tab.
8. Create custom transaction types.
It is possible to create a custom transaction type from scratch, for instance to use
AME as the approvals engine for a custom application. Transaction-type creation is
beyond the scope of this guide. If your organization wants to create a custom
transaction type, contact Oracle Support and request the Oracle Approvals
Management Developer Guide. Also see: Creating a Transaction Type, page 9-11.
9. Configure Oracle applications to use AME.
An Oracle Application should be configured to use AME only after thoroughly
testing the set(s) of rules defined for that application's transaction type(s) in AME.
Consult the application's user or technical documentation to learn how to configure
the application to use AME. |
|