SAP SuccessFactors to Moodle integration: Employee Central employees as Moodle users, with a cohort per department
With an integration between SAP SuccessFactors and Moodle, every new employee from Employee Central gets a Moodle user in their department's cohort, so the right courses are ready on the start date. On a termination in SuccessFactors KoppelHet suspends the user in Moodle on the end date, and Moodle closes running sessions immediately.
Step 1IntakeQuestions a consultant has prepared for your systems.
Step 2Detailed designField by field what happens, with exceptions and test scenarios.
Step 3Approval and quoteYou approve the design; the quote follows from it.
Step 4Build and testOn our platform, then your acceptance test.
Step 5Go-live and supportAt a moment you choose. After that we monitor it.
What the integration does
Organisations that manage employees in SAP SuccessFactors Employee Central and offer training in Moodle often load new colleagues into Moodle with a CSV. A hire with a start date three weeks out is then not yet in the export, and a departed employee keeps Moodle access until someone cleans up the list.
HR records a hire, job change or termination in Employee Central.
Every hour KoppelHet fetches the changes, including job information that only takes effect in the future.
For a new employee KoppelHet creates the Moodle user and suspends them straight away until the start date.
On the start date KoppelHet lifts the suspension and puts the user in their department's cohort, so Moodle assigns the courses.
On the end date of the employment KoppelHet suspends the user again.
Out: Moodle user with employee ID as idnumber · Name, work email and language · Cohort per department · Division as custom profile field · Suspension on termination
What to watch for with SAP SuccessFactors and Moodle
A plain query to Employee Central returns job information as valid today. A hire that starts in three weeks would only be seen on the start date. KoppelHet therefore queries ahead with a date range, so the Moodle user already exists and only needs activating on the first working day.
When creating a user the Moodle web service cannot pass a suspension, but when updating it can. KoppelHet therefore creates a future employee from SuccessFactors and suspends them in the next call, so they cannot get into Moodle before their start date.
When the web service sets a Moodle user to suspended, Moodle closes all their sessions immediately. KoppelHet suspends on the end date from the termination in Employee Central, so someone still in a course on their last day does not stay logged in until the next morning.
Employee Central stores the language as a locale, for example nl_NL, while Moodle wants a language code whose pack is installed on the server. An unknown code makes creation fail. KoppelHet translates the locale to an installed pack and otherwise falls back to the site's default language.
Employee Central can hold several job changes on one day, and then returns the change with the highest sequence number. KoppelHet only uses that one for the cohort assignment, so a same-day correction does not first put the employee in the wrong cohort and its courses.
When updating, Moodle processes each user in its own transaction and returns a warning per user that fails, for example because an email address already exists. KoppelHet therefore bundles changes from SuccessFactors per run, reads the warnings and only reports the failed employees to the Moodle administrator.
The division from Employee Central goes to a custom profile field in Moodle, which the administrator creates in advance. A course administrator can then report per division in Moodle, without maintaining an extra cohort for each division.
How we build and run it
The integration runs on the KoppelHet platform, hosted in a data centre in the EU.
Every sync and every error is visible in the functional log; on an error your administrator is notified.
A change that cannot go through is not half-applied but queued for another attempt.
KoppelHet is ISO 27001 certified. Data travels encrypted and stays on the platform no longer than needed.
After go-live we manage the integration and adjust it when your process changes.
The integration fits next to your existing integration layer. Only the fields in the design are transferred; the platform keeps no register of its own.
This is not an app you switch on. We build the integration for your organisation on our platform, with building blocks we reuse on every project. So it is custom work that does not start from scratch.
A consultant prepares the intake and analyses both systems. We then record the mapping and exceptions field by field, test in the test or acceptance environment and go live at a moment you choose. Costs are a one-off amount for the setup and a monthly amount for platform, monitoring and support.
Price indication · Basic
€ 0.000 – € 00.000
€ 000 per month
Frequently asked questions
Do completed courses go back to SuccessFactors?
Not in the first version. Writing completions back can be added later as an extension.
How do employees log in to Moodle?
With the login method your Moodle uses. With single sign-on KoppelHet creates users without a password; with the default method Moodle emails a password.
Technical details for IT
For those who want to know how it works under the hood: APIs, fields and sources used.
SuccessFactors through the OData API v2 with OAuth 2.0 and a SAML bearer assertion, on lastModifiedDateTime and with fromDate and toDate for future job information. Entities User (userId, defaultLocale), PerPersonal, PerEmail, EmpEmployment, EmpJob (department, division, startDate, seqNumber) and EmpEmploymentTermination (endDate).
Moodle through the REST web service with a token for a dedicated external service: core_user_create_users (one transaction per call; lang must be installed; password or createpassword with internal auth), core_user_update_users (suspended, customfields; transaction and warning per user), core_user_get_users_by_field on idnumber, core_cohort_create_cohorts, core_cohort_add_cohort_members and core_cohort_delete_cohort_members.
Which fields are transferred
The key fields. The full mapping is agreed per customer.
Field in SAP SuccessFactors
Field in Moodle
Notes
userId (personeelsnummer)
idnumber en username
Username in lowercase, idnumber unchanged
PerPersonal firstName en lastName
firstname en lastname
PerEmail (zakelijk, primair)
email
User defaultLocale
lang
Installed language packs only
EmpJob department
Cohort (idnumber) en department
EmpJob division
customfields (profielveld divisie)
EmpEmployment startDate en EmpEmploymentTermination endDate
Tell us which systems you use and what should happen automatically. Together we define the smallest working solution, with a clear design and a quote before building.