Skip to main content

Background

Lumos can automatically assign email addresses to new hires in onboarding workflows, using your organization’s naming conventions and generation rules. When email generation fails, it can block the rest of the onboarding sequence and leave employees without access to critical systems on their first day. This guide shows you how to identify the root cause of email generation failures and get onboardings back on track.

When to Use This Guide

Use this troubleshooting guide when:
  • Onboarding workflows are stuck with email generation errors
  • Error Tasks appear in the Task Center related to email creation
  • HR reports that email addresses weren’t created as expected
  • New employees report they haven’t received access to their accounts

Common Email Generation Failure Scenarios

Email generation typically fails for one of these reasons:
  • Email collisions - The generated email already exists and is used by another user
  • Invalid characters - Special characters in names that can’t be used in email addresses
  • Generation rule misconfigurations - Incorrect expressions or formatting rules

Troubleshooting Steps

1. Identify the Email Generation Error

Start by locating the specific error that’s preventing email generation. You can do so by visiting the Onboarding page and selecting “Open” on the user that has encountered an error.
  1. Navigate to Workflows > Onboarding
  2. Look for workflows with an in progress or error status (red indicators)
  3. Select Open on the affected user to see the onboarding details
  4. Find the email generation step, typically labeled “Generate Email Address”, and expand it to read the error
email-error.gif
Examine the error details:
  • Read the complete error message
  • Note any specific email addresses mentioned in the error
  • Look for error codes or technical details that indicate the root cause

2. Check for Email Address Collisions

The most common cause of email generation failure is attempting to create an email that already exists elsewhere. Verify whether this is the issue by performing the following steps: Search for existing email addresses:
  1. Review your email generation rules, and determine the email that should be generated for the employee
  2. Go to Identities page
  3. Search for the email address that failed to generate
  4. If you find an existing identity with that email:
    • Compare the employee details (name, employee ID, start date)
    • Determine if it’s the same person or a different employee
Common collision scenarios: Name conflicts This can occur when your email generation rules are based on a combination of first name and last name, and employees share the same name. For example, two employees are named “Nathan Scott”, and your rule creates emails in the format firstname.lastname@domain.com. Resolution
  • Fallback Rules. You can add fallback email generation rules to your workflow. When multiple email generation rules are defined, Lumos will attempt to generate an email using each of the rules in order. If there is a collision, Lumos falls back to the next rule (e.g. first try firstname.lastname@domain.com, then try firstname.lastname.employeenumber@domain.com)
  • Auto-Increment Emails. If you enable the “Auto-increment” flag in the Generate Email step, Lumos will attempt to automatically resolve email conflicts. If there is another user with the same email, Lumos will add a number to the end of the new user’s email until there is no longer a conflict (e.g. nathan.scott1@domain.com -> nathan.scott2@domain.com)
Email Re-Use This can occur when you allow new employees to re-use emails that were leveraged by previous employees. For example, an early employee used michelle.williams@domain.com and left the company, and then another Michelle Williams joins the company. Resolution
  • Fallback Rules. You can add fallback email generation rules to your workflow. When multiple email generation rules are defined, Lumos will attempt to generate an email using each of the rules in order. If there is a collision, Lumos falls back to the next rule (e.g. first try firstname.lastname@domain.com, then try firstname.lastname.employeenumber@domain.com)
  • Auto-Increment Emails. If you enable the “Auto-increment” flag in the Generate Email step, Lumos will attempt to automatically resolve email conflicts. If there is another user with the same email, Lumos will add a number to the end of the new user’s email until there is no longer a conflict (e.g. michelle.williams1@domain.com -> michelle.williams2@domain.com)
Re-hires This can happen when a former employee rejoins the organization. Depending on how this is handled in your HRIS system, this can trigger the creation of a new Identity in Lumos, causing an email conflict. For example:
  • Employee starts in 2021, and is sourced from your HRIS as steve.mcqueen@domain.com with employee ID 1234, then leaves in 2022
  • Later, that employee rejoins in 2023, but with a new employee number 2345
Resolution
  1. Treat as a new Identity. You can choose to treat this scenario exactly the same as a normal name conflict, by auto-incrementing the user’s email, or specifying a fallback rule.
  2. Modify your HRIS patterns. Instead of treating re-hires as new employees in your HRIS system, keep the user’s employee number/ID the same after a re-hire event if you can. Lumos then treats them as the same Identity and doesn’t raise an email conflict.
  3. Correlate the old -> new Identity. If you have an attribute that reliably correlates a re-hired employee’s new HRIS record to their old one, you can configure a Matching Rule on the HRIS application. The rule matches the new account to the old account. Lumos then treats them as the same Identity and doesn’t raise an email conflict.

3. Check for Invalid Email Characters

Emails must follow a strict standard for the types of characters that can be included. Lumos automatically validates that generated email addresses meet these standards, before considering the step completed. This validation can lead to failures during onboarding workflows that need to be resolved manually. Identify which attributes are used in email generation:
  1. Go to Employee Lifecycle > Onboarding > Settings
  2. Review your email generation rules. In particular, identify which employee attributes are used in the rules
  3. Common attributes include
    1. Given Name
    2. Family Name
    3. Preferred Name
    4. Employee Number
Check for problematic characters:
  1. Go to the Apps page.
  2. Select your HRIS provider.
  3. Search for the employee. Their attributes appear as columns on this page.
  4. For each of the attributes used to generate an email address, look for the following scenarios
    1. Apostrophes (O’Connor, D’Angelo)
    2. Accented characters (José, François, Müller)
    3. Hyphens in compound names (Mary-Jane, Smith-Jones)
    4. Special symbols or punctuation
    5. Non-Latin characters (Arabic, Chinese, Cyrillic, etc.)
Update email generation rules: Once you’ve identified the cause of the issue, you can use the following strategies to resolve it. Using the Lumos Expression Language in Workflows covers strip_punc, strip_chars, and transliterate in more detail. Restart Onboarding Once you’ve updated your rules, you can restart an individual user’s onboarding. On the Identities page, click Onboard on the user, then Run Onboarding. This starts a new onboarding with the updated rules. It doesn’t stop the old one, so cancel that from the Onboarding page if it’s still running. Restarting doesn’t skip apps the first run already provisioned. The new onboarding opens a new access request for every app its access policies grant, so expect repeat requests and tasks for apps the user already has, and close those out. Open the new workflow from the Onboarding page and check that the Generate Email Address step no longer shows an error.

FAQs

What happens to the employee while email generation is being fixed? The onboarding workflow will be paused until the email issue is resolved. The employee won’t receive their email address or subsequent access provisioning. It’s important to resolve email generation issues quickly, ideally within a few hours of detection. Can I manually assign an email address instead of using automatic generation? It is not possible to manually assign an email address in the Lumos platform today. Can email generation rules be different for different employee types? Yes, Lumos supports conditional logic in email generation rules. You can create different formats based on department, employee type, location, or other attributes. However, maintain consistency where possible to avoid confusion. See Using the Lumos Expression Language in Workflows for more details on how to handle conditional logic using expressions. What if I need to change an employee’s email address after it’s already been generated? Email address changes after initial generation can be complex since the email might already be provisioned in multiple systems. Contact Lumos support for guidance on post-generation email address modifications.

Still Need Help?

If you’ve followed these troubleshooting steps and still can’t resolve the email generation issue, contact Lumos support at support@lumos.com with:
  • Employee details: Full name (including any special characters), preferred name, department
  • Error messages: Complete error text from the failed workflow step
  • Screenshots: Images of the error task and any relevant identity information
  • Expected email: What email address should have been generated
  • Steps attempted: Specific troubleshooting actions you’ve already tried
Include any relevant information about your organization’s email naming conventions and any recent changes to employee data or generation rules. This enables Lumos Support to quickly identify and resolve the underlying issue.