Anypoint Platform

Employee Onboarding Demo

Employee Onboarding Overview


Effective employee onboarding is a critical aspect of every company. By making new hires feel welcome and prepared in their new positions, they are given an excellent opportunity to make an immediate impact within the organization, which ultimately helps a company fulfill its mission.


There are several barriers to providing effective employee onboarding from a process and technology perspective – not being able to provide facilities to new hires, no access to computer systems, and making them feel lost and unwelcomed. Technologically speaking, a lot of legacy HR systems are difficult to integrate with and lack automated orchestrations with other systems that new employees need to be provisioned with. Software-as-a-Service (SaaS) and applications that run on the cloud also bring additional provisioning challenges to the employee onboarding process.


In this demo, we will take a look at how MuleSoftÕs Anypoint Platform can be used to improve the employee onboarding process. We will explore a use-case that will require interaction with a variety of on-premise and cloud-based systems as shown below to accomplish the employee onboarding process.



A web-based HR application will be used to submit employee information to trigger the employee onboarding process. The process will first store the employee information to a legacy HRIS database and then provision user accounts through an IT Provisioning system.  The employee information will then be forwarded to work queues for provisioning facilities and mobile equipment depending on whether the employee is office-based or remote.  If the employee belongs to the Sales or Support department, a user account will be created on a CRM application that runs as a service on the cloud. Lastly, an email notification and a broadcast message will be sent to welcome the new employee to the organization.  The goal of this demo is to show you how to implement this use-case with the Anypoint Platform.


For the purposes of this workshop, we will use the following systems:

1.    MySQL will be used as the legacy HR Database accessed using JDBC.

2.    A .NET application will be used for the IT provisioning system that creates user accounts accessed using SOAP Web Services.

3.    Active MQ will be used for the facilities and mobile equipment work queues accessed using JMS.

4. will be the Cloud Based CRM application.

5.    Gmail will be used for email notifications and Twitter will be used for broadcasting the welcome message. Note that we are using Gmail and Twitter in this example for simplicity, but in reality these could be internal office emails like MS Exchange and enterprise social networks like Yammer.



Demo Script


Modernizing the HRIS System with APIs


1.     Show the API Console that creates employee data services for the HR System:


2.     Show the REST services that expose employee data as services


3.     Show the Anypoint Studio project that implements this – Employee Services (Studio Project)

a.    Show the API Router that uses RAML

b.    Show the Data Mapper that transforms data to JSON format


4.     Show how this runs on an on premise platform managed by the Mule Management Console

Username: admin
Password: Mule1379

Show Flow Analyzer and Business Events.


Orchestrating the Employee Onboarding process


1.     Show the Employee Onboarding orchestration project. (Studio Project)

a.    Show the SOAP Web Service Consumer that access a .NET account provisioning web service

b.    Show the JMS Endpoints that facilitate mobile equipment and facilities requests

c.     Show the Salesforce Connector that creates a new Sales Cloud user for the new employee.

d.    Show the SMTP Endpoint used for sending email to welcome the new employee

e.    Show the Twitter connector that that broadcasts a tweet to welcome the new employee.


2.     Onboard a new employee


Note: DonÕt put spaces in the names!


3.     Show the data in the HR System Database using the Employee API:


Note: You will see the new employee at the end.


The database is MySQL. If you want to connect using MySQL, download the MySQL Client and connect to:


Port: 3306

Database: hris

Username: hris

Password: Mule1379

Select * from employees


4.     Show the XML in the ActiveMQ messaging queue

Username: admin, Password: admin


Note: Office employees for to the DeskAllocationQueue. Remote employees go to the MobileEquipmentQueue.


5.     Show the user in created for the new employee:


Password: Mule1379


6.     Show the welcome email:


Password: Mule1379


7.     Show the welcome tweet


8.     Show how this is running in CloudHub:

Username:  workshop

Password: Mule1379


Note: Show Business Insight to see the transaction details


9.     Show how this is exposed through a public API on CloudHub built using the API Kit:


10.  Show how a lightweight Java Script app (Angular) can easily consume this API.