Custom workflows based on record statuses