Infosys and Salesforce accelerate enterprises in their journey to be a cloud-based customer centric organization. We deliver engaging customer experiences, drive smarter business decisions and co-create new business opportunities.

Main | July 2019 »

November 20, 2018

Unleashing the power of Enterprise IoT-Safety, Health, Environment and Quality platform

At the advent Internet of Things was as simple as a toaster created by John Romkey which could be controlled over the Internet. Today, Internet of things is at a place where 127 new devices connect to the Internet every second. As IoT expands, so does its role to fit into diversified scenarios/ sectors.

Reports by McKinsey state that the Internet of things offer a potential economic impact of $4 trillion to $11 trillion a year in 2025.

                                     Source: McKinsey Global Institute analysis

With the above mentioned potential impact Enterprise Safety, Health, Environment and Quality has a wide scope to be covered. International Labour Organization reports that every 15 seconds, 151 workers have work related accidents. Each year 321000 people die each year from occupational accidents. This gives an opportunity to unleash the power of IoT -creating a connected network which keeps the worker safe. Now, we have a worker who is better connected, more aware of and sensed by the environment thus is inherently safer. 

How do we ensure safety?

If I ask myself what is 'safety' for me at work-

Do I understand my surrounding and associated risks?  

 Will there be something that will warn me in situations of danger?

·       Will I be guided and provided necessary support to deal with Hazard situation?

·       Am I fit for doing the kind of work I am supposed to?

How will these questions be answered? Is it within human reach to answer these questions? This gives us an opportunity to unleash the power of IoT -creating a connected network which keeps the worker safe. Now, we have a worker who is better connected, more aware of and sensed by the environment thus is inherently safer. 


How does it work

Wearable and embedded sensors make it possible to constantly monitor worker to ensure safety and prevent injury. Devices help to tackle risk of fall, overexertion, claustrophobia, vertigo and other health conditions. The wearable devices tap into Internet of Things for gathering, integrating and analysing sensor data. This information when coupled with innovative cognitive capabilities along with the surrounding data will lead a long way to effectively manage health, wellness and safety to completely transform the way one lives or work.


Spotting the right fit

We have n number of sensors that can be connected but what next? Let us consider a scenario of a manufacturing plant with controlled environmental conditions, a simple temperature/humidity sensor when combine with IoT can do wonders here. A worker's skin body temperature can be monitored along with heart rate and galvanic skin response this wearable data can then be correlated with data from ambient temperature/humidity sensor and a feedback can be generated which can trigger intervention when required. This efficient feedback loop can accumulate huge volume of that which further can be analysed to establish trends. This cognitive feedback loop creates increased awareness of heat stress and exertion injuries thereby providing a solid foundation to increased worker safety.  



There is plethora of problems to be solved at enterprise level when it comes to individual's health and safety at work. IoT provides a strong playground to build a futuristic platform to combat occupational safety issues. One just needs to follow the right approach and technology to get the devices connected over the internet of things to do wonders and create a safer ecosystem to work in.


November 15, 2018

De-mystifying Metadata to design a secure Salesforce Org

Why is Metadata the secret sauce in Salesforce recipe?

Metadata is "data[information] that provides information about other data". It is used to summarize, retrieve basic information about data which can make tracking and working with specific data easier. In the Salesforce context, Meta data a data base structure to store data components such as Apex classes, Apex triggers, Visualforce pages, components, objects, flows and workflows.

Salesforce provides metadata types and components to represent org configuration and customization. As a Salesforce developer, we feel there are three key focus areas where we can use metadata API add value to our SF Org:

  1. Assess and control the health of the Salesforce org

  2. Security Assessment through Metadata

  3. Tool for effective administration of the org

Health report and level of customization

Organizations using Salesforce are always trying to get the best ROI for their investments in their Salesforce ecosystem. Yet, one of the largest obstacles for this is Technical Debt. Technical debt happens when organizations use data-heavy solutions which are deployed in a short period of time. As developers or architects, we do not think technical debt or the health of the org while building the solution. It's not until it shows up in the form of extra work or a point where the application's technical load has become unmanageable and the platform has stopped working at peak performance.

It is important to keep a track of the level customization and health of the org. For example, the allowed objects/fields are as below.


Metadata of the Salesforce is a very useful to analyze the health of the org and keep a check of the level of customization added to the org. We have leveraged the metadata API of Salesforce to build a comprehensive Health report which gives you a view of number of standard and custom objects, apex classes, visual force pages, triggers and total lines of code in your Org which helps you to keep track of Org's customization.



One Click Metadata Customization

Standard salesforce functionality allows you to create objects and fields where in it involves multiple clicks and information entering. With the help of metadata API, we have built a UI where in administrators/developers can create objects , fields and edit fields in just one Click. This has improved the productivity in the ecosystem and reduced the level of manual errors


We feel it is important to incorporate downloadable Configuration workbook info - Object wise field name ,type  , Security Modal info - FLS , Permission sets, profiles and roles , and Customization report so that the developer gets all the important info such as field types , FLS at one single repository rather than different sources involving multiple navigations.

Users/developers can download these metadata reports in excel for analysis purpose.



What next in Metadata API

As mentioned above - with metadata API - Level of customization can be tracked and minimized efficiently and metadata customization can be done on a single click . Metadata API can also be extended to do various other functionalities to make tasks easier for developers. For example : it can be used for metadata deployment from one salesforce Org to other , profile and permission set deployments, compare and modify metadata permissions(classes,pages etc) and many more.  

Subscribe to this blog's feed

Follow us on

Blogger Profiles

Infosys on Twitter