Line Manager not getting assigned when Pending Worker is created through REST API
We have enabled the position hierarchy and when a pending worker is created through REST API, Line Manager is not getting allocated immediately until the process 'Synchronize Person Assignments from Position' is run.
This is impacting the Onboarding (Pre-Hire) checklist tasks that needs to be allocated to the Line Manager.
How can we ensure that the Line Manager is assigned the moment Pending Worker is created through REST API, similar to how it gets assigned when a pending worker is directly created through HCM UI.
Any inputs please.