Security group assignment fails for new hires in core-hr module during onboarding

We’re experiencing a critical issue where new hires aren’t being assigned to the correct security groups during the onboarding process. The business process completes successfully, but when the new employee tries to log in, they have no access to their required modules.

Our security group mapping is configured to automatically assign groups based on job profile and location. The role assignment rules look correct in the configuration, but they’re simply not executing. When I manually assign the security groups after hire, everything works fine.


Security Group: Employee_Self_Service
Assignment Rule: Job_Profile = 'Sales_Representative'
Condition: Hire_Date is not null

The business process configuration shows the ‘Assign Security Groups’ step is included and not skipped. We’ve had three new hires this week all experience the same problem. This is blocking their first-day access and creating a poor onboarding experience. Has anyone dealt with security group assignment failures during the hire process?

That’s exactly what’s happening. The issue is that security group assignments based on job profile require the position and job profile relationships to be fully established in the data model before the assignment rules can evaluate. Even though the hire step completes, there’s a brief window where those relationships aren’t queryable yet. You need to add an intermediate step or use a different assignment trigger.

I’ve seen this when the security group assignment is conditional on fields that aren’t populated yet during the hire process. Your rule checks for Hire_Date not null, but depending on your BP configuration, that field might not be set until a later step. Try adding some debug logging to see what field values are available when the assignment rule evaluates. You might need to adjust the condition to check for a different field that’s guaranteed to be populated earlier, like Worker_Type or Employment_Status.

You’re encountering a classic timing and data propagation issue with security group assignments during business process execution. Here’s the comprehensive solution:

For security group mapping, the root cause is that your assignment rule is evaluating before the worker’s job profile relationship is fully committed and indexed in Workday’s security framework. Even though the hire step completes, the security subsystem hasn’t updated its cache with the new worker’s attributes yet.

The role assignment logic needs to be restructured. Instead of using an inline step in your Hire business process, implement this approach:

  1. Remove the current ‘Assign Security Groups’ step from your Hire Employee business process

  2. Create a new business process event subscription:


Event: Worker_Created
Subscriber: Assign_Security_Groups_Process
Trigger Condition: Worker.Primary_Job is not null
  1. Build a dedicated ‘Assign Security Groups’ business process that:
    • Accepts Worker reference as input
    • Includes a 5-second delay step (use ‘Wait for Condition’ with timeout)
    • Queries worker’s current job profile and location
    • Applies security group assignment rules based on those attributes
    • Includes error handling to retry if job profile is still null

For the business process configuration, this event-driven approach ensures the assignment happens after all worker data is fully propagated. The delay step is critical - it gives Workday’s security framework time to update its internal indexes.

Alternatively, if you must keep it inline, modify your assignment rule to be more defensive:


Security Group: Employee_Self_Service
Assignment Rule: Worker.Primary_Position is not null
             AND Worker.Primary_Job.Job_Profile = 'Sales_Representative'
             AND Worker.Status = 'Active'

This checks for the position relationship first, which is a better indicator that the worker record is fully established.

Also verify in your Hire business process that you have ‘Commit Transaction’ checked on the hire step. Without this, subsequent steps in the same process may not see the committed worker data.

Finally, check your security group’s ‘Assignment Rules’ configuration. Navigate to Security > Security Groups > [Your Group] > Assignment Rules tab. Make sure the rule priority is set correctly if you have multiple rules, and that ‘Automatically Assign’ is enabled.

This solution addresses all three focus areas: proper security group mapping through event-driven assignment, correct role assignment timing with defensive conditions, and robust business process configuration with transaction management. Your new hires should receive proper access on day one.