* create a new state and set at the end * propagate labels datasource_uid and ref_id from current state if it's error * copy the state when apply to all