Thanks dalton. Activity rules are properly defined. I know it's not a good practice. But just want to know if this is possible with the sql query of changing project status from QA to DV or vice versa without going through OMW. If yes, which tables we might require for this query.