Using the Job Location Object as a Lookup Table for Business Rules

Objective

After completing this lesson, you will be able to configure custom fields within the Job Location object.

Job Location Object as a Lookup Table

With the 1H 2025 release, SAP SuccessFactors introduced significant updates to support the transition to the Unified Data Model. These enhancements include migration jobs to automatically build foundational Job Location data and increased flexibility in using the Job Location in business rules.

Key enhancements include:

  • Support for the Get Location() function in Job Requisition business rules. By using the Set Up Job Location Mapping And Initiate Migration configurations, you can map existing requisition data to populate Job Location based on city, state, zip code, and country/region.
  • Ability to create business rules for the Job Location object, regardless of whether multi-select is enabled for the field
  • Ability to create custom fields in the Job Location object definition

While the Get Location () function is useful to initially set the Job Location data in existing job requisitions, some customers may need more complex logic in determining which Job Location needs to be selected based on data beyond just city, state, zip code, and country/region. Customizing the Job Location object to include additional variables is crucial for stronger business rules.

Now that you can create custom fields, you can use the Job Location object as a true lookup table for business rules. When building business rules to select the appropriate Job Location, you can include extra variables—such as Facility or other fields from the job requisition—to strengthen your business rule logic. When using lookup tables in business rules, first identify the variables that will help you achieve your desired outcome. For example, if Location FO equals X and Facility equals Y, then Job Location should be Z.

Customize the Job Location Object

Configure your custom fields within the Job Location object.

Prerequisites: Role-Based Permissions

Ensure that your System Admin has the following Role-Based Permissions before continuing:

  • Administrator Permissions→Manage MDF Recruiting Objects→Job Location, Job Location Long Format, Job Location Short Format, Job Location Long Format Configuration Fields, Job Location Short Format Configuration Fields (provide all permissions to your System Admin)

Ensure that your Recruiting users have the following Role-Based Permissions:

  • Administrator Permissions→Manage MDF Recruiting Objects→Job Location, Job Location Short Format (provide View permission, at minimum)

Steps

  1. Navigate to Admin Center→Configure Object Definitions page in Admin Center.

  2. Select Object Definition.

  3. Search for the Job Location object.

  4. Use the Take Action→Make Correction.

  5. Add a new field under Fields:

    1. Field Name: cust_jobLocation

    2. Field Type: Generic Object

    3. Select Details to insert Valid Values Source as JobLocation.

    4. Select Label as Job Location for Job Req.

  6. Add any additional fields as necessary.

  7. Save your changes.

    A screenshot showing configuration for custom fields. One custom field, 'cust_jobLocation', is highlighted, with its 'Details' panel open. The details show 'Name: cust_jobLocation' configured as a Generic Object, with a Valid Values Source of JobLocation.

Update Existing Job Location Object Values

Ensure your Job Location object values have the new data needed to ensure your business rule will trigger. In the previous example, two new fields have been added to the Job Location object definition. For any existing Job Locations, the objects should be updated to include data for the new fields.

When updating existing Job Location object data, you can use the Export function (Import/Export Data) to update your objects in mass, or you can manually update your objects using Manage Data.

Steps

  1. Navigate to Manage Data.

  2. Search for Job Location in the first dropdown box.

  3. Select the Job Location object you wish to update in the second dropdown.

  4. Select Make Correction in the Take Action function.

  5. Find the new fields you have added:

    1. Add the Job Location value for the object (this may seem redundant, but is necessary for the business rule).

    2. Add any additional data for other fields you have configured, if necessary.

  6. Save your changes.

    Note

    The business rule will validate that the Location Foundation Object and Facility in the job requisition match the data within the Job Location Object before inserting the new Job Location value into the field. Therefore, the correct Foundation Object, Facility, and job location values must be included in this object.

    A screenshot of a 'Job Location' record for 'New York-USA-10001-US-NY'. It displays various location details like 'Location Code', 'Location Name', 'Address 1: 37 Hudson Yards', 'City: New York', 'Country/Region: United States (USA)', 'ZIP/Postal Code: 10001', and 'Effective Start Date: 10/21/2023'. Highlighted at the bottom are 'Facility in Job Requisition' and 'Job Location for Job Requisition' fields, both showing related New York Hudson Yards information.

Configure the Business Rule Using the Lookup Function

Next, you are ready to build your business rule! If using the Position Management integration with Recruiting, you will want to follow the steps to modify your existing field mapping rule. You can still use the Lookup() function in your field mapping rule for the Job Location field as defined below.

Steps

  1. Navigate to Configure Business Rules.

  2. Select the + button to create a new rule.

  3. Select the Recruiting category.

  4. Select the Configure Business Rule on Job Requisition scenario.

  5. Complete the business rule information required:

    1. Rule Name: name your business rule, using the prefix REC_Job Req_Rule Name.

    2. Start Date: you can future date your rule, or leave it as 1/1/1900.

    3. Description: Optional

    4. Job Requisition Template: Select the appropriate job requisition template you wish to apply the business rule to.

    5. Purpose: Select the appropriate trigger you wish to apply the business rule to.

  6. Select Continue.

  7. Create your If statement as necessary. In this example, an IF statement is used to check if the Facility field is completed (does not equal null). This will help ensure the rule triggers.

  8. Create your Then statement as follows:

    1. Select the pencil icon to edit the Then expression.
    2. Select Set Output Type.
    3. Select the Job Location field (or Primary Job Location, if using the field as a multi-select type) from the Job Requisition.
    4. Leave is to be equal to as is.
    5. Select the Lookup () function in the Value box.
    6. Select your base object: Job Location.
    7. New fields will populate once the object is selected.
      1. For Select Output Field: Select the Job Location for Job Req field.
      2. For Effective Date: You can leave this as is.
    8. Select the fields you want to reference within the Job Location object that should be compared against the job requisition data.
    9. In this example, the Job Location FO and Facility fields will be used to select the desired Job Location output.
      1. For Job Location, select the Left expression:
        1. Select the Location FO.
        2. Set it to be equal to the Location foundation object in the Job Requisition.
      2. Add a new expression and select Facility in the Job Location object:
        1. Set it to be equal to the Facility field in the Job Requisition.
    10. Save your business rule.
    11. Apply the business rule in Manage Rules against the appropriate Job Requisition template you created the rule for.
    12. Save your changes.

Result

A screenshot of an 'If-Then' business rule. The 'If' condition is 'Job Requisition Template.Primary Job Location is equal to Null'. The 'Then' action sets 'Job Requisition Template.Primary Job Location' by looking up 'Job Location' where 'Effective Date is equal to System Context.Effective Date', AND 'Job Location.Facility in Job Requisition is equal to Job Requisition Template.Facility', AND 'Job Location.FO Location is equal to Job Requisition Template.Location'.

Summary

This lesson explains how to configure custom fields in the Job Location object and use it as a lookup table to drive accurate Job Location selection in SAP SuccessFactors Recruiting business rules.

  • Job Location as lookup table: a centralized object storing variables (Location FO, Facility, org data) to resolve the correct Job Location in Job Requisition business rules.
  • Configure custom fields: Add fields (for example, cust_jobLocation, Facility) to the Job Location definition and set valid values, enabling more granular matching criteria in business rules.
  • Prepare data: Update existing Job Location records to populate new custom fields so rule lookups can match requisition data and return the correct Job Location value.
  • Build the rule: Use Lookup() to return Job Location for Job Req when Job Location FO and Facility in the object equal corresponding fields on the requisition.