Unable to use ServiceNow state check