If you're on prednisone, it will take longer to heal from the surgery. I was on 40mg two weeks before surgery, and they had me taper 10 mg a week, which was a lot, but they didn't want to do the surgery on more than 20 mg (my surgeon was initially OK with being on more, but only before she realized I'd been on it a lot in the past two years).
Some people have emergency surgeries with ruptures and such, so it's clearly possible to do the surgery in a big flare.... but the healthier you are before, the easier recovery will be, in general. Of course, if we were all super healthy, we'd never need the surgery in the first place!
48 years old, female.
2004 dx indeterminate colitis. Back and forth between Crohn's and UC dx. Many drugs, minimal success.
2010-11 Crazy skin and eye complications, high fevers, bad flaring. Out of good drug options, tired of scary drugs.
Feb 2011 -- proctocolectomy with permanent ileolostomy; abscess, blood clot. Still healing, still glad for the surgery