Working condition of createSnapshot method.