Friday, December 24, 2010

We need to change some behaviours!


Recently I've spoken to a few people who have told me "What we need here are some changes in behaviour", then they let me know what they will do to make these changes come about. It may be a new policy, or some kind of punishment/stick combination, it will certainly involve microsoft power point, but what ever the mechanism I would be amazed if it has the desired result.

Changing behaviour is rather difficult, and using a single device to achieve change will fail (maybe drugs or extreme violence would be the exception to this rule). This is because there are multiple factors that create behaviours, and a change to just one of these will not have much, if any, impact on the others.

The model below is by Edgerton & Palmer and is an attempt to show the interactions involved between five factors that have an effect on an individual. Actions (behaviors) is only part of the story here.


Social context - the where, what and when of the situation. The working environment is a constantly changing social context, from sitting at a desk and working alone to being in a formal meeting with colleagues to having an informal chat when making some coffee. As the other factors are effected by this they are also in flux.

Cognition - the thoughts of the individual will be as varied as the individuals. In different contexts and with different people these will also vary. In a situation where there are project managers playing a game of schedule chicken the thoughts will be a mix ways to defend their current plans to demonstrating the faults in their peer's plan - of course this would only happen in theory as all PMs are on the one team to deliver the best result for their organisation.

Emotion - apart from the emotions someone brings in the door to work, emotions will also be affected by many other factors. A chat with non-competitive peers will give more pleasant emotions than being in a performance review. Emotional responses are essentially responses to the other factors, but once fired up can create feedback into these factors.

Physiology - sleep and diet are pretty reasonable places to start when considering this factor (lots of over time and pizza will cause issues), but there are many other elements to physiology that may occur by situations at work. A stressful and aggressive exchange will create a physiological effect which may then create specific actions in response to this - heart rate up, adrenaline flowing.

Action - the thing we want to change, which is going to be a piece of cake when we consider the other factors.

All these factors can play on and build on each other, hence the double headed arrows.

Changing behaviours is not going to occur through power point, it will just add to the frustration of the person/people who created the power point presentation - probably making them angry, and they will then start raising their voices and being aggressive in meetings, finding their heart rate has increased and getting red faced, and thinking "why doesn't anyone listen to my perfect idea, they're all morons".



Edgerton, N. and S. Palmer (2005). "SPACE: A psychological model for use within cognitive behavioural coaching, therapy and stress management." The Coaching Psychologist 1(2): 25 -31.

Thursday, December 23, 2010

Goals Goals

Goals are fantastic as standards or aspirational states for regulation. Using a goal as a way to set direction is a fundamental part of Scrum and I am seeing it more in generic "Big A" Agile. of course the goal needs to be the right goal, and if we are inherently goal directed organisms then we need to make sure everyone has their goals aligned.

Having learned some skills for project management the idea of managing a plan based on the original estimates (aka commitments) never seemed right to me. In this situation the goal is to make sure the plan is met, be that the dates/scope/budget. Ah hah! that's project management, the magic is to drive the team to achieve this result. Of course it's also utter bunk, it's hitting the target and missing the point.


My rough sketch above is an attempt to show what I am on about. An idea becomes a plan, then there is some action followed by measuring progress, then checking the progress against the plan. This assumes the plan and the idea are correct. With these two assumptions there isn't much room to make changes. This is a simplification and plans do change, but from what I have heard it's more about "updating" the plan than intentionally varying the plan and re-planning is a significant effort that is met with disapproval.



Now if we manage our work to achieve the goal rather than to follow the plan there is greater opportunity for changing what we doing. The second sketch shows this simple difference, that is to check progress against the goal rather than the plan. Each cycle through the action, measure, check and change needs to be treated as an experiment, where we learn what works and doesn't work to achieve the goal. In this scenario nothing is assumed to be correct until it is proven to help achieve the goal, and we can refine the goal as well.

Unfortunately within a traditional work environment this is a big change in thinking. Outside of a specific R&D team trying something that might fail is rarely approved. Changing this will be a significant challenge as structure of the organisation reinforces these ideas of how to view success.

Goals

Goals... simple stuff really. A goal is just something you want to achieve such as "get that job!", "get a promotion", "run the four minute mile". Interestingly there are some people who have made a career out of studying goals, weirder things have probably happened.

Austin and Vancouver (cool names for co-authors) define "goals as internal representations of desired states, where states are broadly construed as outcomes, events, or processes" which extends the discussion (and the career) on goals.

The upshot is that any person at any moment has multiple goals. Right now I have the following:
  • Sit comfortably
  • Write something sensible
  • Don't let me right eye dry out - as it isn't closing properly
  • Enjoy listening to Portico Quartet's Isla whilst writing this post
but wait there's more
  • In the very near future I will need some sleep
  • Right now I want to keep my body at a comfortable temperature and it's warming up in here
  • I also want to read a few books that I have recently acquired
  • Earn three stars on each level of Angry Birds (known in this house as Cranky Chickens)
This list could extend for a lot longer but it's boring enough.

So what? So everything we do can be interpreted as pursuing a goal. Whoop de do.

What if you want me to pursue a goal that's not on my list? For example you may want to change the way I work. Now we may have some difficulties as your goal may be discordant with my goal. Our first reactions in this situation are going to be interesting.

You - Lachlan just doesn't want to change.
Me - Why would I want to do that? What I am doing is fine.

Is this resistance? Rather than thinking in a confrontational way about the situation perhaps we could consider that we have competing goals and then we can start to dig into what these and whether they can be aligned.

Within the trans-theoretical model this conflict on goals is coming from one person being further through the cycle of change than the other. In my two line example I am in pre-contemplation, I think what I am doing is fine, I have no reason to change. It's back to raising my awareness of the alternatives and the limitations of the way I am acting/working.

Monday, December 6, 2010

Changing - conceptualisation

Earlier this year a colleague asked me what I would look for in a organisation considering adopting agile. Where would I stick my nose? (paraphrasing, she was more polite than that). Being a whiteboard junkie I grabbed a marker and drew the following.

Technology - what the development group create and maintain
People - organisational culture, teams and individuals
Process - how do they try to make the work work
Environment - what is the physical environment like to work in

The idea is that agile software development is influenced by these four forces/elements/modalities/thingies/horsemen. The conclusion of my 5 seconds of thinking is that if you want to adopt agile you need to have a good hard look at each of these and how they will influence the change.

I now like to think about this without "agile" in the middle of the picture - as I think the idea is more generally applicable without the A word there. How do these forces influence the way an organisation develops software (or do pretty much anything)? So something more like this (based on Greene and Grant 2003 - house of change).

I think each of these forces has a balancing influence on the others, so that a change to one will be pulled back by the others, a sort of equilibrium. Any attempt at making a significant or lasting change will need to take this into account. (There is an inkling about entropy too, but that's still in progress.)

For example making a change to "go Agile" may start with changing the way projects are run to work in iterations ie a process change. The organisational state before the Agile adoption came about from the influence of more than just the delivery process and none of the following processes have changed:
  • Hiring
  • Release management
  • Funding/budgeting
  • Organisational change
The organisation has been structured to support these processes (and many many more) and the original project process is part of this melange. There is now a foreign body in the organisational system and it may end up being treated as one.

What about the other forces?
Technology - no change. Unless there was attention to technical excellence before the process change this is going to hurt. Odds on that delivery to time and budget trumped internal quality.
People - no change. The same people, who may have been comfortable with how work was before the change, and the same structures to support the people. A culture that developed from how the organisation worked. Teams that may have competed now need to collaborate.
Environment - no change. Maybe everyone on the team is on the same floor or in the same building, but this is not real collocation. A nice open plan office - recommended over the alternatives - is not really the place for noisy exchanges of ideas, you end up having stand ups in a meeting room, story walls hidden in the computers so no one is disturbed.

What's the point?

To make a change you need to have a holistic or system perspective, unfortunately conceptualising the entire system is difficult. Making effective change is hard, even when there are no explicit forces against the change there will be tacit forces that will hold you back. No amount of analysis will reveals these forces so get going and expect to learn about these on the way, and make that explicit.






Greene, J., & Grant, A. M. (2003). Solution-focused coaching: Manging people in a complex world. Auckland, New Zealand: Pearson Education New Zealand; New Zealand.

Changes - ambivalence

Moving yourself into action can be challenging, helping some one or some people move into action can be bloody frustrating. The following is a tool from Tony Grant (dunno if he came up with it) to help deal with the ambivalence of change and try to get some one into preparation/action.

Start by rating the motivation for changing on a 1 -10 scale. Where 1 is "not likely matey", and 10 is "why are we having this conversation as I am on the move".

Use the following (crappy html) grid to explore the ambiguity of the change - better off with a white board, or something biggerer to review the items. Remember not to try to persuade, explore the ambivalence.

Stay the sameMake a change
Positive step 2. What's good about staying the same? Get it out and talk about it. Explore the hidden pay offs of not changing.step 3. Dig into the positives of change. This will be the opposite of step one, but get into the details. Make the benefits clear and obvious.
Negative step 1. Explore the downside of the change by brainstorming the negatives of the current situation. Don't dwell here.step 4. Use this space to stick in a plan of action. If there are still barriers, explore these, get them out in the open.

then re-rate from 1 -10. There should be a shift, cease on this.

Here is a worked example. A team is considering increasing the unit test coverage in the legacy portion of a solution (ie code they did not write), there is "resistance" to doing this work and this is a look at the ambivalence around incorporating this work practice.

Motivation: 3

Stay the sameMake a change
PositiveQuick to get the work done. Don't need to waste time reading through someone else's crap code. Only need to focus on my work and any new changes.Learn more about how the entire solution works, perhaps there are opportunities for abstraction, decrease complexity or general improvement. Less brittle code base as the tests will support any refactoring. Decreased risk in enhancing or fixing the solution in the future as there is a safety net of tests.
Negative Will never understand legacy code. Refactoring is very risky. Changes will take longer as time goes on.As a start write some tests for what is considered the riskier parts of the solution, rather than everything. Expand on these whenever we work on the solution.

Motivation: 6


The tool is not a panacea, maybe there won't be a shift in motivation. Using the technique should help bring out more of the issues around the change, use these to help raise awareness and try again.

Wednesday, December 1, 2010

Enterprise Architecture

Having written no production code in the last few years I feel qualified to rave on about EA. Actually I don't really feel qualified, I know jack about it. I do know there are a number of people who works as EAs and how widely their work is ignored. So in the interest of efficiency here is the Enterprise Architecture chatterbox.