If we need to consider two states of claim (e.g - Draft & Closed state) for temporary claim, then how can we use these state using Query? I tried with -
var claims = Query.startswith("ClaimNumber", "TMP", false)
.compareIn(Claim#State, {ClaimState.TC_DRAFT, ClaimState.TC_CLOSED}.toArray())
.select()
The above line throws null pointer error . Could anyone help on this ?