Create Instance State

Listing Instance based on their state value and
manipulating state value only by instance id