I've been working at my current employer for 2 and a half years.
I started in a junior programmer position and worked there for 1 year before a new position opened up in a different department with a similar role but as a full fledged programmer, so I applied and moved there. I have currently been in this position for 1 and a half years.
I have just been told that there is a senior programmer position opening up in the department that I used to work in and that the new supervisor is very interested in getting me back aboard there.
My question is, is it ok to bounce back and forth between departments like this as long as I am progressing my career? I feel like I have a bit of an obligation to my current department even though the corporate policy is to freely move throughout the business. I don't want to be seen as someone who is non-committal, but to be able to progress to a senior position in such a short time is incredibly tempting.
I should add that this is a union job and I don't have to fear retribution for moving