Could not cast from Text to AB_location

local!vehicleBaseLocations: append(local!vehicle,"ALL"),

I have written a rule and called that in local!vehicle(i am fetching data from DB). Am calling that in local!vehicleBaseLocations,I need to add ALL option also, I have used append to achieve it but its throwing error "  Could not cast from Text to AB_location. Details: CastInvalidCould not cast from Text to AB_location. Details: CastInvalid 

Can someone help what exactly am missing

  Discussion posts and replies are publicly visible