How to use constraint

how to use constraint for order state at update Order Gift State at GIFT Rule ?
I want to constraint GIFT all item not include void item at ticket.

image

I think you need '{ORDER STATE:GStatus}' != 'Void'

still not working with this constraint

Its really not a helpful follow up answer. You should be more forth coming with details.

Whats the name of your status group that contains states Gift and Void?
Is your order actually Void before using this rule? Are there any automation command or rule mappings that might prevent you from firing this rule to begin with?

Check with a show message that your order state expression is returing expected value. Automation command rule itself doesnt nesserserally have a link to an order to be able to have an order state to return.