Configuring and Extending HCM Using Autocomplete Rules
Configuring and Extending HCM Using Autocomplete Rules
Configuring and Extending HCM Using Autocomplete Rules
Cloud HCM
22D
Oracle Fusion Cloud HCM
Configuring and Extending HCM Using Autocomplete Rules
22D
F61770-03
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected
by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate,
broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report
them to us in writing.
If this is software, software documentation, data (as defined in the Federal Acquisition Regulation), or related documentation that is delivered to the
U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed, or
activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or
accessed by U.S. Government end users are "commercial computer software," "commercial computer software documentation," or "limited rights
data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction,
duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any
operating system, integrated software, any programs embedded, installed, or activated on delivered hardware, and modifications of such programs),
ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the
applicable contract. The terms governing the U.S. Government's use of Oracle cloud services are defined by the applicable contract for such services.
No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for
use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware
in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe
use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle®, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks
or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMD logo are trademarks or registered trademarks of Advanced Micro
Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle
Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and
services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible
for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable
agreement between you and Oracle.
Oracle Fusion Cloud HCM
Configuring and Extending HCM Using Autocomplete Rules
Contents
2 Autocomplete Rules 7
Considerations for Rule Designing ............................................................................................................................................. 7
How You Analyze a Requirement ............................................................................................................................................... 8
Rule Designing ................................................................................................................................................................................ 9
Best Practices for Defining Autocomplete Rules ................................................................................................................... 33
FAQs for Autocomplete Rules ................................................................................................................................................... 34
Goals ............................................................................................................................................................................................... 88
Payroll ............................................................................................................................................................................................ 101
Person ............................................................................................................................................................................................ 122
Profile ............................................................................................................................................................................................. 155
Recruiting ..................................................................................................................................................................................... 159
Salary ............................................................................................................................................................................................. 168
Succession Plans ......................................................................................................................................................................... 178
Talent Review Meeting .............................................................................................................................................................. 186
Workforce Structures ................................................................................................................................................................. 190
FAQs for Business Objects in Autocomplete ....................................................................................................................... 202
Get Help
There are a number of ways to learn more about your product and interact with Oracle and other users.
Get Support
You can get support at My Oracle Support. For accessible support, visit Oracle Accessibility Learning and Support.
Get Training
Increase your knowledge of Oracle Cloud by taking courses at Oracle University.
i
Oracle Fusion Cloud HCM Get Help
Configuring and Extending HCM Using Autocomplete Rules
ii
Oracle Fusion Cloud HCM Chapter 1
Configuring and Extending HCM Using Autocomplete Rules Introduction to Autocomplete Rules
All customers and implementation partners are required to submit their use cases for pre-approval to Oracle. Oracle can
then assist you with implementing the approved use cases, and give you instructions, tips and techniques, and access
to Oracle Partner Network and Oracle Support.
You need to create and enable the HCM_BUSINESS_RULES_EDITOR_ENABLED profile option to enable the
Autocomplete Rules tool in the HCM Experience Design Studio. To complete the setup tasks, users must be provisioned
with the IT Security Manager role.
1. Navigate to the Setup and Maintenance work area and search for the Manage Profile Options task.
2. Create the HCM_BUSINESS_RULES_EDITOR_ENABLED profile option.
3. Enter Business Rules Editor Pages Enabled in the Profile Display Name field.
4. Select Global Human Resources for the Application and Module.
5. Enter a description, such as Enable the Autocomplete Rules pages.
6. Specify the start date, such as 01/01/1950
7. Click Save and Close.
8. Navigate to the Setup and Maintenance work area and search for the Manage Administrator Profile Values task.
9. Search for the HCM_BUSINESS_RULES_EDITOR_ENABLED profile option.
10. Click the Add icon in the Profile Value section.
11. Set the Level to Site.
12. Copy and paste the key provided by Oracle in the Profile Value field.
13. Click Save and Close.
With the Transaction Design Studio, Oracle delivered a capability to tailor the user experience in terms of fields and
sections to show, hide, or mandate based on the action criteria. Autocomplete Rules, which is also a part of the HCM
Experience Design Studio takes the user experience to the next level by allowing customers to define very specific
1
Oracle Fusion Cloud HCM Chapter 1
Configuring and Extending HCM Using Autocomplete Rules Introduction to Autocomplete Rules
criteria for defaulting and validation across its suite of products. The need for customer-specific defaulting and
validation arises because of these reasons:
• The underlying data model that supports the application is the same for all customers.
• Every business is unique and has its own requirements to enforce rules governing implementation of the
application.
Using Autocomplete Rules, you can default values and validate info entered in fields in the supported mobile-responsive
flows only.
Watch video
Note: This tool has nothing to do with the autocomplete function in a list of values that's used to complete search
text as you type.
The major drivers for defaulting or validation are business processes, localizations, company policies, and statutory
requirements. The implementation is driven by rules authored in a logical scripting environment, which can be
configured according to your requirements.
Autocomplete Rules is a Data Model Layer Extensibility framework unlike the Transaction Design Studio or Page
Composer, which are both user interface (UI) driven. Autocomplete Rules has no direct knowledge of the UI and is
driven by the state of values in various fields of different objects. The tool leverages the advantages of the Data Model
Layer Extensibility framework. The framework enables you to use different criteria to default or validate, anywhere in a
guided flow or static setup data.
2
Oracle Fusion Cloud HCM Chapter 1
Configuring and Extending HCM Using Autocomplete Rules Introduction to Autocomplete Rules
You author rules using guided logical coding or scripting. Autocomplete then generates a more complex code for
the Applications Data Framework (ADF) Business Objects Editor framework to interpret and execute the rules. The
performance and behavior of a custom rule is similar to an out-of-the-box Oracle-delivered rule.
Defaulting Capabilities
You can specify your own default values for various fields..The criteria is either visible or hidden values in other fields in
the same section or in previously accessed sections. These values may be "in-flight" as the transaction isn't submitted
yet, or static values such as the previous state of assignment before the current change. The criteria fields can be any of
the commonly used Workforce Structure setup objects. predefined, or extensible flexfields.The default value appears as
an automatically filled out value based on your specific rule in the UI.
Validation Capabilities
You can leverage the extensive criteria available and relevant to the current context while validating fields. A validation
can be a warning message before proceeding or an error message. These messages appear in the same window along
with the out-of-the-box error messages.
3
Oracle Fusion Cloud HCM Chapter 1
Configuring and Extending HCM Using Autocomplete Rules Introduction to Autocomplete Rules
For Defaulting
If data is defaulted out-of-the-box, Autocomplete Rules may not be able to override the application defaults.
For Validation
All rules from both, the application and Autocomplete Rules, are triggered. The resulting warning and error messages
are both displayed in the same window. Transaction must be validated by the application and Autocomplete Rules to be
considered complete..
In Autocomplete Rules, all active rules for a same field are triggered simultaneously, then the resulting error or warning
messages rules are displayed at the same time. For example, if you define 2 validation rules for the department:
When you change the department in a Promote flow, then both error messages are displayed because the location may
be updated on change of a department.
Shows validation messages Shows validation messages Validation messages from Autocomplete Rules
and the application need to be addressed to
proceed.
Shows validation messages Doesn't show validation messages Validation messages from Autocomplete Rules
need to be addressed to proceed.
Doesn't show validation messages Shows validation messages Validation messages from application need to
be addressed to proceed.
Doesn't show validation messages Doesn't show validation messages The transaction is complete because it's
validated by both, Autocomplete Rules and the
application.
4
Oracle Fusion Cloud HCM Chapter 1
Configuring and Extending HCM Using Autocomplete Rules Introduction to Autocomplete Rules
Alternatively, you can provide access to your administrator to test the rules, so you don't have to publish the sandbox.
Related Topics
• Create and Activate Sandboxes
However, you can't migrate a rule from one sandbox of an environment to another sandbox of the same or different
environment. You have to manually recreate the rule in the new environment. Also, note that when migrating the rules
using CSM, any direct or indirect reference to IDs will be blanked out if the given reference entity is manually created in
the new environment and not carried over by P2T.
For example, if the rule references a location either in a condition or default assignment by using the LOV selector, the
corresponding ID associated with the location name or code in the UI is used. If this ID is different in the source and
target environments, then the selection will be blanked out in the target environment. You have to manually edit the rule
and reselect the name or code from the editor to reference the new ID in the back end.
5
Oracle Fusion Cloud HCM Chapter 1
Configuring and Extending HCM Using Autocomplete Rules Introduction to Autocomplete Rules
6
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
2 Autocomplete Rules
Considerations for Rule Designing
Look at the existing functionality and analyze your requirements before creating an autocomplete rule. Analyze whether
Autocomplete Rules can help meet your requirements sub optimally or totally.
Not every requirement that reads like ensure, default, validate, prevent, don't allow, or synchronize can be met using
Autocomplete Rules. These are the things to consider:
Requirement Parsing
Highlight specific words in the requirement you want coded and determine the sample values in the object field. Think
about the UIs where you want to see the effect of the defaulting or validation rule. This isn't explicitly specified in the
requirement. Also, consider some implicit criteria such as only for a given user role. These implicit requirements are
used more in validations rather than defaults. Let's look at some examples:
• Allow transfers only on the 1st or 16th of a future month for US employees and no transfers in November and
December. - This answers the question: What data am I validating?
• Employees on leave of absence can't be terminated. - This answers the question: What fields am I validating?
If you can't identify the fields, identify the section where you want the rule to trigger. If you can't identify the section,
then it may not be feasible to implement an autocomplete rule. For example, implementing the rule, Don't Allow
Withdrawal of Termination, may not be possible because Reverse Termination is a button on a page that doesn't involve
any field or section.
You also need to look at out-of-the-box delivered default values or validations. In some cases, if a field is defaulted out-
of-the-box, Autocomplete Rules can't override it with a customer-specific rule-based value.
User Experience
The second part of the requirement is to focus on the user experience. This is critical for determining the feasibility. You
need to focus on the guided process flow in the responsive UIs when determining the user experience. Autocomplete
Rules can execute a specified validation, but the validation is triggered only when the transaction is submitted and
doesn't allow the user to go back and edit. A point to note is that the validation is triggered in these scenarios.
This helps in deciding the rule type to use and the execution of the rule. After understanding operation of the data
model elements and the UI, you may have to change your requirement to something sub-optimal, yet acceptable.
7
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Rule Criteria
A key part of the requirement analysis is to list out the criteria for defaulting or validating a field. Some criteria involve
current fields while some involve sections that the user has already crossed or involve some predetermined setup data.
Here, you need to focus on whether the criteria is known or is something that's yet to occur in the responsive flows.
Autocomplete Rules checks the recent past state prior to the changes in the current flow and the static setup data. It
can't determine the previous state of elements or fields in the sections yet to come, although with some exceptions.
When identifying fields that are to be defaulted or validated as in the first step of the requirements analysis, or fields
that are to be used as criteria as in the last step of the requirement analysis, you must not use a field that's not visible
or editable in the responsive pages either out-of-the- box or using the Transaction Design Studio. For example, let's say
you 're working with Worker Assignment and want to check the action code, you must not use the action code in the
Assignment object but use the action code in the When and Why object because this is the section where the action is
both visible and editable. HCM application will synchronize values within and across sections, as you progress through
the responsive pages. But the timing of availability of values in these fields can't be guaranteed unless they're visible to
the user and editable in the responsive pages. In addition, several fields that are shown by the Autocomplete Rules UI
are reserved for application use only.
Watch video
Add a functional Default or validate fields. Specify actions and the When must the rule be List all the criteria (area and
description of the use case For validation, either section where you want to triggered - when the field) to default or validate
show an error message or trigger the rule user enters a section or fields
warning message page (default), clicks the
Continue or Submit buttons
(validate), or tabs out of a
field (validate or default)
Working hours must not Validation - error message • Add Contingent Continue or Submit button • Employment
be less than 40 hours when Worker - Employment - Assignment
the employee is a full time Category= Full time or
employee • Add Nonworker - Part time
Employment
• Employment -
• Add Pending Worker - Working Hours
Employment
• Change Assignment -
Employment
• Hire an Employee -
Employment
8
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
During termination, warn Validation - warning • Termination - When Tab out of the Action • Action Reason
a user that selecting some message and Why Reason field
action reasons prevents • Termination Reason
employees from being
rehired
Default Salary Basis based Default • Add Contingent Enter section or page • Compensation -
on the job FLSA status Worker - Salary Salary Basis
• Add Nonworker - • Employment - Job
Salary FLSA Status
• Add Pending Worker -
Salary
• Change Salary - Salary
• Hire an Employee -
Salary
Default these field values Default • Add Contingent Tab out of the Job field • Employment - Job
when the user selects Worker - Assignment
job BAA in the Add • Employment -
Contingent Worker flow Assignment Category
• Employment -
• Assignment Working Hours
Category - Full time,
temporary • Employment -
Frequency
• Working Hours - 80
• Employment - Hourly
• Frequency - Biweekly Paid or Salaried
• Hourly Paid or
Salaried -Hourly
Rule Designing
How You Design a Rule
Once, you have analyzed the requirements. follow these broad steps to design a rule.
Watch video
• Identify object
• Identify rule type
• Author rule logic
9
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
• Identifying the section where the fields to be defaulted or validated are located
• Identifying the action to which the rule applies
Section Identification
Autocomplete Rules is a data model driven extensible framework starting with a business object. A business object can
be initiated at different places in the responsive UI and has a strong correlation to a specific section in an action. The
section in any responsive UI typically operates one business object at a time (there are exceptions). Sometimes, sections
have the same name and therefore operate on the same business object irrespective of the action that they're a part of,
for example, When and Why and Salary sections.
Sections can be named differently according to the action, but they call the same business object. For example,
Assignment Details, Employment Details, Promote, Transfer, Working Hours, all call the same business object. So if a
rule is written on a business object supporting these sections, the rule will trigger in all the actions it's a part of. If you
want the rule to trigger for a specific action only, you need to explicitly state it in the rule using a function with an HCM
Params in an inclusive or exclusive condition.
Role of Action
The same business object can be operational in different actions. Therefore, while the action doesn't determine the
name of the business object, it's a good practice to note down the actions the rule applies to. Since the nature of
operation on a business object can vary between actions, this implies for certain actions the rule type you want to
implement may isn't feasible or needs to be rewritten.
10
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Related Topics
• Section and Business Object Mapping
The Purpose isn't exhaustive but lists the most common requirements enabling you to select the object. Your purpose
can also be apart from this list, in which case you need to identify the business object to define your rule.
Add a Contingent Worker Addresses Validate address type for person Person Address
Add a Contingent Worker Citizenship Info Validate available fields and types Person Citizenship
for person
Add a Contingent Worker Communication Info Validate email format and types for Person Email
person
Add a Contingent Worker Communication Info Validate phone format and types Person Phone
for person
Add a Contingent Worker Contract Info Default or validate available fields Worker Employment Contract
Add a Contingent Worker Driver Licenses Validate available fields and types Person Driver License
for person
Add a Contingent Worker Employment Details Default or validate available fields Worker Assignment
except FTE and HC
Add a Contingent Worker Employment Details Default or validate FTE and HC Worker Assignment Work Measure
Add a Contingent Worker Family and Emergency Contacts Validate available fields and types Person Contact Relationship
for person
Add a Contingent Worker Legislative Info Validate available fields Person Legislative Information
Add a Contingent Worker Managers First time validation of one Worker Assignment Supervisor
supervisor
11
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Add a Contingent Worker Passport Info Validate available fields and types Person Passport
for person
Add a Contingent Worker Payroll Details Default or validate payroll Assigned Payroll
Add a Contingent Worker Payroll Details Default or validate overriding Assigned Payroll Additional Info
period and time card required at
payroll level
Add a Contingent Worker Payroll Details Default or validate overriding Payroll Assignment
period and time card required at
assignment level
Add a Contingent Worker Payroll Details Default or validate tax reporting Payroll Terms
unit
Add a Contingent Worker Personal Details Validate date of birth, presence Person
or absence or types of gender,
religion, and national identifier
Add a Contingent Worker Visas and Permits Validate available fields and types Person Visa
for Person
Add a Contingent Worker When and Why Validate date, action or reason on When and Why
exit section
Add a Contingent Worker Work Relationship Info Default or validate available fields Worker Work Relationship
Add a Nonworker Addresses Validate address types for person Person Address
Add a Nonworker Citizenship Info Validate available fields and types Person Citizenship
for person
Add a Nonworker Communication Info Validate email format and types for Person Email
person
Add a Nonworker Communication Info Validate phone format and types Person Phone
for person
Add a Nonworker Contract Info Default or validate available fields Worker Employment Contract
12
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Add a Nonworker Driver Licenses Validate available fields and types Person Driver License
for person
Add a Nonworker Employment Details Default or validate available fields Worker Assignment
except FTE and headcount
Add a Nonworker Employment Details Default or validate FTE and Worker Assignment Work Measure
headcount
Add a Nonworker Family and Emergency Contacts Validate available fields and types Person Contact Relationship
for person
Add a Nonworker Legislative Info Validate available fields Person Legislative Information
Add a Nonworker Passport Info Validate available fields and types Person Passport
for person
Add a Nonworker Payroll Details Default or validate overriding Assigned Payroll Additional Info
period and time card required at
payroll level
Add a Nonworker Payroll Details Default or validate tax reporting Payroll Terms
unit
Add a Nonworker Personal Details Validate national identifier format Person National Identifier
Add a Nonworker Visas and Permits Validate available fields and types Person Visa
for person
Add a Nonworker When and Why Validate date, action or reason on When and Why
exit section
Add a Nonworker Work Relationship Info Default or validate available fields Worker Work Relationship
13
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Add a Pending Worker Addresses Validate address types for person Person Address
Add a Pending Worker Citizenship Info Validate available fields and types Person Citizenship
for person
Add a Pending Worker Communication Info Validate email format and types for Person Email
person
Add a Pending Worker Communication Info Validate phone format and types Person Phone
for person
Add a Pending Worker Contract Info Default or validate available fields Worker Employment Contract
Add a Pending Worker Driver Licenses Validate available fields and types Person Driver License
for Person
Add a Pending Worker Employment Details Default or validate available fields Worker Assignment
except FTE and HC
Add a Pending Worker Employment Details Default or validate FTE and HC Worker Assignment Work Measure
Add a Pending Worker Family and Emergency Contacts Validate available fields and types Person Contact Relationship
for person
Add a Pending Worker Legislative Info Validate available fields Person Legislative Information
Add a Pending Worker Managers First time validation of one Worker Assignment Supervisor
supervisor
Add a Pending Worker Passport Info Validate available fields and types Person Passport
for person
Add a Pending Worker Payroll Details Default or validate payroll Assigned Payroll
Add a Pending Worker Payroll Details Default or validate overriding Assigned Payroll Additional Info
period and time card required at
payroll level
Add a Pending Worker Payroll Details Default or validate overriding Payroll Assignment
period and time card required at
assignment level
Add a Pending Worker Payroll Details Default or validate tax reporting Payroll Terms
unit
14
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Add a Pending Worker Personal Details Validate date of birth, presence Person
or absence or types of gender,
religion, and national identifier
Add a Pending Worker Personal Details Validate available fields Person Details
Add a Pending Worker Personal Details Validate name format Person Name
Add a Pending Worker Personal Details Validate national identifier format Person National Identifier
Add a Pending Worker Visas and Permits Validate available fields and types Person Visa
for person
Add a Pending Worker When and Why Validate date, action or reason on When and Why
exit section
Add a Pending Worker Work Relationship Info Default or validate available fields Worker Work Relationship
Add Assignment Assignment Details Default or validate available fields Worker Assignment
except FTE and headcount
Add Assignment Assignment Details Default or validate FTE and Worker Assignment Work Measure
headcount
Add Assignment Managers First time validation of one Worker Assignment Supervisor
supervisor
Add Assignment When and Why Validate date, action or reason on When and Why
exit section
Change Assignment Assignment Details Default or validate available fields Worker Assignment
except FTE and headcount
Change Assignment Assignment Details Default or validate FTE and Worker Assignment Work Measure
headcount
Change Assignment Managers First time validation of one Worker Assignment Supervisor
supervisor
15
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Change Assignment Payroll Details Default or validate overriding Assigned Payroll Additional Info
period and time card required at
payroll level
Change Assignment Payroll Details Default or validate tax reporting Payroll Terms
unit
Change Assignment When and Why Validate date, action or reason on When and Why
exit section
Change Legal Employer Assignment Details Default or validate available fields Worker Assignment
except FTE and headcount
Change Legal Employer Assignment Details Default or validate FTE and Worker Assignment Work Measure
headcount
Change Legal Employer Contract Default or validate available fields Worker Employment Contract
Change Legal Employer Contract Info Default or validate available fields Worker Employment Contract
Change Legal Employer Managers First time Validation of one Worker Assignment Supervisor
supervisor
Change Legal Employer Payroll Details Default or validate Payroll Assigned Payroll
Change Legal Employer Payroll Details Default or validate overriding Assigned Payroll Additional Info
period and time card required at
payroll level
Change Legal Employer Payroll Details Default or validate overriding Payroll Assignment
period and time card required at
assignment level
Change Legal Employer Payroll Details Default or validate tax reporting Payroll Terms
unit
Change Legal Employer When and Why Validate date, action or reason on When and Why
exit section
16
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Change Legal Employer Work Relationship Default or validate available fields Worker Work Relationship
Change Location Location Default or validate FTE and Worker Assignment Work Measure
headcount
Change Location When and Why Validate date, action or reason on When and Why
exit section
Change Manager Managers First time Validation of one Worker Assignment Supervisor
supervisor
Change Manager When and Why Validate date, action or reason on When and Why
exit section
Change Salary When and Why Validate date, action or reason on When and Why
exit section
Change Working Hours When and Why Validate date, action or reason on When and Why
exit section
Change Working Hours Working Hours Default or validate available fields Worker Assignment
except FTE and headcount
Change Working Hours Working Hours Default or validate FTE and Worker Assignment Work Measure
headcount
Contact Info Addresses Validate address types for person Person Address
Contact Info Communication Info Validate delivery methods and Person Delivery Methods
types for person
17
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Contact Info Communication Info Validate email format and types for Person Email
person
Contact Info Communication Info Validate phone format and types Person Phone
for person
Create and Edit Job Offer Additional Info Default or validate flexfields Job Offer
Create and Edit Job Offer Employment Details Default or validate available fields Worker Assignment
Create and Edit Job Offer Offer Letter Default or validate available fields Job Offer
Create and Edit Job Offer Payroll Details Default or validate payroll Assigned Payroll
Create and Edit Job Offer Payroll Details Default or validate overriding Assigned Payroll Additional Info
period and time card required at
payroll level
Create and Edit Job Offer Payroll Details Default or validate overriding Payroll Assignment
period and time card required at
assignment level
Create and Edit Job Offer Payroll Details Default or validate tax reporting Payroll Terms
unit
Create and Edit Job Offer Salary Default or validate available fields Salary
Create and Edit Job Offer When and Why Default or validate offer date, legal Job Offer
entity, worker types
Create and Edit Job Offer When and Why Validate action or reason on exit When and Why
section
Create Interview Schedule Location Details Default or validate available fields Interview Location
Create Job Requisition Basic Info Default or validate available fields Job Requisition
Create Job Requisition Configuration Default or validate available fields Job Requisition
Create Job Requisition Hiring Team Default or validate available fields Job Requisition
Create Job Requisition How Default or validate available fields Job Requisition
18
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Create Job Requisition Interview-Job Application- Default or validate available fields Interview Location
Schedule
Create Job Requisition Interviews Default or validate available fields Interview Schedule
Create Job Requisition Job Application or Interview Default or validate available fields Interview Participants
Create Job Requisition Job Application or Interview Default or validate available fields Interview Schedule
Create Job Requisition Job Formatting Default or validate available fields Job Requisition
Create Job Requisition Job Posting Default or validate available fields Job Requisition
Create Job Requisition Others Default or validate available fields Job Requisition
Create Job Requisition Posting Description Default or validate available fields Job Requisition
Create Job Requisition Questionnaires Default or validate available fields Job Requisition
Create Job Requisition Requisition Details Default or validate available fields Job Requisition
Create Job Requisition Requisition Structure Default or validate available fields Job Requisition
Create Job Requisition Screening Services Default or validate available fields Job Requisition
Create Jobs Legislative Info Validate available fields Person Legislative Information
Create Jobs When and Why Validate date, action or reason on When and Why
exit section
Create Work Relationship Addresses Validate address types for person Person Address
Create Work Relationship Citizenship Info Validate available fields and types Person Citizenship
for person
Create Work Relationship Communication Info Validate email format and types for Person Email
person
19
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Create Work Relationship Communication Info Validate phone format and types Person Phone
for person
Create Work Relationship Driver Licenses Validate available fields and types Person Driver License
for person
Create Work Relationship Employment Details Default or validate available fields Worker Assignment
except FTE and headcount
Create Work Relationship Employment Details Default or validate FTE and Worker Assignment Work Measure
headcount
Create Work Relationship Family and Emergency Contacts Validate available fields and types Person Contact Relationship
for Person
Create Work Relationship Legislative Info Validate available fields Person Legislative Information
Create Work Relationship Managers First time Validation of one Worker Assignment Supervisor
supervisor
Create Work Relationship Passport Info Validate available fields and types Person Passport
for Person
Create Work Relationship Payroll Details Default or validate Payroll Assigned Payroll
Create Work Relationship Payroll Details Default or validate overriding Assigned Payroll Additional Info
period and time card required at
payroll level
Create Work Relationship Payroll Details Default or validate overriding Payroll Assignment
period and time card required at
assignment level
Create Work Relationship Payroll Details Default or validate tax reporting Payroll Terms
unit
Create Work Relationship Personal Details Validate date of birth, presence Person
or absence or types of Gender,
Religion, national identifier
Create Work Relationship Personal Details Validate available fields Person Details
Create Work Relationship Personal Details Validate name format Person Name
Create Work Relationship Personal Details Validate national identifier format Person National Identifier
20
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Create Work Relationship Visas and Permits Validate available fields and types Person Visa
for person
Create Work Relationship When and Why Validate date, action or reason on When and Why
exit section
Create Work Relationship Work Relationship Info Default or validate available fields Worker Work Relationship
Document Records Document Details Default or validate available fields Document Records
Edit Work Relationship Start Date and Primary Info Default or validate available fields Worker Work Relationship
Employment Contracts Contract Info Default or validate available fields Worker Employment Contract
Family and Emergency Contacts Address Validate address types for person Person Address
Family and Emergency Contacts Basic Information Validate available fields Person
Family and Emergency Contacts Communication Info Validate email format and types for Person Email
person
Family and Emergency Contacts National Identifiers Validate national identifier format Person National Identifier
and types for person
Hire an Employee Addresses Validate address types for person Person Address
Hire an Employee Citizenship Info Validate available fields and types Person Citizenship
for person
Hire an Employee Communication Info Validate email format and types for Person Email
person
Hire an Employee Communication Info Validate phone format and types Person Phone
for person
Hire an Employee Contract Info Default or validate available fields Worker Employment Contract
21
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Hire an Employee Driver Licenses Validate available fields and types Person Driver License
for person
Hire an Employee Employment Details Default or validate available fields Worker Assignment
except FTE and headcount
Hire an Employee Employment Details Default or validate FTE and Worker Assignment Work Measure
headcount
Hire an Employee Family and Emergency Contacts Validate available fields and types Person Contact Relationship
for person
Hire an Employee Legislative Info Validate available fields Person Legislative Information
Hire an Employee Managers First time validation of one Worker Assignment Supervisor
supervisor
Hire an Employee Passport Info Validate available fields and types Person Passport
for person
Hire an Employee Payroll Details Default or validate overriding Assigned Payroll Additional Info
period and time card required at
payroll level
Hire an Employee Payroll Details Default or validate tax reporting Payroll Terms
unit
Hire an Employee Personal Details Validate national identifier format Person National Identifier
22
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Hire an Employee Visas and Permits Validate available fields and types Person Visa
for person
Hire an Employee When and Why Validate date, action or reason on When and Why
exit section
Hire an Employee Work Relationship Info Default or validate available fields Worker Work Relationship
Identification Info Citizenship Info Validate available fields and types Person Citizenship
for person
Identification Info Driver Licenses Validate available fields and types Person Driver License
for person
Identification Info Passport Info Validate available fields and types Person Passport
for person
Identification Info Visas and Permits Validate available fields and types Person Visa
for person
Local and Global Transfer Contract Info Default or validate available fields Worker Employment Contract
Local and Global Transfer Managers First time validation of one Worker Assignment Supervisor
supervisor
Local and Global Transfer Payroll Details Default or validate payroll Assigned Payroll
Local and Global Transfer Payroll Details Default or validate overriding Assigned Payroll Additional Info
period and time card required at
payroll level
Local and Global Transfer Payroll Details Default or validate tax reporting Payroll Terms
unit
Local and Global Transfer Salary Default or validate available fields Salary
Local and Global Transfer Transfer Default or validate available fields Worker Assignment
except FTE and headcount
Local and Global Transfer Transfer Default or validate FTE and Worker Assignment Work Measure
headcount
Local and Global Transfer When and Why Validate date, action or reason on When and Why
exit section
Local and Global Transfer Work Relationship Default or validate available fields Worker Work Relationship
23
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Performance Goals Basic Info Default or validate goal review Goals Relation with Goal Plan
period, weight, and priority
Person Identifier for External Person Identifier for External Default or validate available fields Person Identifier for External
Applications Applications Applications
Personal Details Demographic Info Validate available fields and types Person Ethnicity
for Person
Personal Details Demographic Info Validate available fields Person Legislative Information
Personal Details National Identifiers Validate national identifier format Person National Identifier
and types for person
Position Details Legislative Info Validate available fields Person Legislative Information
Position Details When and Why Validate date, action or reason on When and Why
exit section
24
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Promote Promotion Default or validate FTE and Worker Assignment Work Measure
headcount
Promote When and Why Validate date, action or reason on When and Why
exit section
Request a New Position Position Details Default or validate available fields Position
Request a Position Change Position Details Default or validate available fields Position
Resignation Assignment Details Default or validate FTE and Worker Assignment Work Measure
headcount
Resignation Resignation Info Default or validate available fields Worker Work Relationship
Resignation Termination Info Default or validate available fields Worker Work Relationship
Resignation When and Why Validate action, action reason on When and Why
exit section
Resignation When and Why Default or validate notification Worker Work Relationship
date, termination date
Skills and Qualifications Certifications Default or validate available fields Person Profile Certification
Skills and Qualifications Education Default or validate available fields Person Profile Education
Succession Plans Plan Info Default or validate available fields Succession Plans
Termination Reassign Existing Reports First time validation of one Worker Assignment Supervisor
supervisor
Termination Termination Info Default or validate available fields Worker Work Relationship
Termination When and Why Validate action, action reason on When and Why
exit Section
Termination When and Why Default or validate notification Worker Work Relationship
date, termination date
25
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Transfer Transfer Default or validate FTE and Worker Assignment Work Measure
headcount
Transfer When and Why Validate date, action or reason on When and Why
exit section
Related Topics
• How You Identify Business Objects in Autocomplete Rules
Watch video
• Business Object Default: This triggers when the selected business object is created by the application, which is
when the user enters the section or clicks the Add button
• Business Object Validation: This triggers when the selected business object is saved by the application, which
is when the user clicks the Continue, Submit, or Save and Close buttons.
• Business Object Field Validation: This triggers when a field of a given business object enters the ADF
validation cycle, which is when the user tabs out of a field.
• Business Object Field Modification: This triggers after the field of a given business object completes the field
validation event.
The classification of the technical events listed earlier also apply to HCM Data Loader, which deals with creating,
updating, and saving business objects in a certain sequence. Hence, it's easier to understand when a rule takes effect,
but, in the UI, the relationship between the UI and the data model is complex, which makes it difficult to determine the
exact timing of these technical events.
In order to simplify the understanding of these technical events and determine exactly when a given rule triggers
especially in the UI, these four events can be functionally characterized in these ways.
26
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Tab out of a field inside a section (validate) Business Object Field Validation
Tab out of a field inside a section (default) Business Object Field Modification
Entering a Section
In most cases, a business object is created when you first enter a section. The business object defaulting rule is
triggered when you first enter a section. For example, the Worker Assignment object is created when you enter a section
and the Salary object is created when you enter the Salary section.
• Multiple objects are saved when exiting a section, hence, the Object Validation rule triggers for all objects.
• More than one row of a single business object are modified and saved, hence, the Object Validation rule
triggers for each row of the business object. For example, when converting a pending worker, Work Assignment
record of type pending worker is updated and a Work Assignment record of the converted type - contingent
worker, nonworker, or employee, is created. Hence, an Object Validation rule triggers twice, once for each row
that's updated and saved.
You can code the default to always be of You can't use a field that's later in the section or in a subsequent section as a criterion for defaulting
some value. For example, Assignment value.
Category = "Regular" or based on some
artifact that's already known to the
runtime application at the time of object
creation (or entering a section).
N/A You can't validate and consequently show either an error or a warning message.
N/A Certain business objects won't support this type of rule, either for specific actions or across all actions.
Best Practices:
27
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Exiting a Section
In most cases, a business object is saved when you exit a section. The business object validation rule is triggered when
you exit a section after clicking the Continue button or the Submit button (without clicking the Continue button). For
example, the Worker Assignment object is saved when you exit the Assignment section.
Some exceptions to this rule are If multiple objects are saved when exiting a section, then Object Validation rule of
all objects will be triggered. Further, if more than one row of a single business object are modified and saved, Object
Validation rule will be triggered for each row of the business object. For example, when converting a pending worker,
Work Assignment record of type pending worker is updated as well as a Work Assignment record of the converted type,
Contingent, Non-worker, Employee, is created. Hence, an Object Validation rule will trigger twice, once for each row
that's updated and saved.
This type of rule triggers on every row that's saved. This is an important consideration when date-effective splits occurs
because of your transaction. Not only, is the new row saved but also an existing row is modified or saved due to the
nature of the transaction. You have to apply additional conditions if you want your validation only to trigger on the new
row. Sometimes, these additional conditions aren't necessary as the existing rows already comply with your validation
rule.
This rule type is preferred over business The criteria for validation may not be a field that's part of a section not yet navigated to. Hence, you
object field validation because all fields can't add warning messages in this type of rule.
relevant to the validation rule can be used
in the sample without assuming the field
in which the user entered an incorrect
value.
This rule type allows the user to decide If the criteria for the validation rule is in a section prior to the current section, then it's expected that
which validation to fix. While it's an user fixes the value of the field in the current section to comply with the validation rule before going
ideal user experience to trigger a back and editing the value in the field in the previous section.
validation as soon as the user exits a field,
considering the point mentioned earlier,
it's recommended to use Object Validation
rule type instead. Sections in responsive
pages are more compact and often the
delayed display of the error message
28
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
The criteria for validation can be any The responsive pages won't allow the user to go back and edit previous section if a validation error on
field on the current section, a field in the the current section is displayed. Once a default has occurred based on a value of a field in a previous
previous section, or a previously setup section, if you go back and edit the criteria field, the default won't re-occur when entering the section
object related to the current object. During containing the field that was defaulted the first time around.
object validation, even if a field in the
section isn't mapped to a column in a
table, yet all fields from the pages are
transferred to the object and hence the
object validation rule will be able to use
these values in the rule.
N/A You can't default values in fields in this type of rule. There are some exceptions to this rule. Default
values into another field during object validation will call the field validation cycle of that field with no
provision for user interaction resulting from errors, if any, during the field validation.
Best Practice:
Inside a Section
There are 2 potential events that can execute when the user is within a section in the responsive pages, business object
field validation and business object field modification, in sequence.
The business object field validation rule is triggered first when the user tabs-out of a field.
You can base the criteria for validation If the field is transient and is only on the UI, but not in the model layer, then it isn't possible to execute
on any field that's already accessed by this type of rule.
the user in the current or the previous
sections, or any field that has already been
setup as part of Workforce Structures
setup.
You can sample old and new values of the You can't default values into any fields, and can't warn users about errors in this type of rule.
current field on which the validation rule is
written. For numeric fields, this can be of
help with percentage change calculations.
N/A If the user doesn't change the value in the field, this rule won't trigger.
Best Practice:
29
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
The business object field modification rule type will trigger after the business object field validation rule when the user
tabs out of a field
You can default a value in another field If the field is transient and only in the UI but not in the model layer, then it won't be possible to execute
in the same section based on the value this type of rule.
entered in the current field.
Show a warning after the user enters a You can't show an error message in this type of rule.
value in the current field. The warning
message can be dismissed by clicking the
OK button, and if the value in the current
field doesn't change, the warning message
won't re-appear.
Best Practice:
Related Topics
• How You Update Fields Using Autosubmit
• How You Configure Partial Page Refresh
• How You Compare Old and New State of Fields
• Navigation from Salary
Watch video
Rule Variables
You have access to all fields inside the current object along with attributes of various lookup fields on the current object
and related to but completely separate (typically parent or child) objects. For example, when working with Worker
Assignment business object, you have access to all these:
30
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
• All attributes of lookup fields such as job, grade, business unit, and legal employer
• Related parent business objects like Work Relationship
• Related child business objects like Work Measure
While the field you're defaulting or validating has to be a part of the current object, the criteria can be on the current
business object, on lookups or on related objects. If the field is on the current object, you don't have to do anything to
the sample values.
• Related Objects: In order to sample values of fields in other related objects, lookup or parent or child type, you
need to declare a special variable to get access. If you want to sample values of just fields in the current object
or related objects, after declaring access to related object, you need not further declare a variable to contain
the value of a field in those objects. In addition, the objects that you access can give you further access to other
related objects.
• Transformations: Let's say you want to apply some transformations such as sub string, begins with, or year
of on the value in a field, the current object, or on a related object. You need to define variables to apply the
necessary transformation to have them ready to use in your final condition logic. The transformations are made
available as a series of functions that you can apply on various fields and store the result in these optional
variables.
• UI State or Application Variables: You want access to special UI context, for example, which flow you're in or
what's the legislation code. You want access to the application context such as what's the role of the logged in
user or has a given field been modified. These are again available as transformation functions.
Rule Criteria
You don't have to do anything special to get access to a field on the current object. However, when trying to get
access to a related object, it's useful to refer to the following data model navigation diagram. You can use different
combinations and number of fields from other objects.
31
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
• Start with any business object and follow the directions of arrows to understand what you have access to.
• Determine the steps to reach a given related object. For example, if you want to default salary basis based on
the job FLSA status using the Salary business object, you need a variable to get access to Assignment from
Salary. Then you need access to Job (a Workforce Structure setup object). From the job, you can then get access
to the predefined job extensible flexfields containing the FLSA status.
• Bypass a business object in some cases. For example, assignment > position > job versus assignment > job.
Limitations
You may encounter these limitations when executing your rule
• You want to execute a validation when the user enters a section, for example, don't allow termination if
employee is on leave of absence. You have to rewrite this rule because it isn't feasible to execute with the
available rule types. You have to rewrite the rule as a Field Validation rule on the first mandatory field in the
section, which is your earliest opportunity to trigger a validation rule. If a particular field doesn't support Field
Validation rule, then your earliest opportunity is only on exit of the section.
• You want to validate a field, immediately on tab-out but the criteria for the tab out is a field, which the user
hasn't encountered so far. You have to rewrite your rule as an Object Validation rule that enables you to check
for values in all fields
32
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
• You want to warn users when they leave a section. There's no rule that supports display of warning messages
just when exiting a section. The earliest opportunity is the last mandatory field on a given section and write a
Field Modification rule if supported by the rule.
In addition to the above basic limitations, other restrictions only apply to certain objects. While an object has to be
created, updated and saved by the application, the timing and nature of these events varies between actions. For
example, during termination, the Worker Work Relationship object doesn't get created. Hence, a business object
defaulting rule won't work here. Further, for any of the given objects, these additional restrictions can apply across all
actions, only for specific actions, or for specific fields.
For more information on exceptions for business objects, refer to the Business Objects in Autocomplete chapter.
• Start with the business object and rule type specified for approved use cases.
• Read key features and limitations of the rule type.
• Read the exceptions and adaptations for the selected business object for the specific business object.
• Restrict your rule logic for a specific action and channel (UI or HCM Data Loader).
• Don't define variables to only store values of fields of any business object as is.
• Most date validations must be done on the When and Why business object, if your action has this section.
• Think of the criteria for defaulting or validation Don't rely on fields on the business object. Always think of the
UI, section in which the user needs to enter the value, the business object that supports that section, navigation
to that business object from the one you're on. Refer to the chapter, Business Objects in Autocomplete for more
information.
• Always build your rule incrementally. First test for event, then display values, including hcmParams.
• Avoid too many nested IF conditions. Consider using duplicate rule, descriptive flexfield setup, and object
functions.
• Use debugging techniques, if necessary.
Related Topics
• How You Determine the Rule Type
• Standard Functions
• Global Functions
• Debug Autocomplete Rules
• How You Test Autocomplete Events
33
Oracle Fusion Cloud HCM Chapter 2
Configuring and Extending HCM Using Autocomplete Rules Autocomplete Rules
Can I have multiple active rules for different countries within the
same business object?
Yes, you can define separate conditions within 1 rule for all countries or different rules per country, or use another
grouping that shares most of the logic.
34
Oracle Fusion Cloud HCM Chapter 3
Configuring and Extending HCM Using Autocomplete Rules Components of the Autocomplete Rules Editor
Watch video
As long as the auto-created sandbox isn't corrupted and is in proper status, the same sandbox opens again. If the
existing sandbox is in Refreshing or Refresh Needed or Not publishable state, then the sandbox isn't selected and a
new sandbox is created and used.
35
Oracle Fusion Cloud HCM Chapter 3
Configuring and Extending HCM Using Autocomplete Rules Components of the Autocomplete Rules Editor
• The 3 navigational elements in the rule editor: down arrow (1), xyz icon (2), and hyperlink (3) help build the
rule.
Watch video
Down Arrow
This is the main element to add or delete rule lines. You can add a rule line before or after the current rule line or block.
At the left of a rule line, using the down arrow you can operate on the main body of the rule logic.
The down arrow is at the beginning of every rule line whether leftmost indented or indented further within a rule
instruction. The down arrows that are further right indented allow you to operate on specific sections or blocks of the
rule line. Let's look at the additional functions along with the context in which they occur as we cover all types of rule
lines.
When you click the left most indented down arrow, you can see these menu options.
• Add Before (except for the first line of the rule logic)
• Add Next (if there's a possible path for rule logic to proceed; won't be displayed after a guaranteed execution of
a Add error statement, for example)
• Delete (except for the only line remaining in the rule logic)
• Delete Else Block (only for down arrows next to the If clause)
• Add Else Block (only for down arrows next to the If clause for the entire If block when the Else portion is already
removed)
Within each of the primary drop down menus, you have the following options -
• Add variable
36
Oracle Fusion Cloud HCM Chapter 3
Configuring and Extending HCM Using Autocomplete Rules Components of the Autocomplete Rules Editor
xyz Icon
The second navigational element of the Autocomplete Rule editor is the xyz icon. This icon is immediately to the left of
an operand, which is part of either an expression, an equation, or a function. All variable definitions are essentially an
equation and the xyz icon will be immediately to the left of any operand (and on the right hand side of the equation).
In an expression, the xyz icon is next to each operand while in a function, it's immediately to the left of any argument or
parameter passed to the function.
You can change the type of operand or argument using the xyz element. Autocomplete Rules supports 5 operand types,
different from data types. You can pick up to 4 additional operand types. These are the operand types.
• Literal - Default operand type for the right hand side xyz operand for any variable type definition equations,
most expressions, and most arguments of functions. In most cases, a literal operand type shows up as an
empty text box that requires an input in the expected data type for that field. One exception to this is the right
hand side operand of an expression in which the left hand side is a business attribute of type LOV. In this case,
the literal automatically shows you a list of valid values for the LOV.
• Business Attribute - Field on any object, current or related. After changing to this type of operand, use the
hyperlink to pick the attribute from the current object or a list of objects you have given yourself access to.
• Function - If the left hand side operand data type supports a function that returns a value of the same data
type, changing to this type of operand then enables you to select the functions by clicking the first default
available function.
• Arithmetic Expression - If the left hand side operand data type supports an arithmetic operation on a
combination of operands in right hand side, you can change to this type of operand. This operand type is used
in these cases.
37
Oracle Fusion Cloud HCM Chapter 3
Configuring and Extending HCM Using Autocomplete Rules Components of the Autocomplete Rules Editor
Hyperlink
The blue hyperlink component is contextually available to access a list of options. You can freely click any hyperlink
to see a list of available options. This isn't a literal hyperlink, where you will be linked to another page or component.
In cases where a hyperlink is available, the component shows up in blue color. These are the common contexts where
hyperlinks are seen.
• Business Object Attribute - Click the hyperlink to see alternative fields from current or related objects that you
can access.
• Operator - Click the operator, part of the expression to select from the alternate types of operators available,
but limited to the context of the expression.
• Function - Click the function name to select any additional available functions, but limited to the context of the
equation or expression.
Variable Usage
String • Define a specific regular expression (REGEX) pattern that you want to match a user-input text
field to, such as phone number, address lines, name, and so on.
• Apply a transformation on a field that returns a string type value.
Long Integer • Store IDs of any business entity such as job, position, salary basis, and so on. and subsequently
assign them to their occurrence in a transaction business object like salary, assignment, position,
and so on. You need to use a transformation function when setting up this variable.
Decimal • Store IDs of business entities such as job, collective agreement, salary basis in various descriptive
flexfield segments. You can use Value Set queries on other objects when setting up customer
specific associations between various entities. The transformation functions that return a decimal
type value aren't available currently, unless you have a custom object function that returns a
decimal type value.
Date • Store a date because of a calculation involving subtraction or addition of a specific number of
days to another date.
• Apply a transformation on a field that returns a date type of value
38
Oracle Fusion Cloud HCM Chapter 3
Configuring and Extending HCM Using Autocomplete Rules Components of the Autocomplete Rules Editor
Variable Usage
Special Variables
Row and rowset variables are special variables that enable you to navigate through various object relationships to fetch
the appropriate criteria for default or validating. Special variables allow you to navigate out of the current object to
related objects to fetch the criteria. The starting point for your rule is the business object that contains the field that you
want to default. For validation, the starting point can be the business object containing the fields you want to validate,
but not always.
Watch video
For field values in the current object, any changes made by the user are still in-flight without the transaction being
submitted, similarly, any fields of related objects you fetch with these variables are also values "in-flight" and not yet
submitted. For example, when you navigate from Salary to Worker Assignment, you get field values in the Worker
Assignment object that correspond to values just entered in the preceding section. But these values won't be there in
the Worker Assignment object prior to starting the current flow.
Row Variable
Variable Usage
Row - Variant 1 Use row variable without Get First Row function when you expect a 1 to 1 relationship between the
object you're operating on and the related object you're fetching on the right hand side, the options
that allow for 1 to 1relationships of the lookup codes are shown.
Row - Variant 2 Use row variable with the function Get First Row when you expect a 1 to 1 relationship between the
object you're operating on and a different object (such as a parent or a distinctly different functional
area, or a parent object). For example, when you're traversing from Worker Assignment to Primary
Work Relationship. Accordingly, when you define a row type variable, before clicking on the right hand
side hyperlink, if you click on xyz to change to function, you can see the Get First Row function. Click
the hyperlink to see related objects that can have a 1 to many relationship with the current object but of
which you want the current applicable single row.
Rowset Variable
Use rowset variable when you expect a one to many relationship between the object you're operating on and the related
object. For example, when you're traversing from the Person object to the Person Passport object or from the Person
object to the Person Citizenship object, and you want to scan all possible rows. When you declare a rowset variable type,
39
Oracle Fusion Cloud HCM Chapter 3
Configuring and Extending HCM Using Autocomplete Rules Components of the Autocomplete Rules Editor
other functions aren't supported on such a variable (click the xyz icon to see this). But, when you click the hyperlink, it
will again show the same related objects as in the second variant of row variable (with a Get First Row function). The
difference is that you're setting up your rule to iterate over all rows of related object as opposed to just the current one
Person related objects are functionally compact, for example, email, phone number, name, and the business object
that you start with is one of the child objects, for example Person Passport), while the criteria is in another child object
(Person Citizenship). For a rule such as don't allow entry of passport prior to having a citizenship record for the same
issuing country, you need to first define a row variable to traverse from the first child object (Person Passport) to the
parent object (Person). You then define a rowset variable to go from the parent object (Person) to the other child object
(Person Citizenship). Another example in the same pattern of rule is ensure email address must begin with person last
name. In this rule, you need to define row variable with Get First Row to traverse from person email to person and then
define another row variable with Get First Row to traverse from person to person name.
Click on the initial default name of the first function available to see what other types of transformations are
available.These are the available function types.
Function Usage
Global Used to provide context information that's either, difficult if not impossible to obtain. The HCM suite of
applications provides these functions.
Object Used for authoring business objects using the Configure Business Objects page, different from the
Autocomplete Rules Editor.
Watch video
IF Block
Variable with functions contain part of subsequent IF logic.
The significance of the data type dependent functions is that most of the condition logic (with the help of an IF
statement) is contained in the way these functions are setup on their corresponding variables before you author the
IF statement portion of the rule logic. For example, if your rule requires you to check whether a user input text begins
with "Oracle", most standard programming languages will enable you to directly apply the transformation within the IF
statement as given here.
If <user text> begins with 'Oracle' then...
But, in Autocomplete Rules, you need to first declare a Boolean variable to test the "begins with" condition and then use
the Boolean variable in your If condition as follows -
40
Oracle Fusion Cloud HCM Chapter 3
Configuring and Extending HCM Using Autocomplete Rules Components of the Autocomplete Rules Editor
This style of application logic applies to any or all data type dependent functions like "Month Of", "Day Of", and so
on. Many functions are very intuitive but transformations involving those that return Boolean values can be counter
intuitive from a classical programming style perspective.
Condition Block
Condition Block is used to conditionally default or validate. It inserts into your rule definition an outline of a generic
If ... Then ... Else ...statement. You can also use this to conditionally proceed only if a field or an entire object is
NOT NULL. You can change or add, or do both to any part of this generic outline.
These are some of the common options along with additional navigational elements specific to the condition block.
1. Removing the Else Block. In many cases you may not want an Else as part of your condition block. Click the
down arrow to the left of the 'IF' clause to remove the entire Condition block or just the 'Else' segment of the
condition block, in addition to the usual "Add Next" and "Add Before".
2. Indented (to the right) down arrows. These arrows appear depending on where you're in the rule logic and allow
you to do one of the following -
◦ Add Condition: This uses the same conjunction (AND/OR) as already used in the series of conditions.
◦Add Condition Group: This enables you to cluster a set of conditions with the same conjunction inside
this cluster. You can add a condition group first, if you're anticipating a complex combination logic and
add more condition groups to control the conjunction used within each group and between the groups.
When the default condition block is shown, use the indented arrow, add a condition group and then
delete the default condition statement part of the original default condition block to proceed. You can
add as many conditions to each group or entire condition groups, or both.
◦ Change Conjunction: Changing a conjunction changes the conjunction for all within the same group or
all conditions without any group.
3. Remove a condition: This function has an 'x' at the end of the condition. You can't delete a condition when it's
the only condition of a block.
4. Exit Rule. This function is used to exclude some of your existing rules to execute for certain conditions.
5. Do more than one thing if the condition is met or not. This works similarly to the left most indented down arrow
enabling your to build one rule line at a time.
When assigning a value to a business object attribute, the operand types can be any one of these:
• Business Object Attribute - This always shows the same attribute as that on the left hand side. Click the
hyperlink to change to another business attribute field from the current or related objects. You can then see
attributes of current or related objects of the same data type as that of the left hand side operand.
• Literal - This is the default and changing to this operand type in the context of a default statement enables you
to code the value to assign to the selected attribute. The literal appears as a text box and is based on the data
type of the operand on the left hand side (the attribute being defaulted into).
41
Oracle Fusion Cloud HCM Chapter 3
Configuring and Extending HCM Using Autocomplete Rules Components of the Autocomplete Rules Editor
• Existing Variable - When selecting this type of operand, the variables that have already been explicitly defined
within the scope of the current rule line, which are of the same data type as that of the left hand side attribute
(the field being defaulted into) are shown. If matching data type variables aren't available, you get an error
message preventing you from changing the operand type to existing variable.
A fourth option for Operand Type, arithmetic expression, is available but not used much in most functional situations.
You must define variables of compatible numeric types and perform arithmetic operations prior to assigning the
existing variable to the field to be defaulted (as opposed to attempting an arithmetic operation during defaulting).
Watch video
You can't show an error with Business Object Defaulting or Field Modification rule types. This option is mostly available
within a conditional statement. Note that you can't add any rule lines immediately after this, inside the execution path
that includes the Show Error statement. This is the end of execution of the rule. You don't have the option to continue
rule execution after showing an error.
You can change only the right hand side of a show error statement. By default, you can see a text box in which you can
type your error message in the language that follows your language preference of HCM Cloud login.
Click the xyz icon next to the text box to change it to either an existing variable or an arithmetic expression. The
arithmetic expression in this case is simply a concatenation of string values that's shown to the end user. This is
useful to mix and match literal expressions with values of fields so that the message is more useful and specific. After
changing to arithmetic expression, each component of the concatenated string is shown with its own xyz icon allowing
you to change individual components to either literal text values or another arithmetic expression. You can set up as
many components as needed before typing in your error text or changing some components, or both to show actual
values of fields (of type string only). You can ignore the parenthesis, as this will result only in a sequential concatenation
of string values. You can't change the only arithmetic operator in this context, the "+" operator. If you want to show a
number as part of your error message, you have to convert the number to a string using an object function and store it
in a string variable and then reference the string variable.
We recommended you don't display numbers and IDs in error messages. To show numbers in an error message, you
first convert the number to a string using a global function. You then use the converted string variable in the error
message. To show dates in an error message, you can use the Autocomplete Rules' built-in function Get Date in
Custom Format that converts a date field to any format of your choice.
You can also setup various Boolean variables in the rule logic that detects the error condition separate from the
conditional statement where you actually show the error. This can trigger specific error messages depending on the
error when multiple conditions are checked, as opposed to a generic error message. This is useful in pattern matching
scenarios where you can check for multiple patterns at the same time.
A point to note is that you can't use curly brackets or double quotes in an error message. Other types of brackets must
be used in pairs, that's any open brackets including { or ( must be closed and vice-versa.
You can translate error messages added using Autocomplete Rules in all Oracle supported languages. But, you need
to use only one language when implementing and maintaining messages, otherwise the translation will be overridden.
42
Oracle Fusion Cloud HCM Chapter 3
Configuring and Extending HCM Using Autocomplete Rules Components of the Autocomplete Rules Editor
If the rule is edited in another language and saved while the message is already translated, then the message is
overridden and translation will be lost.
Related Topics
• Translate Existing Strings Added Using Configuration Tools
You can't show a warning in Business Object Defaulting, Business Object Validation and Field Validation rule types. This
option is mostly available inside a conditional statement. Unlike the Add error message option, you can continue to
add additional rule lines to execute. This works like an information message and there's no option to revert user input or
modifications.
You can only view the warning message and dismiss it by clicking OK. The warning statement, by default, is shown as
an equation, similar to an error statement. You can change the right hand side of this equation in the same way as in the
Add error message option.
A point to note is that you can't use curly brackets or double quotes in a warning message. Other types of brackets must
be used in pairs, that's any open brackets including { or ( must be closed and vice-versa.
You can translate warning messages added using Autocomplete Rules in all Oracle supported languages. But, you need
to use only one language when implementing and maintaining messages, otherwise the translation will be overridden.
If the rule is edited in another language and saved while the message is already translated, then the message is
overridden and translation will be lost.
Related Topics
• Translate Existing Strings Added Using Configuration Tools
The row collection looping block is usually used along with the rowset variable type. The entire block structure enables
you to modify only the name of instance of each row of the related rowset and the name of the rowset, if you have more
than one rowset defined.
Execution inside the row collection goes on until the last record of the row collection. You can exit the loop once you
find the row you’re looking for or skip to the next row when the current row isn’t the one you’re looking for.
43
Oracle Fusion Cloud HCM Chapter 3
Configuring and Extending HCM Using Autocomplete Rules Components of the Autocomplete Rules Editor
Related Topics
• Autocomplete Rule Variables
Watch video
44
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Absence Management
Overview of Childbirth and Placement Dates
The Childbirth and Placement Dates business object contains planned start date, planned end date and will return to
work information based on the ANC_PER_ABS_MATERNITY table.
This object can typically be used to Default planned end date based on planned start date.
The Childbirth and Placement Dates business object impacts these responsive flows.
• Add Absence
• Edit Absence
PLANNED_END DATE Planned End Date Planned end date of a maternity, N/A
paternity or adoption leave
WILL_RETURN_TO_WORK Will return to work Check box indicating the intent to N/A
return to work after the absence
45
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Absence Record Row Variable (variant 2) Access the parent Absence Recording business
object displayed in Autocomplete to return
additional attributes associated with childbirth
or placement dates.
Exceptions
This table lists rules that can't be currently implemented for the Childbirth and Placement Dates business object.
Default Planned End Date Based on Planned Field Modification This rule defaults the planned end date based
Start Date on the planned start date.
Instructions:
46
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Document Records
Overview of Document Records
The Document Records business object contains details of document records created based on document types such as
passport, driver's license, birth certificate and so on based on the HR_DOCUMENTS_OF_RECORD table.
47
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
48
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
This figure shows the navigation to and from the Document Records business object.
This section lists the objects you can navigate to the Document Records business object.
All Lookups row variable (variant 1) Attributes of lookups and subsequently their
corresponding extensible flexfields (EFFs).
Get Assignment row variable (variant 2) To access assignment details of the person for
whom document records are being created.
Get Person Address Usage row variable (variant 2) To access address details of the person for
whom document records are being created.
Get Person Name row variable (variant 2) To access person name details of the person for
whom document records are being created.
Get Document Records rowset To access all document records of the person
for whom document records are being created.
49
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Default Document Name Based on Person and Field Modification This rule defaults the document name based on
Document Type the person and the document type.
Default Issuing Country Based on the Field Modification This rule defaults the issuing country field
Legislation Code of the Primary Assignment based on the primary assignment's legislation
code.
Validate Document Record From Date is After Field Modification This rule validates whether the from date
Current Date entered is after the current date.
Validate Document Record To Date is Before Field Modification This rule validates whether the to date entered
Current Date is before the current date.
Validate Document Record Publish Date is After Field Modification This rule validates whether the publish date of
Current Date the document record is after the current date.
Points to Consider
• When the condition fails, the Object Validation rule will display an error message and the Field Modification rule
will display a warning message.
• If you use a delivered rule that validates a date condition and have approvals enabled for the document type,
the data will still be committed during the transaction. This is because the validation is a warning message and
doesn't prevent data from being committed.
• You can configure an Object Validation rule. For example, Validate on Submit button (exit region) for unique
Document Record.
50
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• You can't validate transactions based on date, if approvals are enabled for the document type.
• You must use the System Document Type when creating the rule, so that the rule is language independent.
• Transactions that are pending approval in the Document Records flow and Document Records plug-in section
won’t be considered when evaluating a rule.
• You must use Partial Page Refresh (PPR) if your rule includes defaulting a value in one descriptive flexfield
(DFF) segment based on the value in another DFF segment.
Related Topics
• Overview of Document Records
• Document Records: Exceptions and Adaptations
Employment
When and Why
Overview of When and Why
The When and Why business object contains action date, action name, and action reason information based on the
PER_ACTION_OCCURRENCES table.
51
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information about the When and Why attributes, refer to the Tables and Views for HCM guide on the Oracle
Help Center.
ACTION_TYPE_CODE Action Type Code Stores the action type used in the creation of
this row.
CREATION_DATE Creation Date Indicates the date and time of the creation of
the row.
52
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
ENTITY_TYPE Entity Type Entity type that stores the parent object of a
transactional entity.
FREEZE_START_DATE Freeze Start Date Represents the deferred data freeze start date
(defaulted to end of time).
FREEZE_UNTIL_DATE Freeze Until Date Represents the deferred data freeze until date
(defaulted to start of time).
LAST_UPDATE_DATE Last Update Date Indicates the date and time of the last update of
the row.
LAST_UPDATE_LOGIN Last Update Login Indicates the session login associated with the
user who last updated the row.
LAST_UPDATED_BY Last Updated By Indicates the user who last updated the row.
OBJECT_VERSION_NUMBER Object Version Number This number is incremented every time the row
is updated. The number is compared at the
start and end of a transaction to detect whether
another session has updated the row since it
was queried.
PARENT_ENTITY_KEY_ID Parent Entity Key ID Stores the surrogate key of the entity type.
PARENT_ENTITY_TYPE Parent Entity Type Entity type which stores the parent object of a
transactional entity.
PROPOSED_ACTION_TYPE Proposed Action Type Indicates the proposed action type of the
worker.
PROPOSED_START_DATE Proposed Start Date Indicates the proposed start date of the worker.
PROPOSED_WORKER_TYPE Proposed Worker Type Indicates the proposed worker type of the
worker.
For more information about the When and Why attributes, refer to the Tables and Views for HCM guide on the Oracle
Help Center.
53
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
In addition to directly using the business object for defaulting and validating, you can also use it as a criteria to achieve
other defaulting and validating in objects that are called in subsequent sections involving the Employment Details
section.
Get When and Why Use row variable (variant 2) Access a set of records from the When and Why
business object for a specified When and Why
ID.
54
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get Assignment row variable (variant 2) Access a set of records from the assignment
business object for a specified assignment ID.
Get Salary row variable (variant 2) To check for attributes of this object and
another that it allows further access to. This
direct access to Action Occurrences is mainly
for Change Salary flow not involving Worker
Assignment.
Get Work Relationship Use row variable (variant 2) Access a set of records from the work
relationship business object displayed in
Autocomplete. It is used to get the work
relationship record using the Action Occurrence
ID.
Get Existing All Work Relationship Use row variable (variant 2) Access a set of records from the work
relationship business object displayed in
Autocomplete. It is used to get all the work
relationship records of the person using the
person ID.
Get Existing Assignment History Use row variable (variant 2) Access a set of records from the assignment
business object displayed in Autocomplete. It
is used to get all the splits of the assignment
record without date effectivity using the
assignment ID.
Get Existing Assignment Use row variable (variant 2) Access a set of records from the assignment
business object displayed in Autocomplete. It is
used to get current assignment details from the
database using the assignment ID.
Get Existing Work Relationship Use row variable (variant 2) Access a set of records from the work
relationship business object displayed in
Autocomplete. It is used to get the current work
relationship details from the database using the
period of service ID.
Get Logged in User Primary Assignment Use row variable (variant 2) Access a set of records from the assignment
business object displayed in Autocomplete.
It is used to get the logged in user primary
assignment row using the person ID.
Get Existing Line Manager Use row variable (variant 2) Access a set of records from the assignment
supervisor business object displayed in
Autocomplete. It is used to get the line manager
record using the assignment ID.
Get Person Detail Use row variable (variant 2) Access a set of records from the person detail
business object displayed in Autocomplete for a
specified person ID.
55
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Serial Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
1 Object Defaulting, Object Defaulting, All When and Why All You may not
Field Validation, Field Validation, for example,
and Field and Field default the action
Modification Modification. reason as soon
rule types not as the When and
supported. Why regions are
presented.
2 Warnings on Field Modification Termination When and Why Action Reason Warnings related
termination on exit to termination
section only. when you exit the
When and Why
section are being
fixed.
3 Not in Request Object Validation Position Change, When and Why All The use of
Position Change, Request New this object as
Request New Position part of certain
Position, Job actions aren't yet
and Grade supported due
Management to either of these
flows. reasons:
• The primary
subsequent
objects
involved (for
example,
job) in these
actions aren't
supported.
• The primary
subsequent
objects (for
example,
position) are
supported.
See the impacted
responsive flows to
see which actions
are supported.
4 Cannot validate Object Validation Create Offer When and Why Offer Date Action date isn't
proposed hire date equal to offer date;
in offer support for this
is coming in an
upcoming release
through an entirely
different object.
56
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Serial Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
5 Cannot Object Validation All When and Why All The action type
differentiate code fetched
between launch either from the
from Transfer action type code
quick action and of the Action
transfer option of Occurrences
Local and Global object or from
Transfer quick hcmParams will
action. indicate transfer.
This happens if
either the action
is launched from
the Transfer quick
action or from the
Local and Global
Transfer quick
action and there
is no change in
legislation code.
Oracle is reviewing
this for a possible
fix.
6 Cannot Object Validation All When and Why All You can use the
differentiate logged in user role
between Me, My as proxy, but there
Team, and My will be no way of
Client Groups (or differentiating
any other Home between say,
screen tabs) when an HR specialist
same action is performing a
launched from given action on
different tabs. another person or
themselves. Oracle
is reviewing this for
a possible solution.
Adaptations
There are no adaptations currently available for the When and Why business object.
Validate Effective Date on 1st or 16th of the Object Validation This rule validates whether the effective date is
Month on the 1st and 16th of the month.
Validate Effective Date with Future Payroll Cycle Object Validation This rule validates if the effective date is based
Date on the future payroll cycle date.
57
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Serial Number Field Rule Usage Rule Type Sections Impacted Tips and
Considerations
1 Effective Date To default the effective Object Defaulting When and Why • The defaulting
date in the When by the rule takes
precedence over
and Why section of the default value
employment flows. that's set by
the ORA_PER_
EMPL_DEFAULT_
EFFECTIVE_DATE
profile option.
• The effective
date will be
defaulted
only the first
time when the
user visits the
When and Why
section of these
employment
update flows:
Promote,
Local and
Global Transfer,
Transfer, Change
Assignment,
Change Location,
and Change
Manager.
• If the ORA_PER_
EMPL_DEFAULT_
EFFECTIVE_
DATE profile
option value is
set to Y and no
autocomplete
rule is defined,
the effective date
will be defaulted
to the current
system date.
• The ORA_PER_
EMP_RETAIN_
CHANGES profile
option value is
set to N and the
autocomplete
rule is defined
to default the
effective date. In
this case, if the
user manually
changes the
effective date in
the employment
58
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Serial Number Field Rule Usage Rule Type Sections Impacted Tips and
Considerations
59
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Worker Assignment
Overview of Worker Assignment
The Worker Assignment business object contains employee, contingent worker, applicants, and benefits assignments'
information based on the PER_ALL_ASSIGNMENTS_M table.
60
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
The regions within the responsive flows, that use the Worker Assignment object (Entry, Tab-out, Exit) may be named
differently. The naming convention is based on the action such as Assignment Details, Employment Details, Offer
Details, Location, Manager, Working Hours, Contract Information, Transfer, Promote, and so on.
61
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
62
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
TIME_NORMAL_FINISH Work Day End Time Work day normal end time. N/A
TIME_NORMAL_START Work Day Start Time Work day normal start time. N/A
63
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
PROJECTED_ASSIGNMENT_END Projected Assignment End Date The date the assignment is N/A
expected to end.
LAST_UPDATE_DATE Last Update Date Who column: indicates the date N/A
and time of the last update of the
row.
LAST_UPDATE_LOGIN Last Update Login Who column: indicates the session N/A
login associated to the user who
last updated the row.
64
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
EFFECTIVE_SEQUENCE Date Effective Sequence of Date Effective Entity: indicates the N/A
Changes order of different changes made
during a day. The lowest value
represents the earliest change in
the day.
65
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
PRIMARY_WORK_TERMS_FLAG Primary Work Terms Accepts value of 'Y' or 'N' based LOV_PrimaryTermsFlag
on 'YES_NO' lookup type. If set
to 'Yes', then the current row
represents a Assignment attached
to the primary set of Employment/
Placement.
PRIMARY_WORK_RELATION_FLAG Primary Work Relationship Accepts value of 'Y' or 'N' based LOV_PrimaryWorkRelationFlag
on 'YES_NO' lookup type. If set
to 'Yes', then the current row
represents an Assignment or
Employment/Placement attached
to the primary Work Relationship.
REASON_CODE Action Reason Code Specifies the reason for the action LOV_ReasonCodeFseniority
performed on the record.
SYSTEM_PERSON_TYPE System Person Type Derived from the person type ID. N/A
It's included in this table to aid in
performance.
66
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
EFFECTIVE_LATEST_CHANGE Effective Latest Changes Date Effective Entity: 'Y' indicates N/A
that this row represents the latest
change in the day.
ALLOW_ASG_OVERRIDE_FLAG Allow Assignment Override Override Work Term related data. N/A
Accepts values of 'Y' and 'N'. This
is set for the Work Term. Default
is set to 'N' for rows representing
Assignments and it doesn't
change. If row represents a Work
Term, then users can enter a value.
67
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
In addition to directly using this object for defaulting and validating, you can also use it as a criteria to achieve other
defaulting and validating in objects that are called in subsequent regions involving the Employment Details region.
Salary Use row variable (variant 2) To check for Work Assignment attributes
and other objects that can be accessed.
After accessing Assignment, the remaining
rule needs to be encapsulated under first
- If Assignment_Row is NOT NULL and
inside that an IF condition, the remaining
rule must be under the condition - "If
WorkTermsAssignmentId NOT NULL". You
need to have this condition before declaring
any further row variables from Assignment
or use any of the related fields. This prevents
any issues during a "Move to HR" from Offer
68
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Assigned Payroll VO multiple row variables (each of variant 2) To check Worker Assignment attributes
and other objects that can be accessed.
You need to add multiple row variables
for this. After accessing Assignment, the
remaining rule needs to be encapsulated
under first - If Assignment_Row is NOT
NULL and inside that an IF condition, the
remaining rule must be under the condition -
"If WorkTermsAssignmentId NOT NULL". You
need to have this condition before declaring
any further row variables from Assignment
or use any of the related fields. This prevents
any issues during a "Move to HR" from Offer
Accepted where the required links between
objects may not be available.
Assigned Payroll DVO multiple row variables (each of variant 2) To check Worker Assignment attributes
and other objects that can be accessed.
You need to add multiple row variables for
this. And after accessing Assignment, the
remaining rule needs to be encapsulated
under, first - If Assignment_Row is NOT NULL
and then inside that an IF condition. the
remaining rule must be under the condition
"If WorkTermsAssignmentId NOT NULL" . You
need to have this condition before declaring
any further row variables from Assignment
or use any of the related fields. This prevents
any issues during a "Move to HR" from Offer
Accepted where the required links between
objects may not be available.
Payroll Assignment No access You can't access the Assignment object from
this object because it's created before the
Assignment object.
Payroll Terms No access You can't access the Assignment object from
this object because it's created before the
Assignment object.
Work Relationship row variable (variant 2) To fetch the primary assignment related to
a given work relationship. After accessing
the Assignment object, the remaining rule
needs to be encapsulated under the "If
WorkTermsAssignmentId NOT NULL" condition.
You need to add this even before you declare
any row variables from Assignment or use any
of its fields.
Position row variable (variant 2) To check for logged in user assignment details
along with other related objects for the logged
in user assignment.
69
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get Offer row variable (variant 2) To fetch the offer details to the worker
assignment business object.
All Lookups and 1:1 workforce structure and row variable (variant 1) Attributes of lookups and subsequently their
employment setup objects corresponding extensible flexfields (EFFs) (via a
rowset definition thereafter)
Action Occurrences row variable (variant 2) To access only one applicable row related
to current Assignment in the context of the
current action from When and Why object to
use as criteria
Work Relationship row variable (variant 2) To access only one applicable row related
to current Assignment in the context of the
current action from Work Relationship object to
use as criteria
Logged In User Assignment row variable (variant 2) To access details of logged in user assignment
to use as criteria
Existing Assignment row variable (variant 2) To access the previous state of assignment
prior to changes due to the current action in
progress to use as criteria
Existing Work Relationship row variable (variant 2) To access the previous state of work
relationship prior to changes to it due to the
current action in progress to use as criteria
Person row variable (variant 2) To access the parent Person object related to
the person involved in the current Assignment
to use as criteria
70
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
People Group row variable (variant 2) To access the People Group details (key
flexfield) of the current assignment to use as
criteria
Line Manager row variable (variant 2) To access the Line Manager of the current
assignment to use as criteria
Assignment Extra Info rowset To access and iterate over all assignment extra
info entries to use as criteria; Note that if the
Assignment Extra Info is managed during
the current action in a region subsequent to
the Assignment, this won't work as when you
leave the assignment region the values of the
Assignment Extra Info that user will enter in the
subsequent region isn't yet known.
Work Measure rowset To access and iterate over all work measure
entries affected as a result of the current
assignment change still in memory, to use
as criteria; this type of access has to wait
until an upcoming fix the timing of save of
Work Measure Object in an upcoming release;
Currently this object is saved only during
Submit and traversing on exit of Assignment
region will fetch stale values. For FTE sampling,
you may use fteValue hcmParam. This is also
stated in the Exceptions and Recipes below
Existing Assignment Supervisors rowset To access and iterate over all existing (before
prior action) assignment supervisor entries to
use as criteria;
Existing Assignment Work Measures rowset To access and iterate over all existing (before
prior action) assignment work measure entries
to use as criteria;
Other Active Assignments rowset To access and iterate over all other active
assignment for the current work relationship to
use as criteria;
In some other situations when this object doesn't act according to the general principles, you can adapt it by adding
a unique additional condition (or coding style, in some cases). These may not be functionally obvious per your
requirement but instead, technically required to control for the specific requirement.
71
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Exceptions
This table lists rules that can't be currently implemented for the Worker Assignment object.
Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
2 Cannot set default Any Default Change Assignment Details Assignment Status
Assignment Assignment
Status in Change
Assignment
3 Cannot Default Object Default Working Hours Assignment Details Working Hours You may override
Working Hours application
default of Working
Hours in a Field
Modification Rule
type but not during
first time entry
into section with
Business Object
Default.
4 Cannot Default Any Default Any Employment Employment FTE, HC These fields
FTE, HC Action Details come from a
different object
which doesn't
support default
of these values.
you may read FTE
from hcmParam
FteValue to use
as criteria for
validation. Work
Measure Object
fix coming in
upcoming release.
5 Several LOV fields Field Modification All Employment Employment Worker Category,
don't support Flows Details Business Unit,
Warnings Location,
Assignment Status
6 Object Validation Object Validation Global Transfer Transfer Absence of Validation occurs
doesn't trigger if Only flexfield, no if any seeded
no flexfield in the predefined field field modified;
section and no modified validation occurs
field is changed if Local Transfer;
during Global validation occurs
Transfer even for Global
Transfer if flexfield
exists in the
section and no
72
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
field is modified.
Oracle reviewing
possible fix.
Adaptations
This table lists rules where you can vary the rule logic to achieve the result.
Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
1 Must start every All All All All The entire rule
rule with "IF must be inside the
WorkTermsAssignmentId IF condition. This
NOT NULL" is to avoid the rule
triggering on the
deprecated 3-tier
employment data
model involving
Work Terms. Even
if you're accessing
Assignment from
another object.
The rest of the
rule immediately
after declaring row
variable access to
Assignment must
be encapsulated
inside this IF
condition, even
if declaring
another onward
row variable for
lookup info such as
Position, Job, BU,
Location, and so
on..
2 May not use FTE Any All All FTE must use fteValue
as criteria from hcmParam
Work Measure
object
3 Fires on multiple Any Convert Pending Assignment Details Any Must select
records Worker Assignment Type
"C", "E", "N", "O",
"P" to restrict the
record on which
you want the rule
to trigger.
73
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
Assignment
including sequence
number to
differentiate
between an
Update vs a
Correction
Default Probation Period based on Assignment Field Modification A field modification rule type that defaults the
Category Probation Period based on the Assignment
Category.
Default Work At Home based On Hire Date Object Defaulting An object defaulting rule type that defaults the
Work At Home based on the worker's hire date.
Validate Department based on Business Unit Object Validation An object validation rule type that validates the
department based on the business unit.
Validate No Change in Location during Promote Field Validation A field validation rule type that validates if there
is any change in location during the Promote
action.
This object is typically used to display a warning if the FTE or headcount value is recalculated.
The Worker Assignment Work Measure business object impacts these responsive flows:
• Add Assignment
• Change Assignment
• Change Legal Employer
• Change Working Hours
• Create Work Relationship
74
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• Employment Information
• Promotion
• Transfer
The sections within the responsive flows, that use the Worker Assignment Work Measure business object (Entry,
Tab-out, Exit) may be named differently. The naming convention is based on the action, such as Assignment Details,
Employment Details, Offer Details, Location, Manager, Working Hours, Contract Information, Transfer, Promote, and so
on.
For more information about the Worker Assignment Work Measure attributes, refer to the Tables and Views for HCM
guide on the Oracle Help Center.
CALCULATE_WORKMEASURE_FLAG Calculate Work Measure Capture the option whether to recalculate the
FTE HeadCount value.
CREATION_DATE Creation Date Who column: Indicates the date and time of the
creation of the row.
EFFECTIVE_END_DATE End Date Date Effective Entity: Indicates the date at the
end of the date range within which the row is
effective.
EFFECTIVE_START_DATE Start Date Date Effective Entity: Indicates the date at the
beginning of the date range within which the
row is effective.
75
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
LAST_UPDATE_DATE Last Update Date Who column: Indicates the date and time of the
last update of the row.
LAST_UPDATE_LOGIN Last Updated Login Who column: Indicates the session login
associated with the user who last updated the
row.
LAST_UPDATED_BY Last Updated By Who column: Indicates the user who last
updated the row.
For more information about the Worker Assignment Work Measure attributes, refer to the Tables and Views for HCM
guide on the Oracle Help Center.
76
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
In addition to directly using the business object for defaulting and validating, you can also use it as a criteria to achieve
other defaulting and validating in objects that are called in subsequent sections involving the Employment Details
section.
Get Existing Assignment Work Measure Use row variable (variant 2) Access a set of records from the assignment
work measure business object displayed in
Autocomplete for a specified assignment ID.
Get Assignment Work Measure Use row variable (variant 2) Access a set of records from the assignment
work measure business object displayed
in Autocomplete. It is used to get all work
measures using the assignment ID.
Get Existing Work Measure Use row variable (variant 2) Access a set of records from the assignment
work measure business object displayed in
Autocomplete. It is used to get the assignment
work measure record using the assignment ID.
77
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get Assignment Use row variable (variant 2) Access a set of records from the assignment
business object for a specified assignment ID.
Get Existing Assignment Use row variable (variant 2) Access a set of records from the assignment
business object displayed in Autocomplete. It is
used to get current assignment details from the
database using the assignment ID.
The Worker Employment Contract business object impacts these responsive flows:
• Add Assignment
• Change Legal Employer
• Employment Contracts
• Employment Information
• Local and Global Transfer
The sections within the responsive flows, that use the Worker Employment Contract business object (Entry, Tab-
out, Exit) may be named differently. The naming convention is based on the action, such as Assignment Details,
Employment Details, Offer Details, Location, Manager, Working Hours, Contract Information, Transfer, Promote, and so
on.
For more information about the Worker Employment Contract attributes, refer to the Tables and Views for HCM guide
on the Oracle Help Center.
78
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
CONTRACT_END_DATE Contact End Date The date the contract is expected to end.
CONTRACTUAL_JOB_TITLE Contractual Job Title The contractual job title, not related to PER_
JOBS.
CREATION_DATE Creation Date Who column: Indicates the date and time of the
creation of the row.
DOC_STATUS Document Status This column holds the status of the physical
contract.
DOC_STATUS_CHANGE_DATE Document Status Change Date Holds the date that the DOC_STATUS column
last changed its value.
DURATION_UNITS Contract Duration Units The units of time in which the duration is
expressed.
EFFECTIVE_END_DATE End Date Date Effective Entity: Indicates the date at the
end of the date range within which the row is
effective.
EFFECTIVE_START_DATE Start Date Date Effective Entity: Indicates the date at the
beginning of the date range within which the
row is effective.
79
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
EXTENSION_PERIOD Extension Period The period of time for which the contract has
been extended.
EXTENSION_PERIOD_UNITS Extension Period Units The units of time in which the extension period
has been expressed.
LAST_UPDATE_DATE Last Update Date Who column: Indicates the date and time of the
last update of the row.
LAST_UPDATE_LOGIN Last Update Login Who column: Indicates the session login
associated with the user who last updated the
row.
LAST_UPDATED_BY Last Update By Who column: Indicates the user who last
updated the row.
NUMBER_OF_EXTENSIONS Number of Extensions The number of times the contract has been
extended.
80
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information about the Worker Employment Contract attributes, refer to the Tables and Views for HCM guide
on the Oracle Help Center.
In addition to directly using the business object for defaulting and validating, you can also use it as a criteria to achieve
other defaulting and validating in objects that are called in subsequent sections involving the Employment Details
section.
Get Assignment Use row variable (variant 2) Access a set of records from the assignment
business object for a specified assignment ID.
Get Existing Assignment Use row variable (variant 2) Access a set of records from the assignment
business object displayed in Autocomplete. It is
81
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get Existing Work Relationship Use row variable (variant 2) Access a set of records from the work
relationship business object displayed in
Autocomplete. It is used to get the current work
relationship details from the database using the
period of service ID.
Get Work Relationship Use row variable (variant 2) Access a set of records from the work
relationship business object displayed in
Autocomplete. It is used to get the work
relationship record using the Action Occurrence
ID.
Get Existing Contract Use row variable (variant 2) Access a set of records from the contract
business object displayed in Autocomplete for a
specified assignment ID.
Validate Contract Extension Number Object Validation This rule validates the maximum number of
contract extensions.
82
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
The Worker Work Relationship business object impacts these responsive flows:
• Cancel Work Relationship
• Change Legal Employer
• Create Work Relationship
• Edit Work Relationship
• Local and Global Transfer
• Promote
• Transfer
• Termination
The sections within the responsive flows, that use the Worker Work Relationship business object (Entry, Tab-out, Exit)
may be named differently. The naming convention is based on the action such as, Assignment Details, Employment
Details, Offer Details, Location, Manager, Working Hours, Contract Information, Transfer, Promote, and so on.
For more information about the Worker Work Relationship attributes, refer to the Tables and Views for HCM guide on
the Oracle Help Center.
ADJUSTED_SVC_DATE Adjusted Service Date Adjusted Service Date. For example, all plans
for a rehire who was part of an acquisition may
use the original hire date if they are rehired
within 90 days of termination. However, a 401k
plan may use the adjusted service date which
was originally populated upon acquisition.
CREATION_DATE Creation Date Who column: indicates the date and time of the
creation of the row.
83
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
LAST_UPDATE_DATE Last Updated Date Who column: indicates the date and time of the
last update of the row.
LAST_UPDATE_LOGIN Last Update Login Who column: indicates the session login
associated with the user who last updated the
row.
LAST_UPDATED_BY Last Updated By Who column: indicates the user who last
updated the row.
LAST_WORKING_DATE Last Working Date Last Date Worked (for terminated workers).
NOTIFIED_TERMINATION_DATE Termination Notification Date Date when the termination of employment was
noted.
READY_TO_CONVERT Include for Automatic Conversion Column to use for converting pending worker to
employee based on option.
84
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
REVOKE_USER_ACCESS Revoke User Access This stores the user's option of revoking user
access for Termination. Values accepted are I
for Immediately or A for After termination.
For more information about the Worker Work Relationship attributes, refer to the Tables and Views for HCM guide on
the Oracle Help Center.
85
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
In addition to directly using this object for defaulting and validating, you can also use it as a criteria to achieve other
defaulting and validating in objects that are called in subsequent regions involving the Employment Details section.
Get Person Use row variable (variant 2) Access a set of records from the person
business object displayed in Autocomplete for a
specified person ID.
Get When and Why Use row variable (variant 2) Access a set of records from the when and why
business object for a specified when and why
ID.
Get Person Primary Assignment Use row variable (variant 2) Access a set of records from the assignment
business object displayed in Autocomplete.
It is used to get all the rows of the primary
assignment record using the person ID.
Get Existing Assignment Use row variable (variant 2) Access a set of records from the assignment
business object for a specified assignment ID.
86
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get Work Relationship Primary Assignment Use row variable (variant 2) Access a set of records from the assignment
business object displayed in Autocomplete. It
is used to get all assignment records by using
the period of service ID where the assignment is
primary and its status is active or inactive.
Get Work Relationship Assignment Use row variable (variant 2) Access a set of records from the assignment
business object displayed in Autocomplete. It is
used to get all assignment records by using the
period of service ID.
Get Existing Work Relationship Use row variable (variant 2) Access a set of records from the work
relationship business object displayed in
Autocomplete. It is used to get the current work
relationship details from the database using the
period of service ID.
Get Work Relationship Use row variable (variant 2) Access a set of records from the work
relationship business object displayed in
Autocomplete. It is used to get the work
relationship record using the Action Occurrence
ID.
Get Existing All Work Relationship Use row variable (variant 2) Access a set of records from the work
relationship business object displayed in
Autocomplete. It is used to get all the work
relationship records of the person using the
person ID.
Validate Recommended for Rehire based on Object Validation This rule validates the recommended for rehire
Termination Action Reason value based on the termination action reason.
Validate Termination based on Assignment Object Validation This rule validates termination based on
Status assignment status.
87
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Goals
Goals
Overview of Goals
The Goals business object contains employee goal records based on the HRG_GOALS table and other related tables or
entities.
You typically create autocomplete rules for the Goals business object to validate performance goals details. For example,
you can create a rule to ensure that the weight of a goal in a goal plan is at least 10 percent.
ALLOW_KEY_ATTR_UPDATE_FLAG Allow Workers to Update key Indicates if employees can modify LOV_AllowKeyAttrUpdateFlag
Attributes key attributes of the goal or not
GOAL_SUB_TYPE_CODE Goal Subtype Goal sub type code used to support N/A
customer specific requirements like
extensibility
88
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Goals' attributes, refer to the Tables and Views for HCM guide on the Oracle Help Center
(docs.oracle.com).
89
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get Goal row variable (variant 2) To get goal details from any of the child objects.
This object is used to differentiate between
performance and development goals in any
type of rule added in the child object
Goals Relation with Goal Plan rowset variable Get Goal Relations with Goal Plans Navigate to Goals Relation with
Goal Plan business object to access
goal plan, review period, weight,
and priority details related to Goals
business object.
Goal Measurements rowset variable Get Goal Measurements Navigate to Goal Measurements
business object to get
measurement details.
Goal Tasks rowset variable Get Goal Tasks Navigate to Goal Tasks business
object to get tasks details.
Exceptions
This table lists rules that can't be currently implemented for the Goals business object.
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Adaptations
This table lists rules where you can vary the rule logic to achieve the result.
90
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
For any rule related Field Modification, All All All N/A
to performance Goals Field Validation
we need to add a
mandatory condition
GoalTypeCode='PERFORMANCE'
Rule Logic
{
The variable
value goalRow =
Goals.Current row
If
(
Goals.Goal Type
In Performance
)
...
}
You can use these delivered rules to add validations and field modifications in goal create and edit flows.
Default Completion Percentage Based on Goal Field modification Defaults the completion percentage based on
Status the updated goal status. You can use this rule
only if the Completion Percentage field of
a goal is visible. Here’s how the value of the
completion percentage is set based on the goal
status:
• When the goal status is changed to Not
started, then the completion percentage
is automatically set to 0.
• When the goal status is changed to In
progress, then the completion percentage
is automatically set to 25.
• When the goal status is changed to
Completed, then the completion
percentage is automatically set to 100.
Default Goal Status Based on Completion Field modification Sets the status of a performance goal based
Percentage on the value of the completion percentage.
You can use this rule only if the Completion
Percentage field of a goal is visible. Here’s how
the goal status automatically changes based on
the completion percentage:
91
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Validate Performance Goal Dates Object validation Validates the start and end dates of a
performance goal to ensure that they’re within
the start and end dates of the goal’s review
period. This rule is valid only when the Extend
Goal feature is disabled.
Exceptions
Goal plan date validations aren't done even when the Validate Performance Goal Dates delivered rule is enabled in
these scenarios:
• Administrator manages goals on the administrator pages such as Performance Goals and Setup of
Performance Goals Mass Assignment pages.
• The Extend Goal feature is enabled.
• Goals are added using scheduled processes.
Goal Measurements
Overview of Goal Measurements
The Goal Measurements business object contains goal measurement records that are aligned with employee goals. This
is based on the HRG_GOAL_MEASUREMENTS table and other related tables or entities. Goal measurements help in
assessing the level of success in achieving a performance goal.
The Goal Measurements business object impacts the Goals responsive flow.
92
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
MINIMUM_TARGET Minimum Target Minimum value for the target value N/A
of the measured item
For more information on the Goal Measurements attributes, refer to the Tables and Views for HCM guide on the Oracle
Help Center (docs.oracle.com).
93
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Goal rowset variable Get Goal To get Goal details from any of
the child objects. This business
object can be used To differentiate
Performance and Development
goals. It's needed in any type of
rule added in the child object
Exceptions
This table lists rules that can't be currently implemented for the Goal Measurements business object.
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Defaulting values may Business Object All All All You can't default
not be possible Defaulting values
Adaptations
This table lists rules where you can vary the rule logic to achieve the result..
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
For any rule related Field Modification, All All All N/A
to performance goals Field Validations
you need to add a
94
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
mandatory condition
GoalTypeCode='PERFORMANCE'
The variable
value
goalMeasurementsRow
= Goal
Measurements.Current
row
The variable
value goalRow
= Get first row
(goalMeasurementsRow.Get
Goal)
If
(
goalRow.Goal Type
In Performance
)
{
....
}
}
The Goals Relation with Goal Plan business object impacts the Goals responsive flow.
95
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
GOAL_PLAN_SET_ID Goal Plan Set ID Identifier for the goal plan set N/A
For more information on the Goals Relation with Goal Plan attributes, refer to the Tables and Views for HCM guide on
the Oracle Help Center (docs.oracle.com).
96
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Goal rowset variable Get Goal To get goal details from any of
the child objects. This object is
also used to differentiate from
performance and development
goals. It's needed in any type of
rule added in the child object
Goal Plan rowset variable Get Goal Plan To get goal plan details of the goal.
Review Period rowset variable Get Review Period To get review period details of the
goal applicable only for primary
goal plan.
Goals Relation with Goal Plan row variable (variant 2) Navigate to Goals Relation with Goal Plan object
to access goal plan, review period, weight, and
priority details related to the Goals object.
You can use this object validation rule only if updating weights inline is enabled for the goals in a goal plan that has
weights enabled.
You can copy and configure this rule so that when users create or add a shared goal, an error message is shown if the
weight assigned to the goal is below a specified value. Note that this rule doesn’t consider private goals.
Exceptions
Although you configure the Validate Performance Goal Weight delivered rule, weight validation is bypassed for these
use cases:
97
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Note: Weight validation is triggered only when the goal is later edited.
• On Edit Weights page, weight validation is done only for the goals whose weights are changed.
Goal Tasks
Overview of Goal Tasks
The Goal Tasks business object contains goal task records that are aligned with employee goals. This is based on the
HRG_GOAL_ACTIONS table and other related tables or entities.
The Goal Tasks business object impacts the Goals responsive flow.
TARGET_COMPLETION_DATE Target Completion Date Target date to complete goal task N/A
98
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Goal Tasks attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center (docs.oracle.com).
Goal Tasks row variable (variant 2) Navigate to Goal Tasks object to get
measurement details.
Goal rowset variable Get Goal To get Goal details from any of the
child objects this object is useful.
To differentiate Performance and
Development goals this is needed
in any type of rule added in the
child object
99
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Exceptions
This table lists rules that can't be currently implemented for the Goal Tasks business object.
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Adaptations
This table lists rules where you can vary the rule logic to achieve the result..
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
For any rule related Business Object Field All All All N/A
to performance Goals Modification, Business
we need to add a Object Field Validation
mandatory condition
GoalTypeCode=PERFORMANCE
Rule Logic
{
The variable
value tasksRow
= Goal
Tasks.Current row
The variable
value goalRow
= Get first row
(tasksRow.Get
Goal)
If
(
goalRow.Goal Type
In Performance
)
{
...
}
}
100
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Payroll
Assigned Payroll
Overview of Assigned Payroll
The Assigned Payroll business object contains payroll record assigned to a person. Also, it contains the payroll
frequency details for an assignment, such as weekly payroll, and related start and end dates based on the
PAY_ASSIGNED_PAYROLLS_DN table.
Further, it can contain details of overtime period, such as a US FLSA period, and the time card required status for the
assigned payroll.
• Validate and default a Payroll for an employee in line with another assignment, such as Jobs.
• Validate and default an employee's payroll with a legal entity.
The Assigned Payroll business object impacts these responsive flows. In these flows, you can default and validate
payroll based on HR attributes.
• Add Assignment
• Add Pending Worker
• Create Job Offer
• Edit Job Offer
• New Hire
Note: The action name in Transaction Design Studio for Create Job Offer and Edit Job Offer is Create and Edit Job
Offer.
Related Topics
• Attributes for Assigned Payroll
• Navigation From Assigned Payroll
• Assigned Payroll: Exceptions and Adaptations
The PAY_ASSIGNED_PAYROLLS_DN table lists the main attributes of the Assigned Payroll and exceptions for any
attribute, if any.
101
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the assigned payroll attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center.
Related Topics
• Overview of Assigned Payroll
• Navigation From Assigned Payroll
• Assigned Payroll: Exceptions and Adaptations
102
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Here's the sample script for defaulting payroll based on Legal entity.
Rule Logic
103
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
The variable value isNewHire = Get String value from HCM Params (PAY_ADD_ASSIGNMENT,AssignedPayroll.Current
row)
if
if
Related Topics
• Assigned Payroll: Exceptions and Adaptations
• Overview of Assigned Payroll
• Attributes for Assigned Payroll
In such situations, you can adapt the rules by adding a unique additional condition or coding style, in some cases.
Exceptions
This table lists rules that can't be currently implemented for the Assigned Payroll business object.
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Default on entry into Object Defaulting, • Add Assignment Payroll section Payroll NA
region, Default on tab- Field Modification,
out and validation on Field Validation • Add Pending
tab-out not supported Worker
104
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Adaptations
This table lists rules where you can vary the rule logic to achieve the result.
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Identify the required Business Object All Payroll section Payroll For example, in the
flow that you want to Validation new hire flow, you
validate payroll with. can validate the
payroll based on HR
attributes, such as job.
Identify the required Business Object All Payroll section Payroll For example, in
flow that you want to Defaulting the new hire flow,
default payroll with. you can default the
You can always default payroll based on HR
payroll based on HR attributes, such as
attribute. job. But in a Global
Transfer flow, you
can't default the
payroll based on all
of the HR attributes.
This is because you
can't refer to the HR
assignment object as
it's not yet created.
Related Topics
• Overview of Assigned Payroll
• Attributes for Assigned Payroll
• Navigation From Assigned Payroll
105
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
The Assigned Payroll Additional Info business object impacts the responsive flows.
• Add Assignment
• Add Pending Worker
• Create Job Offer
• Edit Job Offer
• Global Transfer
• New Hire
Note: The action name in Transaction Design Studio for Create Job Offer and Edit Job Offer is Create and Edit Job
Offer.
Related Topics
• Attributes for Assigned Payroll Additional Info
• Navigation From Assigned Payroll Additional Info
• Assigned Payroll Additional Info: Exceptions and Adaptations
This table lists the main attributes of the Assigned Payroll Additional Info business object and exceptions for any
attribute, if any.
For more information on the assigned payroll additional info attributes, refer to the Tables and Views for HCM guide on
the Oracle Help Center.
Related Topics
• Overview of Assigned Payroll Additional Info
• Navigation From Assigned Payroll Additional Info
• Assigned Payroll Additional Info: Exceptions and Adaptations
106
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
107
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Related Topics
• Overview of Assigned Payroll Additional Info
• Attributes for Assigned Payroll Additional Info
• Assigned Payroll Additional Info: Exceptions and Adaptations
Exceptions
This table lists rules that can't be currently implemented for the Assigned Payroll Additional Info business object.
Default on entry into Object Defaulting, Field • Add Assignment Payroll section Payroll
region, Default on tab-out Modification, Field
and validation on tab-out Validation • Add Pending Worker
not supported • Create Job Offer
• Edit Job Offer
• New Hire
Adaptations
This table lists rules where you can vary the rule logic to achieve the result.
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Always identify the Business Object All Payroll section Payroll For example, in the
required flow that you Validation new hire flow, you
want to validate payroll can validate the
with. payroll based on HR
attributes, such as job.
Always identify the Business Object All Payroll section Payroll For example, in
required flow that you Defaulting the new hire flow,
want to default payroll you can default the
with. You can always payroll based on HR
default payroll based attributes, such as
on HR attribute. job. But in a Global
Transfer flow, you
can't default the
payroll based on all
of the HR attributes.
This is because you
can't refer to the HR
assignment object as
it's not yet created.
108
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Related Topics
• Overview of Assigned Payroll Additional Info
• Attributes for Assigned Payroll Additional Info
• Navigation From Assigned Payroll Additional Info
1. Default a predefined Final Close Date based on termination date of employees at assignment level (e.g. for all
employees at Enterprise level).
2. Validate a Final Close Date upon Employee termination.
3. Derive a Final Close Date based on a fixed offset such as Final Close Date = Termination date + 90days.
The Element Duration Date business object is computed when the assignment is terminated:
1. End Assignment
2. End Global Temporary Assignment
3. End Temporary Assignment
4. End Global Transfer
5. Terminate Employment (Work Relationship)
109
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Exception
Final Close can only be set at Payroll Assignment level.
110
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Adaptations
Termination Date for an Assignment is not directly available. You need to navigate the internal data structure through
existing accessors to find the Termination Date.
The below rule sample is an example on how to obtain the Termination Date variable.
111
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
112
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Payroll Assignment
Overview of Payroll Assignment
The Payroll Assignment business object contains payroll assignment details for an employee, such as time card required
status and overtime period based on the PAY_REL_GROUPS_F table payroll record at assignment level.
• Validate TimeCard Required for an employee, in line with another assignment such as Jobs.
• Validate an employee's Overtime Period within a Legal Entity.
The Payroll Assignment business object impacts these responsive flows. In these flows, you can default and validate
payroll based on HR attributes.
• Add Assignment
• Add Pending Worker
• Create Job Offer
• New Hire
• Global Transfer
The action name in Transaction Design Studio for Create Job Offer and Edit Job Offer is Create and Edit Job Offer.
Related Topics
• Attributes for Payroll Assignment
• Navigation From Payroll Assignment
• Payroll Assignments: Exceptions and Adaptations
This table lists the main attributes of the Payroll Assignment business object and exceptions for any attribute, if any.
For more information on the payroll assignment attributes, refer to the Tables and Views for HCM guide on the Oracle
Help Center.
113
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Related Topics
• Overview of Payroll Assignment
• Navigation From Payroll Assignment
• Payroll Assignments: Exceptions and Adaptations
114
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Payroll Assignment Additional Info Row Variable To navigate to payroll assignment object
traversing row variable on Get Payroll
Assignment.
Related Topics
• Overview of Payroll Assignment
• Payroll Assignments: Exceptions and Adaptations
• Attributes for Payroll Assignment
Exceptions
This table lists rules that can't be currently implemented for the Payroll Assignments business object.
Default on entry into Object Defaulting, Field • Add Assignment Payroll section Payroll
region, Default on tab-out Modification, Field
and validation on tab-out Validation • Add Pending Worker
not supported • Create Job Offer
• Edit Job Offer
• New Hire
• Global Transfer
Adaptations
This table lists rules where you can vary the rule logic to achieve the result.
Rule Rule Type Actions Impacted Regions Impacted Fields Impacted Comments
Always identify the Business Object All All All For example, in the
required flow that you Validation new hire flow, you
want to validate payroll can validate the
with. payroll based on HR
attributes, such as job.
Always identify the Business Object All All All You can use
required flow that you Defaulting appropriate HCM
want to default payroll Params to base your
with. logic.
115
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Related Topics
• Overview of Payroll Assignment
• Attributes for Payroll Assignment
• Navigation From Payroll Assignment
Payroll Relationship
Overview of Payroll Relationship
The Payroll Relationship business object contains relationship details between a person and a payroll statutory unit,
such as overtime period based on the PAY_RELATIONSHIPS_F table. This business object can typically be used to
validate the Overtime Period based on HR Attributes.
The Payroll Relationship business object impacts the following responsive flow. In this flow, you can default and validate
payroll based on:
• Add Assignment
• Add Pending Worker
• Create job Offer
• Global Transfer
• New Hire
Related Topics
• Attributes for Payroll Relationship
• Navigation From Payroll Relationship
• Payroll Relationship: Exceptions and Adaptations
Based on ICL rules, the Payroll relationship may or may not be created. So defaulting rules may not be invoked during all
HR assignments creation.
This table lists the main attributes of the Payroll Relationship business object and exceptions for any attribute, if any.
For more information on the assigned payroll relationship attributes, refer to the Tables and Views for HCM guide on the
Oracle Help Center.
116
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Related Topics
• Overview of Payroll Relationship
• Navigation From Payroll Relationship
• Payroll Relationship: Exceptions and Adaptations
117
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Related Topics
• Overview of Payroll Relationship
• Attributes for Payroll Relationship
• Payroll Relationship: Exceptions and Adaptations
Exceptions
This table lists rules that can't be currently implemented for the Payroll Relationships business object.
Default on entry into Object Defaulting, Field • Add Assignment Payroll section Payroll
region, Default on tab-out Modification, Field
and validation on tab-out Validation • Add Pending Worker
not supported • Create job Offer
• Global Transfer
• New Hire
Adaptations
This table lists rules where you can vary the rule logic to achieve the result.
Rule Rule Type Actions Impacted Regions Impacted Fields Impacted Comments
Related Topics
• Overview of Payroll Relationship
• Attributes for Payroll Relationship
• Navigation From Payroll Relationship
118
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Payroll Terms
Overview of Payroll Terms
You can use the Payroll Terms business object capture the Tax Reporting Unit based on Table PAY_REL_GROUPS_DN.
This business object can typically be used to validate the TRU based on HR attributes. Use the group Type Attribute
value to differentiate between a Payroll Assignment and a Payroll Term. Payroll Term row has a group type value as T.
The Payroll Terms business object impacts these responsive flows. In these flows, you can default and validate payroll
based on HR attributes.
• Add Assignment
• Add Pending Worker
• Create job Offer
• New Hire
Related Topics
• Attributes for Payroll Terms
• Navigation From Payroll Terms
• Payroll Terms: Exceptions and Adaptations
This table lists the main attributes of the payroll terms and exceptions for any attribute, if any.
For more information on the payroll terms attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center.
Related Topics
• Overview of Payroll Terms
• Navigation From Payroll Terms
• Payroll Terms: Exceptions and Adaptations
119
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
120
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Related Topics
• Overview of Payroll Terms
• Attributes for Payroll Terms
• Payroll Terms: Exceptions and Adaptations
Exceptions
This table lists rules that can't be currently implemented for the payroll terms business object.
Default on entry into Object Defaulting, Field • Add Assignment Payroll section Payroll
region, Default on tab-out Modification, Field
and validation on tab-out Validation • Add Pending Worker
not supported • Create job Offer
• New Hire
Adaptations
This table lists rules where you can vary the rule logic to achieve the result.
Rule Rule Type Actions Impacted Section Impacted Fields Impacted Comments
Always identify the Business Object All All All For example, in the
required flow that you Validation new hire flow, you
want to validate payroll can validate the
with. payroll based on HR
attributes, such as job.
Always identify the Business Object All All All You can use
required flow that you Defaulting appropriate HCM
want to default payroll Params to base your
with. logic.
Related Topics
• Overview of Payroll Terms
• Attributes for Payroll Terms
• Navigation From Payroll Terms
121
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Person
Person Business Objects
The Person business objects are a hierarchical collection of several smaller objects containing specific details of a
person. Here's some info about the Person business objects.
• All Person child objects' names begin with person except the Address object. The business objects are named
as such to help you easily identify their contents and write validation rules.
• The Person family of objects comprises of the Person object at the parent level and a 1 to 1 relationship between
the parent Person object and the child Person Detail object.
• The other children Person objects such as the Person Passport, Person Citizenship, Person Driver License, and
so on have a 1 to many relationship with the Person object because a person may have multiple passports,
citizenships, driver licenses, and so on..
The entire HCM suite of applications use these objects in different flows. The starting point for any rule is the object
containing the field. You can only use the Object Validation rule type for the Person objects. You can't default values
either at the object-level or at the field-level, or use the Object Field Validation rule type for the entire family of Person
objects.
122
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
The starting point is most likely the object containing the field to be validated, but, not always. This is especially true
with the family of Person objects. If your use case is to validate an email address or a national identifier, it's helpful to
analyze your requirement in detail to understand what's being validated and the criteria for the validation.
For example, if your requirement is to validate the format of a national identifier, address line, name, phone number,
and so on, related to 1 child object only, then you have to start with the corresponding child object. However, if your
requirement is that a person must have at least one national identifier entered, with or without any additional criteria,
what you're validating is the person and the criteria is having one or more national identifiers of a certain type or not.
So, in this case, your starting point is the Person object and not the Person National Identifier object. The family of
Person business objects is structured in way so that you can traverse to any other object to sample its values when in
another object.
123
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Related Topics
• Considerations for Rule Designing
• Navigation From and To Person
• Person: Exceptions and Adaptations
Address
Overview of Address
The Address business object contains address details including address line 1, city, state, postal code, country, and so on
for either a person or a location based on the PER_ADDRESSES_F table.
• DERIVED_LOCALE
• DQ_VALIDATION_LEVEL
For more information on the Address attributes, refer to the Tables and Views for HCM guide on the Oracle Help Center
(docs.oracle.com).
124
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Navigation From and To Person
Related Topics
• Person: Exceptions and Adaptations
KW Validate Address Line 3 Object Validation This rule validates if address line 3 in the
Kuwait address style is valid as per the Kuwait
governorate.
Person
Overview of Person
The Person business object contains limited biographical information such as date of birth, date of death, blood type,
and so on, based on the PER_PERSONS table.
125
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• Hire an Employee
• Local and Global Transfer
• People to Cover
• Personal Details
• PARTY_ID
• USER_GUID
• CATEGORY_CODE
For more information on the Person attributes, refer to the Tables and Views for HCM guide on the Oracle Help Center
(docs.oracle.com).
The Person business objects hierarchy includes the Person business object at the highest level in the hierarchy followed
by other Person child business objects that hold personal details in a 1 to 1 relationship with the person. For example,
the Passport business object holds info about 1 or more passports of a person, the Citizenship business object holds
1 or more citizenship entries for a person, and so on. The Person business object names easily help you identify the
business object you need to validate.
This section lists the business objects you can navigate to and from the Person business object. The only type of
rule Person business objects support is Object Validation. The Person business objects don't support default or field
validation rules.
Typically, the starting point is the Person business object containing the field to be validated, but not always. While it
may seem like for a given use case we are validating the email address or the national identifier, you need to further
analyze your requirement in detail for what you're validating and what's the validation criteria.
For example,
• If your requirement is to validate the format of an attribute such as the national identifier, address line 1, last
name, phone number, and so on, related to just one record, then you need to start with the corresponding child
business object.
• If your requirement is that a person must have at least one national identifier or the criteria is having one or
more national identifiers of a certain type or not, you need to start with the Person business object instead of
the Person National Identifier business object. You can always traverse to any other Person business object to
sample its values when you're in another business object.
Consider the following information when navigating to the Person business object.
126
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Worker Assignment row variable (variant 2) To check for attributes of Person and then from
there other children business objects of Person
with additional row variable declarations.
Worker Work Relationship row variable (variant 2) To access the Person business object, you need
to access it through the Worker Assignment
business object. To check for attributes of
Person and then from there other children
business objects of Person with additional row
variable declarations.
Any Person Child Business Object row variable (variant 2) When navigating to the Person business object
from any of its own children, you need to use
for example, Person National Identifier the row variable variant 2.
Person Contact Relationship row variable (variant 1) When working with the Contact Relationship
business object you have two options (both
row variables of Variant 2) to access either, the
Person or the Contact Person. The Person ID
on the Person Contact Relationship business
object is the Person ID of the worker. The
Contact Person ID is the Person ID of the
contact.
Worker Assignment row variable Get Assignment You must use caution when
accessing the Worker Assignment
business object because it
fetches all assignments for
all work relationships of a
person. You can use only rowset
declaration, if it's appropriate. After
accessing Worker Assignment,
the rest of your rule needs to
be encapsulated under the "If
WorkTermsAssignmentId NOT
NULL" condition. This, even
before you declare any further row
variables from Worker Assignment
or use any of its fields. You need
to iterate over each assignment
record to determine your match,
for example, primary assignment.
127
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Any Person Child Business Object rowset variable • Get Contact Person One person record can have
multiple records within a Person
• Get Person Address child business object. For example,
• Get Person Address Usage Worker A can have a US and a UK
national identifier record. When
• Get Person Citizenship navigating from Person to the
child, you may need to declare
• Get Person Contact
a rowset variable to iterate over
Relationship
the children rows to detect your
• Get Person Delivery Method condition.
Person Extra Information rowset variable Get Person Extra Information This is to iterate over all Person
Extensible Flexfields (EFF) context
rows for a given person in a
subsequent row collection looping
block. Use the Get Person Extra
Information view accessor to
access a set of records from the
Person Extra Information business
object displayed in Autocomplete
Rules for a specified person ID.
128
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Person Profile Education and rowset variable Get Profile Use the Get Profile view accessor
Person Profile Certification to traverse from the Person
business object to the Person
Profile Education and Person
Profile Certification business
objects. For example, you can
validate the education degree or
certification validity, or both when
promoting your worker.
Related Topics
• Overview of Worker Assignment
• Autocomplete Rule Variables
Exceptions
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Person Legislative Business Object All applicable Person Details, All You may sample a
Information business Validation Employment Actions Legislative Info mandatory field of
object validation the Legislative Info
is triggered before section for null value
entry into the to determine when to
Person Legislative trigger the validation.
Information section The Legislative Info is
validated once when
exiting the Person
Details section and
again after exiting
the Legislative Info
section.
Person Legislative Business Object All applicable Legislative Info All N/A
Information business Validation Employment Actions
object validation
doesn't trigger
after the Legislative
Information section, if
a predefined field isn't
modified
129
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Can't determine Business Object All applicable non- Any Person related All The rule will trigger
context of addition Validation Employment Actions section regardless of where
or change in the this business object
absence of When of is being used. For
Why section example, if you want
to validate a contact
type in the Benefits
People to Cover page,
but not the Global HR
Family and Emergency
Contacts page, there's
no way to restrict this
validation to only
the People to Cover
page. In some cases,
the user role may be
used as a proxy for
when this addition or
change occurs.
Adaptations
This table lists rules where you can vary the rule logic to achieve the result.
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
May not use Effective Business Object All All All Must use ChangeDate
Date fields directly on Validation HCM Params for
the business object for sampling effective
date validations dates of any Person
related business
objects. Doesn't apply
to other non-effective
dates like, issue date,
expiry date, and so on.
Cannot traverse Business Object All applicable Any Person related All Must use HCM Params
to When and Why Validation Employment Actions section to determine state of
business object to values in the When
determine any field and Why section.
value entered in
the When and Why
section.
Validating presence Business Object All Person Details All Identify the section
or absence, or both Validation and the sequence
of Person children in the page where
business objects like it occurs. You can
Passport, Drivers always start validation
Licenses, NID, and so in a given business
on object, navigate up
to the parent Person
business object and
then navigate back
into another child
130
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
business object of
Person. For example,
to ensure citizenship
is entered prior to
passport, you may
write the validation on
the Person Passport
business object,
navigate back up
to Person and then
navigate down to the
Person Citizenship
business object
iterating over it to
detect presence/
absence. But in a
new hire flow, where
Passport is asked for
prior to Citizenship,
this kind of validation
will lock you and
prevent you from
proceeding.
Person Address
Overview of Person Address
The Person Address business object contains the relationship between addresses in the PER_ADDRESSES_F table and
the person. It identifies the type of address for the person. This is based on the PER_PERSON_ADDR_USAGES_F table.
131
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• People to Cover
For more information on the Person Address attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center (docs.oracle.com).
132
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Navigation From and To Person
• Autocomplete Rule Variables
Related Topics
• Person: Exceptions and Adaptations
Person Citizenship
Overview of Person Citizenship
The Person Citizenship business object contains a person's citizenship details based on the PER_CITIZENSHIPS table.
133
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Person Citizenship attributes, refer to the Tables and Views for HCM guide on the Oracle
Help Center (docs..oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Overview of Person
Related Topics
• Person: Exceptions and Adaptations
134
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• END_LIFE_REASON_ID
• START_LIFE_REASON_ID
• THIRD_PARTY_PAY_FLAG
• CONT_INFORMATION21
• CONT_INFORMATION22
• CONT_INFORMATION23
• CONT_INFORMATION24
• CONT_INFORMATION25
• CONT_INFORMATION26
• CONT_INFORMATION271
• CONT_INFORMATION28
• CONT_INFORMATION29
• CONT_INFORMATION30
• CONT_INFORMATION_NUMBER1
• CONT_INFORMATION_NUMBER2
• CONT_INFORMATION_NUMBER3
• CONT_INFORMATION_NUMBER4
• CONT_INFORMATION_NUMBER5
• CONT_INFORMATION_NUMBER6
• CONT_INFORMATION_NUMBER7
• CONT_INFORMATION_NUMBER8
• CONT_INFORMATION_NUMBER9
• CONT_INFORMATION_NUMBER10
• CONT_INFORMATION_NUMBER11
• CONT_INFORMATION_NUMBER12
135
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• CONT_INFORMATION_NUMBER134
• CONT_INFORMATION_NUMBER14
• CONT_INFORMATION_NUMBER15
• CONT_INFORMATION_NUMBER16
• CONT_INFORMATION_NUMBER17
• CONT_INFORMATION_NUMBER18
• CONT_INFORMATION_NUMBER19
• CONT_INFORMATION_NUMBER20
For more information on the Person Contact Relationship attributes, refer to the Tables and Views for HCM guide on the
Oracle Help Center (docs.oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Contact Person Row Variable (Variant 2) Get Contact Person You can navigate to the Contact
Person business object and access
the person information related to
the contact.
Related Topics
• Person: Exceptions and Adaptations
Validate if Contact Exists Based on the Last Object Validation This rule validates if a contact's last name, date
Name Date of Birth and Relationship of birth, and relationship matches with the
136
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Validate if Contact Exists Based on the Name Object Validation This rule validates if a contact's name and
and Relationship relationship matches with the person's existing
contacts' name and relationship.
Validate if Contact Exists Based on National ID Object Validation This rule validates if a contact's national ID
matches with the person's existing contacts'
national ID.
Validate if Contact Exists Based on the Name Object Validation This rule validates if a contact's name, date
Date of Birth and Relationship of birth, and relationship matches with the
person's existing contacts' name, date of birth,
and relationship.
The Person Delivery Method business object impacts these responsive flows.
For more information on the Person Delivery Method attributes, refer to the Tables and Views for HCM guide on the
Oracle Help Center (docs.oracle.com).
137
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
Person Details
Overview of Person Detail
The Person Detail business object contains the person number, primary email, primary phone, primary national
identifier, and primary mailing address for people based on the PER_ALL_PEOPLE_F table.
This business object can typically be used to validate a manually specified person number.
For more information on the Person Detail attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center.
138
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
Person Disability
Overview of Person Disability
The Person Disability business object contains a person's disability info such as blindness, hearing impairment, work
restrictions and so on based on the PER_DISABILITIES_F table.
This business object can typically be used to validate that the disability registration dates don't overlap.
The Person Disability business object impacts the Disability Info section in the Personal Details responsive flow.
For more information on the Person Disability attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center.
139
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
The Person Driver License business object impacts these responsive flows.
For more information on the Person Driver License attributes, refer to the Tables and Views for HCM guide on the Oracle
Help Center (docs.oracle.com).
140
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
Person Email
Overview of Person Email
The Person Email business object contains the person's email address details based on the PER_EMAIL_ADDRESSES
table.
141
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• People to Cover
For more information on the Person Email attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center (docs.oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
Person Ethnicity
Overview of Person Ethnicity
The Person Ethnicity business object contains the person's ethnicity and race details based on the PER_ETHNICITIES
table.
142
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• Create Candidate
• Family and Emergency Contacts
• Hire an Employee
• Local and Global Transfer
• People to Cover
• Personal Details
For more information on the Person Ethnicity attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center (docs.oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
143
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
This business object impacts the Person Identifiers for External Applications responsive flow.
For more information on the Person Identifiers for External Application attributes, refer to the Tables and Views for HCM
guide on the Oracle Help Center (docs.oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
144
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Person Legislative Information attributes, refer to the Tables and Views for HCM guide on
the Oracle Help Center (docs.oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
145
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Related Topics
• Person: Exceptions and Adaptations
GB Validate Teachers Pension Temporary NI Field Validation This rule validates if the format of the TPS
Number Format Temporary NI Number conforms with Teachers'
Pension requirements.
Person Name
Overview of Person Name
The Person Name business object contains a person's name details based on the PER_PERSON_NAMES_F table.
• NAME_INFORMATION_CATEGORY
146
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• ATTRIBUTE1
• ATTRIBUTE2
• ATTRIBUTE3
• ATTRIBUTE4
• ATTRIBUTE5
• ATTRIBUTE6
• ATTRIBUTE7
• ATTRIBUTE8
• ATTRIBUTE9
• ATTRIBUTE10
• ATTRIBUTE11
• ATTRIBUTE12
• ATTRIBUTE13
• ATTRIBUTE14
• ATTRIBUTE15
• ATTRIBUTE16
• ATTRIBUTE17
• ATTRIBUTE18
• ATTRIBUTE19
• ATTRIBUTE20
• ATTRIBUTE21
• ATTRIBUTE22
• ATTRIBUTE23
• ATTRIBUTE24
• ATTRIBUTE25
• ATTRIBUTE26
• ATTRIBUTE27
• ATTRIBUTE28
• ATTRIBUTE29
• ATTRIBUTE30
For more information on the Person Name attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center (docs.oracle.com).
147
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
148
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Person National Identifiers' attributes, refer to the Tables and Views for HCM guide on the
Oracle Help Center (docs.oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
Person Passport
Overview of Person Passport
The Person Passport business object contains a person's passport details such as the issuing country, passport type,
and passport number based on the PER_PASSPORTS table.
149
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Person Passport attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center (docs.oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
Person Phone
Overview of Person Phone
The Person Phone business object contains a person's phone details such as the country code, phone type, area code,
and phone number based on the PER_PHONES table.
150
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Person Phone attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center (docs.oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
151
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Validate Phone Number Format Object Validation This rule validates the phone number format
based on the phone type. Shows an error
message if the phone number isn't in the
defined format and length, for a given country
and the selected phone type. For example,
for Australia, if the value entered for a mobile
phone doesn't start with 04, an error message
is shown.
Validate Area Code Format Object Validation This rule validates the area code format based
on the phone type. Shows an error message if
the area code isn't in the defined format and
length, for a given country and the selected
phone type. For example, for India, the area
code must be in the range of 2 to 4 digits when
the phone type isn't a mobile.
Validate Area Code is Blank Object Validation This rule validates that the area code is null,
based on the phone type. Shows an error
message if the user enters a value for the area
code when no area code is expected, based on
country code and the phone type. For example,
if the user enters a number for the area code
if the country is India and the phone type is
mobile, an error message is displayed.
Validate Area Code Based on Phone Type Object Validation This rule validates if the area code is entered
based on the phone type. Shows an error
message if the user doesn't enter a value for
the area code when the area code is required,
based on country code and the phone type.
Person Religion
Overview of Person Religion
The Person Religion business object contains a person's religious details based on the PER_RELIGIONS table.
152
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• Hire an Employee
• Local and Global Transfer
• People to Cover
• Personal Details
For more information on the Person Religion attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center (docs.oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
Person Visa
Overview of Person Visa
The Person Visa business object contains a person's visa or permit details such as the issuing country, type, and
number based on the PER_VISAS_PERMITS_F table.
153
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Person Visa attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center (docs.oracle.com).
Person Row Variable (Variant 2) Get Person You can navigate to other business
objects traversing row variable
(variant 2) on Get Person.
Related Topics
• Person: Exceptions and Adaptations
154
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Profile
Person Profile Certification
Overview of Person Profile Certification
The Person Profile Certification business object contains details such as the Issue Date, Original Issue Year, and
all descriptive flexfield attributes for the certification added in the person profile. This is based on the table:
HRT_CERTIFICATION_ITEMS_V.
This business object can be used to validate the license and certification record added for a person profile.
The Person Profile Certification business object impacts the Skills and Qualifications responsive flow.
Issue Date Issue Date Date on which this certificate was issued.
Original Issue Year Original Issue Year Year when this certificate was issued.
Profile Row Variable (Variant 2) Get Profile You can navigate to other business
objects by traversing the row
variable on Get Profile.
Person Row Variable (Variant 2) Get Profile > Get Person You can navigate to Get Person
by traversing the row variable on
155
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Certification Row Variable (Variant 2) Get Profile > Get Certifications You can fetch the attributes or
descriptive flexfields of the Person
Profile Certification.
Education Row Variable (Variant 2) Get Profile > Get Education You can fetch the attributes or
descriptive flexfields of any other
degree records related to that
profile.
Keep these points in mind when creating rules for the Person Profile Certification business object:
• For all the rules, always add the condition to validate the person profile degree row, otherwise the same rule will
get triggered for the Model Profile degree as well.
• Add the condition on the attribute context if you want to trigger this rule for a specific person degree section.
• Though all rule types are supported for this business object, we have only validated the Object Validation Rule
based on the scope.
Here's a sample rule:
Name: Certification_rule1
Rule Type: Object Validation Rule Type
Business Object: Person Profile Certification
Description: Certificate Original issue year must be current or past year .
Status: Active
Rule Logic
{
profileRow = Get first row (Person Profile Certification.Get Profile)
If (
profileRow.Current row Is not null AND
profileRow.Person ID Is not null AND
Person Profile Certification.Attribute Context Equal to "PERSON_CERTIFICATION"
)
{
If (
Person Profile Certification.Original Issue Year Is not null AND
Person Profile Certification.Original Issue Year Greater than Convert integer to long ( Year of ( Today's
date ( )))
)
{
Show an error message : "Original issue year value must be current year or any past year. ""
}
156
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
}
}
Education Levels Education Levels Education level of the person degree records.
Year Acquired Year Acquired Year Acquired Year when degree was acquired.
Profile Row Variable (Variant 2) Get Profile You can navigate to other business
objects by traversing the row
variable on Get Profile.
157
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Person Row Variable (Variant 2) Get Profile > Get Person You can navigate to Get Person
by traversing the row variable on
Get Profile to fetch attributes,
descriptive flexfields, and
extensible flexfields from Person
and any other object that it
allows access to, for the Skills and
Qualifications UI.
Certification Row Variable (Variant 2) Get Profile > Get Certifications You can fetch the attributes or
descriptive flexfields of the Person
Profile Certification.
Education Row Variable (Variant 2) Get Profile > Get Education You can fetch the attributes or
descriptive flexfields of any other
degree records related to that
profile.
Keep these points in mind when creating rules for the Person Profile Education business object:
• For all the rules, always add the condition to validate the person profile degree row, otherwise the same rule will
get triggered for the Model Profile degree as well.
• Add the condition on the attribute context if you want to trigger this rule for a specific person degree section.
• Though all rule types are supported for this business object, we have only validated the Object Validation Rule
based on the scope.
Here's a sample rule:
Name: Education_rule1
Rule Type: Object Validation Rule Type
Business Object: Person Profile Education
Description: Check Year Acquired must have a value if Instructional Program <> blank and Education Level is
<> 14, 16, 18, 20, or 22
Status: Active
Rule Logic :
{
158
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
)
{
Show an error message : "You must enter a value for Year Acquired ."
}
}
}
Recruiting
Interview Location
Overview of Interview Location
The Interview Location business object contains interview location details such as the access code, address, area code,
country code, extension, format, location details, phone, web conference link based on the IRC_IS_LOCATIONS table.
159
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Interview Location attributes, refer to the Tables and Views for HCM guide on the Oracle
Help Center.
160
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Schedule Interview Use row variable (variant 2) Get Interview Schedules You can navigate to other business
object traversing row variable
(variant 2) on Get Interview
Schedules.
Schedule Use row variable (variant 2) Get Schedules You can navigate to other business
object traversing row variable
(variant 2) on Get Schedules.
Interview Participants
Overview of Interview Participants
The Interview Participants business object contains interview participant details such as the person ID, participant type,
schedule interview ID based on the RC_IS_INTERVIEW_PART table.
161
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Interview Participants attributes, refer to the Tables and Views for HCM guide on the Oracle
Help Center.
Schedule Interview Use row variable (variant 2) getScheduleInterviewRow You can navigate to other
business object traversing
row variable (variant 2) on
getScheduleInterviewRow.
162
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Job Offer
Overview of Job Offers
The Job Offers business object contains job offer details such as the offer name, description, eSignature instructions,
expiration date based on the IRC_OFFERS table.
• Defaulting the offer letter template based on rules driven by recruiting type, work structures, employment type,
internal or external, and many more.
• Validate different offer attributes such as Offer Expiration date.
The Job Offers business object impacts these responsive flows:
163
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Job Offers attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center.
164
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
From Job Offers Business Object How Row Variable Name Purpose
to Other Entities
Candidate Person Row related to Candidate Person ID Person details of the candidate
who applied for the job.
Content Library Row related to Job Offer Letter Fetches the offer letters.
Get Offer Team Members View accessor getOfferTeamMembers Fetches the hiring manager,
recruiter, and collaborators details
of the current job offer.
Job Requisition
Overview of Job Requisition
The Job Requisition business object contains job requisition details such as the requisition type, recruiting type,
requisition number, requisition title, number of openings and many more based on the IRC_REQUISITIONS table.
• Job Requisition
The Job Requisition business object impacts these responsive flows:
165
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
166
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
JOB_FUNCTION_CODE Job Function Stores the job function code for Yes
this Requisition as a lookup code.
The corresponding lookup type is
JOB_FUNCTION_CODE.
For more information on the Job Requisition attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center.
167
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Salary
Overview of Salary
The Salary business object contains details, such as the salary basis and salary amount. These details come from the
CMP_SALARY table. You typically use the Salary business object in these cases.
• Default a salary basis depending on whether the person's assignment has them as hourly or salaried
• Default a salary basis according to the FLSA status of the person's job.
168
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• Validate that the salary basis frequency aligns with people's working hours. For example, make sure that people
working full time are assigned an annual salary. And make sure people working part time are assigned an
hourly salary.
• Prevent people from reducing a salary amount.
• Prevent people without the HR Specialist role from increasing a salary amount by more than a specified
percentage.
The Salary business object impacts these responsive flows.
• Change Salary
• Create Job Offer
• Edit Job Offer
• Person and Employment actions that include the Salary section
• Salary History
In Transaction Design Studio, the separate Create Job Offer and Edit Job Offer actions are the single action Create
and Edit Job Offer.
CAUTION: To avoid getting exceptions, you need to make sure that your Autocomplete rules don't contradict or
conflict with each other because all rules run simultaneously.
You can assign or set defaults for only the Salary Basis, Salary Amount, and Next Salary Review Date attributes. You
can use the other attributes for querying values or writing conditions. Don't update the other attributes.
Here's a list of additional attributes that you can use in criteria and conditions, but not to default. You also can't define
field validation or modifications rules with these attributes. None of these attributes are supported by an LOV, nor
should they be assigned.
169
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Adjustment Percentage Quantity of money by which a salary is increased or decreased expressed as a percentage.
Annual Full-time Salary Salary for a full year of work at 1 full-time equivalent.
Full-time Equivalent Factor that represents the proportion of full-time hours that a person works.
Range Position Position where a salary falls between the salary minimum and salary maximum for the person's grade,
expressed as a percentage of 100.
Salary Range Minimum Salary range minimum based on the grade rate linked to the salary basis and differential applicable.
Salary Range Midpoint Salary range midpoint based on the grade rate linked to the salary basis and differential applicable.
Salary Range Maximum Salary range maximum based on the grade rate linked to the salary basis and differential applicable.
Quartile Numeric identifier for the quartile. The salary range is divided into four equal parts, with Quartile 1 as
the lowest.
Quintile Numeric identifier for the quintile. The salary range is divided into five equal parts, with Quintile 1 as
the lowest.
Reference
For more information about the Salary attributes, refer to the Tables and Views for HCM guide on Oracle Help Center
(docs.oracle.com).
170
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Salary Basis Use row variable (variant 1) Row related to Salary Basis To fetch attributes of the salary
basis. Attributes of Lookup - Salary
Basis.
Action Use row variable (variant 1) Row related to Action To fetch attributes of the action.
Attributes of Lookup - Action.
Reason Use row variable (variant 1) Row related to Reason To fetch attributes of the reason.
Attributes of Lookup - Reason.
When and Why Use row variable (variant 2) Get When and Why To fetch attributes, descriptive
flexfield segments, or extended
flexfield segments from the When
and Why object for only the
Change Salary action.
Worker Assignment Use row variable (variant 2) Get Assignment To fetch attributes or descriptive
flexfield segments of the work
assignment and any other object
that it provides access to.
Salary Use row variable (variant 2) Get Existing Salary To fetch current salary attributes.
Salary Use row variable (variant 2) Get Existing Salary History To fetch all of the salary records.
Sometimes, you can adapt it by adding a unique additional condition or coding style. These adaptations might not be
functionally obvious per your requirement, but instead are technically required to control for your specific requirement.
Exceptions
Here's a list of the rules that you can't currently implement for the Salary business object.
Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
2 Can't Change the Object Defaulting All Salary All The default
Default When Re- salary basis is
Entering a Section set according
to criteria, for
example, about
171
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
the assignment or
job. If you change
that criteria and
return to the Salary
section, the default
salary basis won't
be updated.
172
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
assignment to full
time. You need to
select salary basis
with an hourly
frequency for the
part timer.
5 Can Set Default the Object Defaulting All Salary All The default salary
First Time Salary is attributes are
Created set according to
criteria the first
time you propose
the salary or
when salary is
created during
a conversion or
copy process.
They won't default
again when you
correct an existing
salary. They also
won't default again
when you return
to the previous
sections, change
criteria, and go
back to the salary
section. And they
won't default again
when you change
criteria during a
conversion flow,
such as pending
worker, where
the salary already
exists.
6 Field Validation Field Validation All Salary Field with The field validation
Runs for Only That Validation rule runs when you
Field change the value
of the field and
then press Tab or
click elsewhere.
The rule doesn't
run when you
make changes
to other fields
that affect the
salary amount.
For example,
when you change
the adjustment
amount
percentage or
incremental,
standard,
or advanced
component values.
To validate how
changes made
to other fields
affect the salary
173
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
amount, you're
better off using
object validation.
Adaptations
Here's a list of the rules where you can vary the rule logic to achieve the result you want.
Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
1 Validate Salary Field Validation Change Flows Salary Salary Amount Validation runs
Amount Field even before
someone enters
the Salary section.
You need to
sample old and
new values for
the NOT NULL
condition to make
sure it runs only
after they change
the value in the
Salary Amount
field.
3 Set Default Salary Object Defaulting Create and Edit Salary Salary Basis When accessing
Basis During Offer Offer the person's
174
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Number Rule Rule Type Actions Impacted Sections Fields Impacted Comments
Impacted
assignment for
criteria, check
for Assignment
Row NOT NULL
followed by
WorkTermsAssignmentId
NOT NULL to make
sure there isn't
an error during a
subsequent Move
to HR process.
Default Salary Basis Using Job FLSA Code Object Defaulting This rule defaults a salary basis according to the
person's job FSLA status.
• If FLSA status is EXEMPT, it sets an annual
salary basis
• Else, it sets an hourly salary basis
The rule also defaults a date for the next salary
review that's 1 year after the salary start date.
This rule doesn't run for certain areas, such as
HCM Data Loader and REST services. And the
rule can't detect date-effective changes to the
job FLSA. When you start copying the delivered
rule, the salary basis fields become empty. You
need to configure the values in your version of
the rule.
Validate That the Salary Basis Frequency for a Object Validation This rule validates salary basis frequency
Part Timer Is Hourly according to whether the person's assignment
is full time or part time. The rule raises an error
when either of these conditions is true:
175
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Warning for Next Salary Review Date Field Modification This rule validates that the date set for the next
salary review is more than 1 year after the salary
start date. If the date is more than 1 year, it
raises a warning. The rule is limited to Offer, HR,
and Compensation flows only.
Validate That the Proposed Salary Amount Isn't Field Validation This rule validates that the proposed salary
Less Than Current Salary Amount amount isn't less than the current salary in
promotion actions. The rule is open to HR and
Compensation flows, processes, HCM Data
Loader, and REST services whenever there's
an existing salary record and you're creating
another record.
Validate That the Proposed Salary Amount Is Field Validation This rule validates that the proposed salary
Not Zero amount doesn't equal 0 in promotion actions.
The rule is limited to HR and Compensation
flows, processes, HCM Data Loader, and REST
services where there's an existing salary and
you're creating another record.
Make sure that the existing salary data also
doesn't violate this rule. The rule could raise an
error even when the current salary amount is
equal to 0.
You can assign or set defaults for only the You can use the other attributes to query for values or write conditions, but don't update the other
Salary Basis, Salary Amount, and Next attributes.
Salary Review Date attributes.
You mainly use the Salary business object You can use the Salary business object attributes to validate the other types of salary bases, but not
for salary basis of the user determined to set defaults. You can default any type of salary basis, but you can default the salary amount only for
type. salary determined by user type.
You can't default or validate values or These components don't have business objects to support defaulting and validation.
percentages of incremental and simple
salary components.
176
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
You should avoid defaulting the salary Instead, set a validation rule to ensure that people enter the correct amount.
amount.
You can't set default values for any fields The default attributes are set according to criteria, for example, about the assignment or job, the
during criteria corrections. first time you propose the salary. If you go back and change criteria values, then return to the salary
section, the salary basis isn't updated.
Similarly when you correct an existing salary, none of the salary attributes default again, even though
the criteria changed.
You can run object validation only on If there are other sections such as Individual Compensation, then object validation runs when
submit when the salary section is the last the person clicks the OK button in that section. Starting with release 22A, validation runs on both
section of the compact guided flows. Continue and Submit.
You can't make the rule consider multiple If you make multiple assignment changes in a day that affect the criteria determining the defaulting,
changes that happen on a single day. the Salary section won't create the business object. It also won't treat the change as new salary because
salary records don't support multiple changes in a day.
You can’t make the rule consider criteria When you create an assignment change on the same day that salary starts, and the changes affect the
changes when salary exists for the day. salary defaulting criteria, the salary section won't default. Salary treats the change as a correction.
You can't change values in other sections When Salary object rules raise an error, you can fix issues only in the salary section of the Offer and
to fix validation issues in the salary HR flows. You can't go back to previous sections. Only after you select a valid value can you return to
section. previous sections, such as Assignment. If you need to change information in previous sections, then
you need to cancel the transaction and start over. For example, the rule validates that the salary basis
frequency has to be hourly for a part timer. When you get the error, you can't change the person's
assignment to full time. You need to select a salary basis with an hourly frequency for the part timer.
You need to make sure that rules don't You could face exceptions if they contradict or conflict.
contradict or conflict with each other
because all rules run simultaneously.
Field validation rules run when you change Rules won't run for changes made to other fields that affect salary amount, such as adjustment
the value of the particular field and then amount percentage, or component values when you use incremental, standard, or advanced
press Tab or click elsewhere. components. An object validation, rather than a field validation rule, would be better suited to handle
such scenarios.
You should avoid defaulting or validating Explicitly exclude these values using the HcmParam CMP_Download_Salary.
values coming from the Download Salaries
task.
• Offer flows: Create Offer, Edit Offer, and Move to HR. Also test an internal posting flow using the Manage Job
Offers task.
• HR flows: Hire, Convert Pending Worker, Local and Global Transfer, Change Working Hours, and Add
Assignment.
• Compensation flows: Change Salary and Salary History. Be sure to test Change Salary from both the My
Teams area as a line manager and the My Client Groups area as an HR Specialist. Test Salary History from the
My Client Groups area. Because security determines access to both these areas and the actions, you need to
test them separately.
177
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
You also need to test how the salary rules work with these processes, tools, and tasks:
• Grade step progression processes
• Workforce Compensation Transfer process
• HCM Data Loader and the Salary object
• Salaries REST services
• Download Salaries task
• Offer and Pending Worker Conversion processes
Succession Plans
Succession Plans
Overview of Succession Plans
The Succession Plans business object contains succession related information about an incumbent, job, or position,
including a list of plan candidates based on the HRM_PLANS table.
178
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Succession Plans attributes, refer to the Tables and Views for HCM guide on the Oracle
Help Center (docs.oracle.com).
This illustration depicts the other business objects that you access from the Succession Plans business object.
The Succession Plans business object gets assignment related information from the Assignment business object.
Information of the succession plan candidates and owners are stored in the Succession Plan Candidates and Succession
Plan Owners business objects.
179
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get All Plans with the Same Incumbent Rowset variable Access all records from the Succession Plans
business object displayed in Autocomplete
Rules that have the same incumbent as the
current plan.
Get All Accessible Plans with the Same Rowset variable Access all accessible records from the
Incumbent Succession Plans business object displayed
in Autocomplete Rules that have the same
incumbent as the current plan.
Get All Plans with the Same Job Rowset variable Access all job plan records from the
Succession Plans business object displayed in
Autocomplete Rules that have the same job as
the current plan.
Get All Accessible Plans with the Same Job Rowset variable Access all accessible job plan records from the
Succession Plans business object displayed in
Autocomplete Rules that have the same job as
the current plan.
Get All Plans with the Same Position Rowset variable Access all position plan records from the
Succession Plans business object displayed in
Autocomplete that have the same position as
the current plan.
180
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get All Accessible Plans with the Same Position Rowset variable Access all accessible position plan records from
the Succession Plans business object displayed
in Autocomplete Rules that have the same
position as the current plan.
Get Plan Type Row variable (variant 1) Access a set of records from the succession
plans business object displayed in
Autocomplete to get the plan type.
Get Plan Status Row variable (variant 1) Access a set of records from the succession
plans business object displayed in
Autocomplete to get the plan status.
Get Owner Type Row variable (variant 1) Access a set of records from the Succession
Plan Owners business object displayed in
Autocomplete to get the access type of the plan
owner.
Get Succession Plan Candidates Rowset variable Access a set of records from the Succession
Plan Candidates business object displayed in
Autocomplete to get all the candidate records
for the plan ID.
Get Succession Plan Owners Rowset variable Access a set of records from the Succession
Plan Owners business object displayed in
Autocomplete to get all the owner records for
the plan ID.
Get Plan Incumbent Primary Assignment Row variable (variant 2) Access a set of records from the Assignment
business object displayed in Autocomplete to
get the primary assignment record using the
person ID of the succession plan incumbent.
Get Logged In User Primary Assignment Row variable (variant 2) Access a set of records from the Assignment
business object displayed in Autocomplete to
get the primary assignment record using the
person ID of the user who is signed in.
Exceptions
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
181
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
• Ensure that the same candidate ranking is not assigned to more than 1 candidate in the plan.
• Ensure that the readiness of candidates included in the succession plan is restricted to specific readiness levels.
For example, the readiness should be Ready Now or Ready in 1-2 years only.
The Succession Plan Candidates business object impacts these responsive flows.
SUCCESSION_STATUS Succession Status Indicates if the candidate has moved to the role
defined in the succession plan
182
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
This image illustrates that the Succession Plans business object references the Succession Plan Candidates business
object which in turn references the Assignment business object.
Get Plan Candidate Primary Assignment Row variable (variant 2) Access a set of records from the Assignment
business object displayed in Autocomplete to
get the primary assignment record using the
person ID of the succession plan candidate.
Get Succession Plan Candidates Rowset variable Access a set of records from the Succession
Plan Candidates business object displayed in
183
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Exceptions
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
This business object can typically be used to validate the owner's primary assignment attributes. For example, you can
ensure that the owners added to the succession plan are from specific business units or departments.
The Succession Plan Owners business object impacts these responsive flows.
184
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
PLAN_ID Succession Plan ID ID of the succession plan that the owner owns
This image illustrates that the Succession Plans business object references the Succession Plan Owners business object
which in turn references the Assignment business object.
Get Plan Owner Primary Assignment Row variable (variant 2) Access a set of records from the Assignment
business object displayed in Autocomplete to
get the primary assignment record using the
person ID of the succession plan owner.
185
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get Owner Type Row variable (variant 1) Access a set of records from the Succession
Plan Owners business object displayed in
Autocomplete to get the access type of the plan
owner.
Get Succession Plan Owners Rowset variable Access a set of records from the Succession
Plan Owners business object displayed in
Autocomplete to get all the owner records for
the plan ID.
You typically create autocomplete rules for the Talent Review Meeting business object to validate Talent Review meeting
details. For example, you can create rules for these scenarios:
• Allow only persons who are in predefined roles to create a Talent Review meeting.
• Validate if the meeting date is before a certain predefined date.
• Validate that the Talent Review meeting name is according to the organization's guidelines.
• Validate the values entered in flexfields.
• Validate that the Talent Review meeting is in Not Started status when it's created.
• Validate that the selected business leader isn't a pending worker.
The rules you create for the Talent Review Meeting business object impact these responsive flows:
This table lists the main attributes you can use to configure the Talent Review Meeting business object with exceptions
where list of values aren't supported.
186
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
This table lists some of the attributes that you can select from the Row Related to Meeting Template ID list.
TMPL_STATUS_CODE Status
OWNER_ID Owner
187
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on Talent Review attributes, refer to the Tables and Views for HCM guide on the Oracle Help
Center.
188
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Consider the information shown in this table when navigating from the Talent Review Meeting business object.
Get Business Leader Primary Assignment Row variable (variant 2) Access a set of records from the Assignment
business object displayed in Autocomplete. Use
to get the business leader’s primary assignment
row by passing the business leader’s Person ID.
Get Logged in User Primary Assignment Row variable (variant 2) Access a set of records from the Assignment
business object displayed in Autocomplete. Use
to get the logged in user’s primary assignment
row by passing the logged in user’s Person ID.
Row Related to Meeting Status Row variable (variant 1) Access attributes of the Meeting Status
lookup.
Row Related to Meeting Template ID Row variable (variant 1) Access attributes of the Talent Review meeting
template.
Note: You can’t navigate to the Talent Review Meeting business object from other Autocomplete business objects.
189
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Workforce Structures
Job
Overview of Job
The Job business object contains employee, contingent worker, applicants, and benefits assignments' information
based on the PER_JOBS_F table.
190
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
FullPartTime Full Time or Part-Time Defines position or job as being full LOV_FullPartTime
time or part-time.
MedCheckupReq Medical Checkup Required Designating whether or not the job LOV_MedCheckupReq
requires a medical checkup
191
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Job attributes, refer to the Tables and Views for HCM guide on the Oracle Help Center
(docs.oracle.com).
As shown in the illustration, you can navigate to the Job business object using Get Job Name, Get Job Valid Grade, Get
Job Extra Information, Get Job Legislative Information, and Get Job United States Legislative Information.
In addition to directly using this object for defaulting and validating, you can also use it as a criteria to achieve other
defaulting and validating in objects that are called in subsequent sections involving the Job section.
Get Job Legislative Information row variable (variant 2) Access a set of records from the legislative
information business object displayed in
Autocomplete for a specified job.
Get Job Extra Information row variable (variant 2) Access a set of records from the extra
information business object displayed in
Autocomplete for a specified job.
192
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get Job United States Legislative Information row variable (variant 1) Access a set of records from the United
States legislative information business object
displayed in Autocomplete for a specified job.
Get Job Valid Grade row variable (variant 2) Access a set of records from job valid grades
business object displayed in Autocomplete for a
specified job ID.
Get Job Name row variable (variant 2) Access job name from the job business object
displayed in Autocomplete for a specified job ID.
Get Existing Job row variable (variant 2) Access a set of records from the Job business
object displayed in Autocomplete for an
existing Job ID.
Job: Exceptions
This table lists rules that can't be currently implemented for the Job business object.
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Can't default job name Object Defaulting, All Job Details Job Name Ability to use Job
Field Modification Name as a criteria for
a default into, say,
Assignment Name is
coming in future.
May not use any Any Rule Type All Job Details, Budget All This will be added in a
detail of the When Details future release
and Why section as
criteria for defaulting
or validation
Validate headcount on Field Validation, Field All Budget Details HC You may use
tab-out Modification headcount as criteria
in an Object Validation
rule when exiting
Budget Details
Validate FTE on tab- Field Validation, Field All Budget Details FTE You may use FTE as
out Modification criteria in an Object
Validation rule when
exiting Budget Details
193
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Default Full Time or Part Time to Full Time Object Defaultng This rule defaults the Full Time or Part Time
option to Full Time.
Default Regular or Temporary Value based on Object Field Modification This rule defaults the Regular or Temporary
Full Time or Part Time Option option to Regular when the Full Time or Part
Time option value is Full Time.
Validate Job Code Formatting Object Validation This rule validates whether the job code is a
numeric value and has 5 digits.
Validate Job Level based on Benchmark Option Object Validation This rule validates whether the job level isn't
blank when the job is a benchmark job.
Validate Job Name Formatting Object Validation This rule validates whether the job name starts
with an alpha-numeric character.
Position
Overview of Position
The Position business object contains employee, contingent worker, applicants, and benefits assignments information
based on the HR_ALL_POSITIONS_F table.
• Default Union option if Collective Agreement or Bargaining Unit, or both aren't null
• Default Collective Agreement based on job descriptive flexfield or extensible flexfield
• Default Full time or Part time value based on Working Hours
• Validate if FTE > 1 for certain types of positions
The Position business object impacts these responsive flows.
194
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
EffectiveEndDate Effective End Date End date of the date effective N/A
record of this position
EffectiveStartDate Effective Start Date Start date of the date effective N/A
record of this position
195
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Frequency Working Hours Frequency The time period in which working LOV_Frequency
hours is expressed
FullPartTime Full Time or Part Time Defines position or job as full time LOV_FullPartTime
or part-time.
FundedByExistingPosition Funded from Existing Position Position that's funded from an LOV_FundedByExistingPosition
existing position.
196
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
ProbationPeriodUnitCd Probation Period Unit The unit of measure for the LOV_ProbationPeriodUnitCd
probation period, for example,
weeks or months.
SeasonalEndDate Seasonal End Date Defines the last day of a seasonal N/A
position
SeasonalStartDate Seasonal Start Date Defines the start day of a seasonal N/A
position
StandardWorkingFrequency Standard Working Frequency The unit of measure for the LOV_StandardWorkingFrequency
standard working hours, for
example, day, week, or month.
TimeNormalFinish Time Normal Finish Time on which normal work hours N/A
end
TimeNormalStart Time Normal Start Time on which normal work hours N/A
begin
197
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
For more information on the Position attributes, refer to the Tables and Views for HCM guide on the Oracle Help Center
(docs.oracle.com).
As shown in the illustration, you can navigate from the Position business object using Get Position Name, Get Position
Valid Grades, Get Logged In User Primary Assignment, Get HCM Position Hierarchy, Get Position Extra Information, Get
Position Legislative Information, Get Predefined Enterprise Information, and Get Custom Enterprise Information.
This graphic illustrates the navigation between the Position business object and the view accessors used to navigate
from the Position business object.
198
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
In addition to directly using this object for defaulting and validating, you can also use it as a criteria to achieve other
defaulting and validating in objects that are called in subsequent sections involving the Position section.
All Lookups and 1:1 workforce structure setup row variable (Variant 1) To fetch attributes of various lookups as well
objects other objects they may further allow access
to, in particular, their respective EFFs (using
rowset)
Get Contingent Worker Incumbents by Position row variable (variant 2) Access the contingent worker incumbents
ID from the position business object displayed in
Autocomplete for an existing position
199
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Get Employee Incumbents by Position ID row variable (variant 2) Access the employee incumbents from
the position business object displayed in
Autocomplete for an existing position
Get Pending Worker Incumbents by Position ID row variable (variant 2) Access the pending worker incumbents from
the position business object displayed in
Autocomplete for an existing position
Get HCM Position Hierarchy row variable (variant 2) Access a set of records from HCM position
hierarchy business object displayed in
Autocomplete for a specified position ID.
Get Position Legislative Information row variable (variant 2) Access a set of records from the legislative
information business object displayed in
Autocomplete for a specified position.
Get Position Extra Information row variable (variant 2) Access a set of records from the extra
information business object displayed in
Autocomplete for a specified position.
Get Position Name row variable (variant 2) Access position name from the position
business object displayed in Autocomplete for a
specified position ID.
Get Enterprise Information row variable (variant 2) Access a set of records from the enterprise
information business object displayed in
Autocomplete for a position.
Get Position Valid Grades row variable (variant 2) Access a set of records from position job
valid grades business object displayed in
Autocomplete for a specified position ID.
Get Logged In User Primary Assignment row variable (variant 2) Access a set of records from the assignment
business object displayed in Autocomplete.
It is used to get the logged-in user primary
assignment row using the person ID.
Get Predefined Enterprise Information row variable (variant 2) Access a set of predefined records from
the enterprise information business object
displayed in Autocomplete for a position.
Get Custom Enterprise Information row variable (variant 2) Access a set of custom records from the
enterprise information business object
displayed in Autocomplete for a position.
Get Existing Position row variable (variant 2) Access a set of records from the Position
business object displayed in Autocomplete for
an existing position ID.
200
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Worker Assignment Use row variable (variant 2) To check for attributes of this object, for
example,: position details.
Position: Exceptions
This table lists rules that can't be currently implemented for the Position business object.
Rule Rule Type Actions Impacted Sections Impacted Fields Impacted Comments
Can't default position Object Defaulting, All Position Details Position Name Ability to use Position
name Field Modification Name as a criteria for
a default into, say,
Assignment Name
is slated for a future
release.
May not use any detail Any rule type All Position Details, All Ability is slated for a
of the When and Why Budget Details future release..
section as criteria for
default or validation
Can't validate Field Validation, Field All Budget Details HC This is a known
headcount on tab-out Modification issue. You may use
headcount as criteria
in an Object Validation
rule when exiting
Budget Details
Can't default or Field Validation, Field All Budget Details FTE You may use FTE as
validate FTE on tab Modification a criteria in an Object
out Validation rule when
exiting Budget Details
Default Overlap Allowed to Yes Object Defaulting This object defaulting rule type defaults the
Overlap Allowed option to Yes in the position
pages.
Default Probation Period based on Job Family Object Field Modifidcation This object field modification rule type defaults
of the Selected Job the Probation Period field based on the job
family of the selected job.
201
Oracle Fusion Cloud HCM Chapter 4
Configuring and Extending HCM Using Autocomplete Rules Business Objects in Autocomplete
Default Working Hour Frequency Based on Object Field Modifidcation This object field modification rule type defaults
Working Hours the Working Hours frequency based on the
number of working hours specified for a
position. For example, if the Working Hours
value specified is 40, then the Working Hours
frequency value will be defaulted to Weekly.
Validate Seasonal End Date based on Current Object Validation This object validation rule type validates
Date whether the seasonal end date doesn't exceed
90 days from the current date.
Validate Regular or Temporary based on Object Validation This object validation rule type validates
Position Type whether the position is temporary when the
position type is Pooled.
Validate Hiring Status based on Effective Start Object Validation This object validation rule type validates
Date whether the hiring status has a value other than
Proposed when the effective start date is in the
past.
Validate Position Name Formatting Object Validation This object validation rule type validates
whether the position name starts with an
alpha-numeric character.
202
Oracle Fusion Cloud HCM Chapter 5
Configuring and Extending HCM Using Autocomplete Rules Delivered Rules
5 Delivered Rules
Watch video
When you create a copy, select a name for the rule keeping in mind the purpose it serves for you. You can't however
change the business object, the rule type, and the field name (for field-level rule types). You can make as many copies of
it as you want.
Note: When providing a rule name, avoid using special characters, for example ":" or "'".
Rule Copy
To use a delivered rule as a final or starting point of your intended rule definition, you need to make a copy of it. If the
rule is exactly what you want to implement, then this will be helpful when you have value variations of the same rule.
For example, a value variation is one where the logic is same for 2 countries but the specific default assignment changes
based on the country. Since you can't implement a case or switch statement in Autocomplete Rules, it's recommended
you make a copy of a rule for each country rather than writing complex nested IF conditions. This can also help with
debugging issues in distributed development where multiple personnel are responsible for different work areas.
Ask these questions to decide whether to create one rule or many rules. Is the logic in each rule mutually exclusive?
Does one rule potentially influence the other? All rules will attempt to trigger on the same object at the same time (or
event) as dictated by the rule type. If the rule logic needs to be sequential, then you must have it in one rule. You may
see this case with Pattern Matching.
If the delivered rule isn't exactly what you want to implement, you can first make one copy of the rule, edit it to suit your
needs, and then make multiple copies of your edited rule to account for the value variations of the rule.
Rule Edit
It's recommended to edit the rule when it's close to what you want to implement. However, when you edit a delivered
rule, you can't copy and paste, increase or decrease indentation, and use other editing techniques commonly found in
scripting editors. It's recommended you edit a predefined rule when you want to do any of these things:
203
Oracle Fusion Cloud HCM Chapter 5
Configuring and Extending HCM Using Autocomplete Rules Delivered Rules
If none of these conditions apply, you must build your own rule by following the steps outlined in rule designing.
Rule Activation
You need to make the copied rule active to use it. However, Oracle reserves the right to edit delivered rules from time to
time to incorporate best practices or techniques to avoid problematic scenarios. This won't interfere with your copy of
the previously delivered rule.
Related Topics
• How You Design a Rule
Watch video
Absence Management Childbirth and Placement Dates Field Modification Default Planned End Date Based on
Planned Start Date
Document Records Document Records Object Validation Validate Document Record Publish
Date is After Current Date
Document Records Document Records Object Defaulting Default Document Name Based on
Person and Document Type
Document Records Document Records Object Defaulting Default Issuing Country Based on
the Legislation Code of the Primary
Assignment
Document Records Document Records Object Validation Validate Document Record From
Date is After Current Date
Document Records Document Records Object Validation Validate Document Record To Date
is Before Current Date
204
Oracle Fusion Cloud HCM Chapter 5
Configuring and Extending HCM Using Autocomplete Rules Delivered Rules
Employment When and Why Object Validation Validate Effective Date on 1st or
16th of the Month
Employment When and Why Object Validation Validate Effective Date with Future
Payroll Cycle Date
Employment Worker Work Relationship Object Validation Validate Recommended for Rehire
based on Termination Action
Reason
Goals Goals Relation with Goal Plan Object Validation Validate Performance Goal Weight
Person Person Contact Relationship Object Validation Validate if Contact Exists Based on
the Last Name Date of Birth and
Relationship
Person Person Contact Relationship Object Validation Validate if Contact Exists Based on
the Name and Relationship
Person Person Contact Relationship Object Validation Validate if Contact Exists Based on
National ID
205
Oracle Fusion Cloud HCM Chapter 5
Configuring and Extending HCM Using Autocomplete Rules Delivered Rules
Person Person Contact Relationship Object Validation Validate if Contact Exists Based
on the Name Date of Birth and
Relationship
Workforce Structures Job Object Defaulting Default Full Time or Part Time to
Full Time
206
Oracle Fusion Cloud HCM Chapter 5
Configuring and Extending HCM Using Autocomplete Rules Delivered Rules
Workforce Structures Position Object Field Modification Default Probation Period based on
Job Family of the Selected Job
Workforce Structures Position Object Field Modification Default Working Hour Frequency
Based on Working Hours
Workforce Structures Position Object Validation Validate Seasonal End Date based
on Current Date
• Address
• Childbirth and Placement Dates
• Document Records
• Goals
• Goals Relation with Goal Plan
• Job
• Person Contact Relationship
• Person Legislative Information
• Person Phone
• Position
• Salary
• When and Why
• Worker Assignment
• Worker Employment Contract
207
Oracle Fusion Cloud HCM Chapter 5
Configuring and Extending HCM Using Autocomplete Rules Delivered Rules
Related Topics
• How You Use Delivered Rules
208
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Standard Functions
This table lists the standard functions that you can use when defining rules.
• Field
• Characters
Ends with Boolean Returns True if the field provided True or False
as parameter #1 ends with the
characters provided as parameter
#2, else returns False.
209
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
• Field
• Characters
Get date in custom format String Returns a date format such as: Values for time pattern, date
pattern, or a combination of
• Year: 2020 both are listed on the Oracle
Help Center at docs.oracle.com/
• Day of the week: Thu javase/7/docs/api/java/text/
SimpleDateFormat.html
• Day of the week: where 1 =
Monday, 2 = Tuesday, and so
on
These are the 2 parameters for the
function
• Date
• Time pattern, date pattern, or
combination of both
Expression Example
Get first row Row Returns values for the first row. N/A
This function is commonly used.
Get last row Row Returns values for the last row. N/A
This function is rarely used.
Is another row present Boolean Returns True if the business object True or False
provided as a parameter has more
than the current row, else returns
False.
Is modified field Boolean Returns True if the field provided True or False
as parameter is modified, else
returns False.
210
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Starts with Boolean Returns True if the field provided True or False
as parameter #1 starts with the
characters provided as
• Field
• Characters
User role Boolean Returns True if the logged in user True or False
has the role provided as parameter,
else returns False.
Global Functions
Global Functions
This table lists the global functions that you can use when defining rules.
Watch video
Convert string in yyyy-mm-dd format to a date Date Returns a date converted from a string. It can
be used only for date comparisons and can't be
used for defaulting values.
211
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Get incumbent count for a position as of a date Integer Returns the current incumbent count for a
position as of a date.
These parameters are provided for the function
• Position ID
• Effective Date
• String
• Start Index: starting index is inclusive
• End Index: ending index is exclusive
Expression Example
Get string value from HCM feature details String Returns setup data from multiple sources
in HCM, such as address validation option
for a legislation or address style code for a
legislation.
• Parameter 1: "AddrValidationFlag"
• Parameter 2: legislationCode (US, GB, and
so on)
• Row: object instance to be passed, can be
current an autocomplete business object
or its associated rows.
212
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
◦ Autocomplete Rule
◦ Parameter 1: AddrValidationFlag
• Parameter 1: AddressStyleCode
• Parameter 2: legislationCode (US, GB, and
so on)
• Row: object instance to be passed, can be
current autocomplete business object or
its associated rows..
• Returned string value: Depends on the
legislation. List of values can be found in
PAY_LEGISLATION_RULES table.
Payroll license for a legislation
• Parameter 1: PayrollLicense
• Parameter 2: legislationCode (US,GB, and
so on)
• Row: object instance to be passed, can be
current autocomplete business object or
its associated rows.
• Returned string values:
◦ PAY: Payroll
• Parameter 1: PayPeriodStartDate
• Parameter 2: AssignmentId value as String
(Number to be converted as String) or
"this.AssignmentId"
• Parameter 3: Effective Start Date value as
String or "this.EffectiveStartDate"
213
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
• Parameter 1: PayPeriodEndDate
• Parameter 2: AssignmentId value(Number
to be converted as String) as String or
"this.AssignmentId"
• Parameter 3: Effective Start Date value as
String or "this.EffectiveStartDate"
• Row: object instance to be passed, can be
current autocomplete business object or
its associated rows.
• Returned string value: Closest payroll
period end date
Get long value from HCM Params Decimal Returns a long value from HCM Params.
Get integer value from HCM Params Integer Returns an integer value from HCM Params.
Get previous person rating String Returns the latest performance rating for
a person ID. For example, you can use this
function when a person is recommended for
rehire.
Get today's date in custom time zone Date Returns a date in a specific time zone to
reconcile server time with user time. For
example, if you have a rule to prevent future
transactions and your HR specialist is in India
and your server is in the US, then the rule
will prevent the HR specialist from entering
transaction effective today (client time) if
you don't reconcile the server time using this
function.
214
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Get string value from HCM String CSA_StudioRules Employment flows that Parameter will be set to
Params include Salary section such Y when in salary section.
as Hire, Promote, Local and Use it when you want the
Global Transfer validation rules written
on Salary business object
to trigger when the user
tries to move out of the
salary section by clicking on
Continue or navigating to
previous or next section.
Get boolean value from Boolean IS_REST_SERVICE All employment flows Returns Y if the interface is
HCM Params Worker REST Service.
Get string value from HCM String CMP_Download_Salary Change Salary Returns Y when Salary
Params is being loaded from
Download Salaries tool.
Valid values are Y, N, or
Null.
Get string value from HCM String isSalaryRateBatchProcess N/A Returns Y when creating or
Params correcting salary through
Run Rates-based Salary
process.
Valid values are Y or Null.
Get string value from HCM String EMP_Groovy_OfferMode Create and Edit Job Offer Returns CreateOffer if the
Params offer is being created.
215
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Returns DuplicateOffer
if the offer is being
duplicated.
Get string value from HCM String DOR_UX All Document Record flows Returns Y if the document
Params record is managed through
the UI.
Valid values are Y or Null.
Note:
• If the autocomplete
rule doesn’t use
DOR_UX in the rule
condition, the rule
will be run for both
application and
non-application
flows (for example,
REST API, HCM Data
Loader, and HCM
Spreadsheet Data
Loader).
• If the autocomplete
rule uses DOR_UX in
the rule condition,
the rule will be run
for only application
flows (for example,
Document Records
and plugin regions).
In this case, the
value of DOR_UX is
Y.
Get string value from HCM String GOALS_ACTION • Copy Goal • Returns COPY_GOAL
Params when a goal is copied.
• Move Goal
• Returns MOVE_GOAL
• Extend Goal when a goal is moved.
• Assign Goal • Returns EXTEND_
• Add Shared Goal GOAL when a goal is
extended.
• Add Goal from
Performance • Returns ASSIGN_
Overview GOAL when a goal is
assigned.
• Returns ADD_
SHARED_GOALwhen a
shared goal is added.
• Returns PERF_
OVERIEW_ADD_GOAL
when a goal is added
216
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Get string value from HCM String GOALS_ESS_FLOW • Mass Assign Goals Returns Y when goal is
Params process modified in the ESS flow.
• Goal Plan Assignment
process
• Manager Assigning
Goals process
Get string value from HCM String GOALS_HDL_LOAD Loading goals Returns Y when goal is
Params modified in HDL flow.
Get string value from HCM String CSA_RespOfferFlow • Responsive Offer Returns Y when responsive
Params flows offer flows are used.
Get string value from HCM String CSA_MobileFlow • All responsive pages Returns Y when Salary
Params that have Salary section is visited
section
Valid values are Y or Null.
Get string value from HCM String POS_ActionReason • Request a New Returns the related action
Params Position reason of the position.
• Request a Position
Change
• Position Details
Get string value from HCM String POS_ActionDate • Request a New Returns the related action
Params Position date of the position.
• Request a Position
Change
• Position Details
Get string value from HCM String JobRequisitionCreationSource • Create Job Requisition Returns the source of
Params requisition creation.
• View and Edit Job
Requisition Values are:
• fromTemplate
• fromPosition
• fromJob
• fromRequisition
• fromBlank
Get string value from HCM String isRecruitingCandidate • All employment flows Returns Y if it's a recruiting
Params candidate.
• Job Offer
217
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Get string value from HCM String EMP_AssignmentId • When and Why Returns the Assignment ID
Params on the assignment.
Get string value from HCM String EMP_Groovy_ Returns the grade step
Params GradeStepName name for a specific
assignment.
Get string value from HCM String EMP_Groovy_GradeStepId Returns the grade step ID
Params for a specific assignment.
Get string value from HCM String EMP_Groovy_ • All employment flows Returns the related action
Params ActionTypeCode type code of the action
• When and Why being used in the rule, such
as EMPL_ADD_EMP for the
Hire an Employee action.
Get string value from HCM String EMP_Groovy_ • All employment flows Returns the related action
Params ActionReasonCode reason code of the action
• When and Why reason being used in the
rule.
Get string value from HCM String EMP_Groovy_ • All employment flows Returns the legislation code
Params LegislationCode of the legal employer on
• When and Why the assignment, such as IN
• Hire an Employee for India legislation.
Get string value from HCM String EMP_FteValue • Add Assignment Returns the FTE value as a
Params string type.
• Add Contingent
Worker
• Add Nonworker
218
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Get string value from HCM String EMP_Groovy_LegalEntityId • All employment flows Returns the legal entity ID
Params of the legal employer on
• When and Why the assignment, such as
202 for Vision Corporation.
Get string value from HCM String EMP_Groovy_PeriodType • Cancel Work Returns the period type
Params Relationship from the worker's work
relationship. For example, E
• Create Work for employee.
Relationship
• Manage Work Values are:
Relationship
• C - Contingent Worker
• E - Employee
• N - Nonworker
• O - Offer Assignment
• P - Pending Worker
Get string value from HCM String EMP_Groovy_ • All employment flows Returns the legislation code
Params NewLegislationCode of the new legal employer
on the assignment, such as
US for United States.
219
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Get string value from HCM String EMP_Groovy_ • All employment flows Returns the legal entity ID
Params NewLegalEntityId of the new legal employer
• Hire an Employee on the assignment, such as
• Add Contingent 202 for Vision Corporation.
Worker
Values are listed on the
• Add Pending Worker Manage Legal Entity HCM
Information page in the
• Add Nonworker
Setup and Maintenance
work area.
Get string value from HCM String EMP_Groovy_ • Resignation Valid values are: Trigger
Params TerminationRegion in When and Why Region:
• Termination SkipValidations
Trigger in Work
Relationhsip Region:
Termination Details
Get string value from HCM String LegislationCode • Change Salary Returns the legislation code
Params of the legal employer on
the assignment, such as IN
for India legislation.
Get string value from HCM String CmpRespLMgrSalary • Compensation Returns Y when My Team
Params - Change Salary action is
• Salary used.
220
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Get string value from HCM String CmpRespAdminSalary • Compensation Returns Y when My Client
Params Groups - Change Salary
• Salary action is used.
Get string value from HCM String CmpRespAdminHistory • Compensation Returns Y when Salary
Params History action is used.
• Salary
Valid values are Y or Null.
Get string value from HCM String PAY_ADD_ASSIGNMENT Available only in payroll Returns Y when a
Params objects in these flows: transaction created through
• Add Assignment the available actions
stated, for example, Add
• Add Contingent Contingent Worker, and so
Worker on.
• Add Pending Worker
Valid values are Y or Null.
• Create Work
Relationship
Get string value from HCM String IsHDLoad • Change Salary Returns Y for an HCM
Params Data Loader or HCM
Spreadsheet Data Loader
load for salary.
Get string value from HCM String IsSalaryRestService • Change Salary Returns Y for a REST load
Params for salary.
Get boolean value from Boolean EMP_UX • All employment flow Returns true for a
HCM Params responsive UI for
employment actions.
Get boolean value from String isHDLWorker • All employment flows Returns true for an HCM
HCM Params Data Loader or HCM
Spreadsheet Loader load
for employment actions.
Get date value from HCM Date ChangeDate N/A Returns the date for
Params changes in person name,
marital status, person
address, visa and permits,
and contact relationship in
the person employee self-
221
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Related Topics
• Action Type Codes - HCM Params
222
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
EMPL_PROMOTION Promote
EMPL_REHIRE Rehire
EMPL_TERMINATE Terminate
223
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
EMPL_TRANSFER Transfer
224
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Object Functions
You use an object function when you can't achieve the specified outcome using the existing capabilities of
Autocomplete Rules.
While object functions provide many of the same capabilities that the tool provides, there are also some capabilities that
the tool doesn't provide. This table lists cases where you can use object functions.
Rule Usage
Defaulting Rule Use an object function to convert the data type of the flexfield segment to the data type expected
in the transaction business object. For example, let's say you can't select a default value using the
list of values of a field in the business object. And you want to select the value from a predetermined
flexfield segment of a setup entity (for example, job, business unit, organization). The conversion logic
in the object function differs depending on the return type definition on the flexfield segment-number
versus code or name. However, you can use this type of function to show a number as part of an error
message, primarily for troubleshooting, since error messages only support variables of type string.
Defaulting or Validation Rule Use an object function when you have many if then statements and want to reuse the mapping logic
among the different rules for the same business object. Since autocomplete rule doesn't have Case or
Switch statements, you need to do this inside an object function and return a Boolean to indicate there
is a match or return the actual value of the matching combination.
Validation Rule Use an object function to validate the value received in an ID field for which there is no LOV (for
example, People Group on Work Assignment). You can create an Autocomplete rule that does this and
review the code generated as an example of how to sample the ID value inside an object function.
However, you need to write this function as sampling ID values isn't allowed inside autocomplete rules.
Most IDs will have a LOV allowing you to select a specific one.
Any Rule Use an object function to do any calculation that isn't provided in autocomplete rules. For example,
date difference in days.
Note: Don't use object functions to fetch related objects or assign value to business attributes. You need to return the
necessary transformed value to assign back to autocomplete rules and execute the assignment inside autocomplete
rules only.
225
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
226
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
Case/Switch
switch (vWorkSchedule) {
case 'MY_SEA_PT_OPT_0_20_ALL':
return 'Option 1 selected'
break;
case 'MY_FT_OPT_28_40_ALL':
return 'Option 2 selected'
break;
default:
return 'Cannot Identify Input'
break;
}
return true;
227
Oracle Fusion Cloud HCM Chapter 6
Configuring and Extending HCM Using Autocomplete Rules Standard, Global, and Object Functions
228
Oracle Fusion Cloud HCM Chapter 7
Configuring and Extending HCM Using Autocomplete Rules Autosubmit and Partial Page Refresh
Watch video
Since Autocomplete Rules works on the data model layer, the tool can't detect a change of value in the field until the
business object receives the value from the UI. But many fields in the responsive pages aren't instantly updated on the
underlying business object for performance reasons. You need to configure the Autosubmit and Partial Page Refresh
properties using Page Composer for efficient functioning of the Field Modification and Field Validation rule types.
◦ If the field component is a predefined application field then click on the Settings icon to display the
component editor.
◦ Select the Autosubmit property.
◦ Click Apply and Save.
229
Oracle Fusion Cloud HCM Chapter 7
Configuring and Extending HCM Using Autocomplete Rules Autosubmit and Partial Page Refresh
Option 2
◦ If the field component is a deployed flexfield specifically for this object, scroll up the source window
and locate the nearest higher-level component that enables you to manage UI properties for the entire
flexfield segment. Click the Settings icon, to show the component editor for the entire flexfield segment.
Note that you won't be able to edit the UI component properties for individual flexfields.
◦ Ensure that the Autosubmit property is set to True when you're in the component editor.
◦ Click Apply and Save.
The Autocomplete Field Validation Rule is set to trigger when the triggering event (value entered in a field) is in focus
and the business object recognizes a value change in the UI corresponding to the field.
Related Topics
• Flexfield Modification Using Page Composer
You don't need to set this property when using Field Modification rule type to show warnings. The Partial Page Refresh
property is set to control the UI property of the target field and not the triggering field. If the target field doesn't show
the value that you have configured in the Field Modification autocomplete rule, then you need to set this property. In
some cases, this is already set, by default but for some others you need to manually configure it.
a. From the browser, select Developer Tools and the web inspector. This step varies depending on your
browser.
b. A source window that changes its value as you hover over various fields in the UI, displays when you're in
the mode of inspecting web elements.
c. If the triggering field is an application defined field, hover over but don't click, the triggering field of your
autocomplete rule and from the source window, note down the component ID for the triggering field.
This will usually be all values immediately following a double colon, past the first colon (if applicable) until
a semicolon.
2. If the target field component is an application defined field, then click the Settings icon to display the
component editor.
a. Enter the component ID of the triggering field in the Partial Page Refresh field. If there's already a value,
enter it after a space following the previously entered value.
b. Click Apply and Save.
230
Oracle Fusion Cloud HCM Chapter 7
Configuring and Extending HCM Using Autocomplete Rules Autosubmit and Partial Page Refresh
3. If the target field is a deployed flexfield, when still in the Structure menu of the Page Composer, first click the
target field and then scroll up to find the nearest higher level component - panelFormLayout. Then click on it in
the source window. You can now click the Settings icon to show the component editor.
a. Enter the component ID of the triggering field In the Partial Page Refresh field. If there's already a value,
enter it after a space following the previously entered value.
b. Click Apply and Save. The entire UI panel will be refreshed when a value in the triggering field changes.
Note that you can't change the Partial Page Refresh property on individual flexfields as you do with
predefined application fields.
Related Topics
• Guidelines for Using Page Composer
You can use this comparison to specify conditions on validation and defaulting rules. For example, you can add a
condition in a rule to not allow salary change over 50%, if a job changes from exempt to non-exempt (this data is
obtained from a descriptive flexfield). These are the 3 methods to compare the old and new state of fields.
Method Description
Field Level Validation Rule This is a quick way to compare old and new values in a single field. You can only compare old and new
values, but not any related attributes about the old or new values in the field. This can only be helpful
for numeric fields to allow percent change type calculations.
Field or Object Level Validation Rule You can use a Boolean variable isFieldModified and provide the name of any field on the current object
to check if it has changed. The variable will only confirm if something has changed but can't list the
exact changes. Also, depending on the type of action (new versus change), this may or may not be
useful. For Change Salary, you can use this field to determine if the start and end date of the inserted
record has changed. This will ensure your rule only triggers on the newly inserted record and not on
the already existing rows. Existing rows are also updated as they may either be end-dated or get a new
start date based on the period for which you're changing salary.
For example, for a new hire, you can check if the user has changed the application default values or
entered something in an empty but optional field. However, in most date-effective changes such as
Promote or Transfer, since a new date effective assignment record is created, the earlier existing values
of various fields are copied to the new record. Technically, every field is modified. The Boolean variable
will return true and can't determine if a genuine user initiated change has been made to the field or
not.
Special access to existing Employment In the Work Assignment object, a special related object, row variable of variant 2 exists to fetch the
related objects existing state of assignment prior to the current action in progress. This is the most effective way
to confirm changes, if any, and the exact values along with the necessary lookup information from
the existing state. Similar access is extended to other employment related objects from the Worker
Assignment and When and Why objects. This is so that you can sample your necessary criteria for a
default or validation rule.
231
Oracle Fusion Cloud HCM Chapter 7
Configuring and Extending HCM Using Autocomplete Rules Autosubmit and Partial Page Refresh
However, the field must be visible and the user can enter a value.
232
Oracle Fusion Cloud HCM Chapter 8
Configuring and Extending HCM Using Autocomplete Rules Troubleshooting Autocomplete Rules
Autocomplete Errors
These are the common errors that you may encounter while implementing autocomplete rules.
Issue Resolution
Rule doesn't trigger Test the event with a simple rule to confirm whether the issue is with the triggering event or with the
logic contained therein. This will help identify whether the invalid starting point is the business object
or the rule type, before getting into the actual rule logic.
Rule triggers multiple times If the same error message is shown multiple times, you may be working with the Assignment object
where you haven't added the IF WorkTermsAssignmentId NOT NULL condition. Alternatively, you
may be working on an action where multiple records of the same object are saved, for example
Convert Pending Worker or Change Salary. In the latter case, you need to add the necessary additional
condition for your rule to apply to only the record you're interested in.
Rule triggers too early If the rule triggers too early, you're using an object that's shared across multiple sections and hence
gets saved (and validated) at the end of each section. For example, Person Legislative Info, or
Termination Info sections in the respective flows. You can do one of these things:
• Sample values of fields in the section that hasn't yet been encountered to condition your rule.
• Use HCM Params to determine when to trigger the rule. Else, the nature of the given object is
such that it doesn't support validation rule as it's expected to be validated even before a section is
accessed (for example, Payroll Assignment or Payroll Terms).
Rule triggers too late The nature of the given object is such that it simply doesn't support validation rule immediately on
exit of a section, as it's expected to be validated only during Submit. Work Measure and Salary are
examples of such objects. Most objects are validated on Submit.
Works for some actions but not others There are a number of exceptions where a rule only supports certain actions or fields. Refer to the
known exceptions and adaptations for all business objects. If your condition falls under the category
of known exceptions, this may not be supported as yet. If your condition falls under the category of
known adaptations, then follow the instructions listed therein to implement the fix.
• You specified an incorrect expression in an autocomplete rule, for example, using an invalid
argument for pattern matching.
• You're fetching a value from a related object where the object itself is initialized as Null.
The line number cited in the error message refers to the line number of the groovy code that's
generated by Autocomplete Rules and not the rule line. These are the resolutions.
• Java Null Pointer: Check for NOT NULL after initiating a related object row definition (of Variant 1
or 2). This helps in removing this error but may not necessarily provide you with the solution. You
need to go to the Configure Business Objects task and edit your code to determine the reference
to the line number where the error is in order to fix.
233
Oracle Fusion Cloud HCM Chapter 8
Configuring and Extending HCM Using Autocomplete Rules Troubleshooting Autocomplete Rules
Issue Resolution
• In some cases, you can manually fix this code in Groovy and test. But, if you edit the rule in
autocomplete that has generated this code, it will remove any manual changes.
Error in Logic There can also be an issue with the logic. You need to know the functional relationship between major
objects and key attributes. You can build the rule incrementally, code elements, and gradually increase
complexity by introducing variables to understand where you're going wrong.
This checklist lists things you should check related to each key aspect identified in the flow chart.
234
Oracle Fusion Cloud HCM Chapter 8
Configuring and Extending HCM Using Autocomplete Rules Troubleshooting Autocomplete Rules
After you identify the criteria fields, you need to check if these fields are visible on the same business object.
235
Oracle Fusion Cloud HCM Chapter 8
Configuring and Extending HCM Using Autocomplete Rules Troubleshooting Autocomplete Rules
Object-based Rule
• Have you identified the entry section or the exit section where the rule should trigger?
• Have you checked section to object mapping and determined the business object to use?
• Does the object support the type of object rule you want, especially, default? If not, consider changing the use
case to a validation?
Validation Rule
• Have you identified the right object to use as a starting point when there are multiple objects being saved on
exit of a section?
• Have you specified the necessary condition to ensure rule is triggered only after a given section is crossed
when the same object spans across multiple sections?
Field-level Rule
• Do you see this field in the UI? If not, confirm the section containing the field that drives the action? For
example, Action Date instead of Assignment Effective Date or Salary Start Date.
• Have you checked section to object mapping and determined the business object to use?
• Does the object support the type of field level rule you want? If not, and if it's a Field Validation rule, consider
changing the use case to Object Validation.
• Does the field to be validated (or the triggering field if it's Field Modification) have Auto Submit property
selected in Page Composer
• Does the field to be defaulted (in the case of a Field Modification rule) have a Partial Page Refresh trigger with
the Component ID of the triggering field.
236
Oracle Fusion Cloud HCM Chapter 8
Configuring and Extending HCM Using Autocomplete Rules Troubleshooting Autocomplete Rules
Criteria
• Have you identified the criteria for defaulting?
• Are the criteria fields visible and primary determinants of the desired user input? For example, Assignment
Effective Date on Worker Assignment can't be modified and derives its value from the Action Date in the When
and Why section.
• Are the criteria fields on the same object as identified earlier? If not, do you have access to these criteria fields?
The criteria must be on an object that has already been initiated in the flow sequence.
• Are you using Assignment as criteria on another object? If so, do you have IF WorkTermsAssignmentId NOT
NULL even before declaring any other row variables from Assignment or using a field on Assignment as
criteria?
HCM Params
• Are you using the right name for the HCM Params?
• If using HCM Params, is the error displayed during HCM Data Loader loads? The only supported HCM Params
for HCM Data Loader is isHDLworker. Other HCM Params such as Action and Action Type can't be fetched
during HDL. You can sample values in fields of objects only.
Page Properties
• Does defaulting work and is the section hidden? You must not hide a section completely.
• Is the field in which you want to default a value hidden using the Transaction Design Studio? Transaction
Design Studio sets both rendered and visible property of a field to True when done so inside the Transaction
Design Studio. Optionally, you can hide a field in the UI but you can use it while building a rule.
After going through the above checklist, identify the type of error you're getting and follow the appropriate
troubleshooting techniques.
• Object Default: Use the Advanced Debugger tool to test the Object Defaulting event. This is the only way to
test the event. You can also use this tool for any type of rule.
• Object Validation: Use a simple rule that unconditionally shows an error message to test whether an object
validation rule triggers. You can run the application in the sandbox to test if this works.
• Field Modification: Use a simple rule that unconditionally shows a warning message to test whether a field
modification rule triggers. You can run the application in the sandbox to test if this works. You also need to
check if the Auto Submit property is enabled for the given field.
• Field Validation: Use a simple rule that unconditionally shows an error message to test whether a field
validation rule triggers. You can run the application in the sandbox to test if this works. You also need to check if
the Auto Submit property is enabled for the given field.
237
Oracle Fusion Cloud HCM Chapter 8
Configuring and Extending HCM Using Autocomplete Rules Troubleshooting Autocomplete Rules
Assignment as Criteria
You need to check for IF WorkTermsAssignmentId NOT NULL condition when you're using the Assignment business
object as criteria within another object such as Salary or Payroll. You must do this before declaring another subsequent
row variable to fetch related attributes of Assignment such as Job Level.
238