Client project · Confidential client

Engineering the Workforce Record Behind Connected HR Workflows

How the employee record, approvals, permissions and integrations of an HR platform stay in step when something changes.

Summary

DTXeL carried out engineering work on an established HR platform, in the layer every other HR function depends on: the employee record. Absence, attendance, recruitment, performance and reporting all read from it, while approvals, role-based permissions and payroll and identity connections all act on it. The engagement focused on keeping that record, the workflows built on it and the systems around it in agreement as the product changes. A manager changes mid-approval, a start date moves, an integration sends the same update twice, and the data still comes out right. The value is a platform customers can rely on and engineers can keep extending without breaking behaviour that already works.

Industry
HR software and workforce management
Engagement
Engineering partner on an established product
Engineering focus
Employee record integrity, approval workflows, role-based access, integration boundaries
Product areas
Employee record and history, absence and approvals, roles and permissions, API and integrations

The engineering challenge

One employee record feeds almost everything in an HR platform, so a small inconsistency spreads quickly. A person changes role, a manager leaves, a payroll system sends an update twice: each is routine, and each touches several parts of the product at once. The engineering problem is making sure all of those parts agree afterwards, in a product whose customers already depend on how it behaves today.

What the engineering covers

The clearest way to see the work is to follow one change through the product: an employee is promoted, effective next month.

The employee record and its history. The change starts in the record, where the new role is entered with an effective date. The record should accept it only if it is valid, for example a real role and a date that does not collide with another change, and it keeps the history so the platform can say what was true on any given day. Absence, attendance, recruitment, performance and reporting all read from this record, so how a change is validated and written decides what each of them sees.

Absence, leave and approvals. An absence request is already waiting for approval, routed by the old reporting line. When the manager changes, that request needs a deliberate new approver and a trace of who was asked and when. Requests move from submitted to approved, rejected or cancelled, and an approval must not be applied twice or after a cancellation. Allowances that depend on role switch on the effective date, not before it.

Roles and permissions. An HR administrator can enter the promotion. The employee sees their own new role but not the administrator's notes, and the new manager sees their team but no one else's. These rules have to hold on screen, in an export and through the API, otherwise they are only a suggestion.

API and integrations. The change then leaves the platform for payroll, identity or reporting tools. If the same update arrives twice, the second must change nothing. If it arrives half complete, it is flagged for someone to resolve and not quietly accepted. Connected systems also change over time, so the API has to keep working for integrations already built on it.

How the pieces connect

Conceptual diagram · Connected workforce operations
  1. 1Employee data

    The record of people, roles and employment, with its history.

    Validation
  2. 2Workforce workflows

    Requests, approvals and lifecycle states built on the record.

    Workflow state
  3. 3Rules and permissions

    Business rules and role-based access applied to every action.

    Authorisation
  4. 4Connected systems

    Payroll, identity, reporting and automation outside the platform.

A conceptual illustration of the boundaries in connected workforce software. It is not the verified internal architecture of the client's product.

Each part constrains the next. An approval is only right if the record it reads is right, and the record is only trustworthy if approvals cannot change it out of order. That is why a request has to move through defined states, with every move checked against the record and the person's permissions.

Lifecycle illustration · An absence request
  1. Submitted
  2. Pending approval
  3. Approved
  4. Recorded
ExitsRejectedCancelledWithdrawn

A conceptual lifecycle. It illustrates the kind of state model involved and is not the client's exact workflow.

Outcome

The work supports four things in the product:

  • A record the modules agree on. A change to a manager, a role or a start date shows up the same way in absence, attendance and reporting, including changes dated for the future.
  • Approvals that stay correct. Requests reach the right person, cannot be applied twice or out of order, and survive changes to the people around them.
  • Access that holds everywhere. The same permission rules apply on screen, in exports and through the API, so a restricted field stays restricted.
  • Integrations that tolerate repeats. Repeated or incomplete updates from payroll and identity systems do not duplicate or corrupt workforce data.

For the platform's own engineers it also means changes are made against tests that pin existing workflow behaviour, so extending one module does not mean re-checking every other by hand.

Technology capabilities

The technologies DTXeL works with across engineering engagements.

Frontend

  • React
  • Next.js
  • TypeScript
  • JavaScript
  • Angular
  • Vue.js
  • HTML5
  • CSS3

Backend

  • Node.js
  • .NET
  • C#
  • Java
  • Python
  • Go
  • PHP
  • NestJS
  • Express.js
  • ASP.NET Core
  • Spring Boot

APIs and integration

  • REST APIs
  • GraphQL
  • gRPC
  • Webhooks
  • OpenAPI / Swagger
  • OAuth 2.0
  • Microservices
  • Event-driven architecture

Databases

  • PostgreSQL
  • Microsoft SQL Server
  • MySQL
  • MongoDB
  • Redis
  • Elasticsearch
  • Amazon DynamoDB

Cloud and infrastructure

  • Microsoft Azure
  • AWS
  • Google Cloud Platform
  • Docker
  • Kubernetes
  • Terraform

DevOps and CI/CD

  • GitHub Actions
  • Azure DevOps
  • Jenkins
  • GitLab CI/CD
  • CI/CD pipelines
  • Infrastructure as Code
  • Monitoring and logging

Data engineering and analytics

  • Apache Spark
  • Databricks
  • Snowflake
  • Apache Kafka
  • ETL / ELT pipelines
  • Power BI

AI and machine learning

  • TensorFlow
  • PyTorch
  • Scikit-learn
  • Machine learning pipelines
  • AI integrations
  • LLM integrations
  • Retrieval-augmented generation (RAG)

Testing and quality engineering

  • Jest
  • Playwright
  • Cypress
  • Selenium
  • Postman
  • xUnit
  • NUnit
  • Integration testing
  • End-to-end testing
  • Automated regression testing

Security

  • Role-based access control (RBAC)
  • Authentication and authorization
  • OAuth 2.0 / OpenID Connect
  • Secure API design
  • Encryption
  • Application security

Engineering Eligibility and Enrolment for Configurable Benefits: the engineering behind per-employee eligibility, enrolment lifecycles and processing in an employee-benefits platform.

Facing a similar engineering problem?

Tell us what you are building and where it is breaking.

Start a conversation

Ready to Start Your Project?

Let's discuss your requirements and see how DTXeL can help you build and maintain your software with clarity and consistency.