DEV Community

Cover image for My transition from a 'How'​ to a 'Why'​ Mindset
Kanav Khurana
Kanav Khurana

Posted on

My transition from a 'How'​ to a 'Why'​ Mindset

In my career, I have transitioned from a Salesforce.com Developer to a Salesforce.com Consultant. In this article, I portray how I have tried to change the way I work by starting at the 'Why', instead of jumping into the 'How'.

I started my Salesforce.com career as a developer. I learned Apex and Visualforce and immediately got hooked on to these relatively easy-to-learn programming languages that gave me the power to build (almost) anything. The following picture aptly portrays how I felt:

Alt Text

I would be asked to build a functionality - a 'What?' - and my job would be to figure out the 'How?':

Alt Text

However, this train of thought completely overlooks the 'Why'? It is very crucial to understand that behind every functionality request lies an intrinsic motivation. So, a revised train of thought would look like:

Alt Text

Let us illustrate the difference with an example.

A Use Case

Let us describe a simplistic client request below:

The standard Salesforce Account object houses B2B Customers. There is a bi-directional flow of information between the Salesforce Account object and certain external systems. Each of these transactions is logged in a separate custom object called 'Interface Transactions'.

It is required that the LATEST Interface Transaction is captured on the Account (specifically the transaction code).

The 'How' mindset:

My solution would involve creating a custom field on the Account called 'Latest Transaction Code'. I have 2 options to populate this field:

Alt Text

Technical Note: Account to Interface Transaction is a lookup-relationship so a Rollup summary is not a viable option.

Result: I am able to take the Process Builder approach and meet the requirement without using code! Yay!

The 'Why' mindset:

It turns out that this functionality request came up since the IT manager observed that the Account interfaces were acting up and it was needed to facilitate random checks on the Account - specifically checking if the latest transaction code is correct.

As we read this again, the phrase that pops out is 'facilitate random checks'. Hold on! This means that we can also meet this requirement if we are simply able to display the latest Interface Transaction on the Account Lightning Page. Hence, my solution approach changes to look something like:

Alt Text

Technical Note: There is an AppExchange package that allows you to create filtered related lists.

Result: I am able to deliver a clean, simple solution that avoids creation of a custom field on the Account and a process builder on the Interface Transaction

Hence, by starting the train of thought at the 'Why', one can embrace empathy in order to arrive at cleaner, simpler solutions.

Thanks for taking out time to read through. I am keen to hear your views and look forward to some engaging comments. I blog at Techfinery, so do check that out for some Salesforce.com goodness.

Top comments (2)

Collapse
 
iainjreid profile image
Iain J. Reid

This was a key pivoting point in my career as well, it's great to hear that others have gone through the same stages.

Looking back at the what-how mindset I once had, I honestly think it was a very damaging way to work. Getting out of that mindset is certainly something that only experience will teach you, either that or some very hard knocks.

I think the mindset that I now have is quite cautious (in a positive way), although I'd say I'm more of a what-why-how person. For me, the most important factor is understanding exactly what the business needs, after which I can roll on with the why, and finally the how.

Collapse
 
techfinery profile image
Kanav Khurana

Thanks for the response Iain. Indeed, I learnt it through some 'hard knocks'.
That is an interesting way to put it -> the 'what-why-how'. Gives me some food for thought for the next post. :) Cheers.