Skip to Content
Technical Articles

How to automate the process of adding a Job Relationship on change of a Business Unit

Hope you are doing great! Wishing you a happy and prosperous year ahead !!

This blog is about how to automate the process of adding a job relationship on change of a Business Unit, Department, Division, etc. (as per the requirement). Here I have done it with the Business Unit (Renamed for Department FO) and populated Employee HR (HR BP) as the Job Relationship type.

 

Prerequisite:

1.Add a custom field in the Business Unit object with data type User

Navigation: Configure Object Definitions -> Select Object Definitions -> Select Business Unit Object

 

2.Add data to the Business Unit object using Manage Data Tool / Import

Approach:

Tools: Intelligent Service Center (ISC), Integration Center

Step 1: Navigate to Integration Center from the search tool and create an integration with Trigger Type as Intelligent Service

Step 2: Select the source as Change in Business Unit (Selected this event to avoid confusion later with the Label and Object i.e., Department FO and Renamed label Business Unit)

Recommended to Use Change in Department event as the source

Step 3: Do the field Mappings

Default%20the%20value%20with%20the%20Option%20ID%20of%20the%20picklist%20value%20for%20Relationship%20type

Default the value with the Option ID of the picklist value for Relationship type as per the requirement

 

Start Date as Start Date of Job Information,

User ID from Job Information,

and Name with the custom field which we created in the Business Unit

Rest%20mappings

Other mappings

 

Step 4: Now map this integration in the event Change in Business Unit. Also, keep Timing as When event is published 

Note%3A%20Save%20the%20flow%20after%20adding

Note: Save the flow after adding

 

Step 5: Write an onPostSave rule in Job Information (Manage Business Configuration) to trigger this event on Business Unit Change.

 

Hurray!! The configurations are done.

 

Result:

Before

 

After

BU%20Change

BU Change

 

Employee%20HR%20%28HR%20BP%29

Employee HR (HR BP) Change

 

Note: First I tried to write a Business Rule for the automation of populating HR BP Based on the Business Unit. I tried it onSave/onPostSave and onChange.

onChange:

The rule was working fine only when we select both Job Information and Job Relationship together while we Change Job and Compensation Info using Take Action from Employee Profile.

onSave:

The rule didn’t work as it threw the following error:

 

 

Hope this blog was helpful for all.

Stay Safe everybody.Thank You!

 

4 Comments
You must be Logged on to comment or reply to a post.
    • Hi Nathan,

      Actually for the user end it will be like, once you save the record for job info/ import the data(make sure the permissions to trigger rules while import are turned on) the HRBP will be changed. It will trigger the integration automatically by the ISC once the BU is changed. So for each change the HRBP will be updated as soon as the data gets saved! Hope i answered your query. 🙂

  • Hi Joseph,

     

    I must say that you have explained it quite well.

     

    I have a question, how would you link different HR BP to different Business unit, which means on selecting separate BU it should populate distinct users.

     

    Thank you,

    Om Awasthi

    • Hi Om,

      In each Business Unit we will be defaulting respective HRBP as a prerequisite mentioned above. On each change system will pick the respective HR from the data maintained in the BU.

      Hope that clarifies your doubt! 😊

      /
      😊