cancel
Showing results for 
Search instead for 
Did you mean: 

Populating Payroll ID on Compensation Info

former_member748645
Discoverer
0 Kudos
2,349

Greetings,

I'm having an issue populating Payroll ID field using UserID during a hire action.

I used the Employment Information Model as my base object and saved the rule on Comp Info portlet as onSave rule.

I also tried the following:

Comp Info Model

Comp Info

I did not have any lucks.

Any idea why it may be causing an issue?

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

S0023625917
Discoverer
0 Kudos

Is there any update here? ajaynudurupati have you found a solution?

Garrett_M
Participant
0 Kudos

As FYI,

I tried the above recommendation and it did not work. It will consume another employeenumber instead of using the same one allocated to the personIdExternal. Thus you end up with a payroll-id one iteration number before the personidexternal. We actually wanted them to be the same.

Regards,

Garrett

Regards

ajaynudurupati1
Participant
0 Kudos

Hi Berna

use the base object as HireActionModel and try the rule as shown in the screenshot.

Please assign the rule to "compinfo" object under trigger rules as

Base Object - "Employee Information Model" and Event Type as "onSave"

the rule picks up the next employee id which will used when we create/add new employee, the same id will be assigned to payroll id field in compensation info.

Thanks

Aja