Unable to load instance('location')... on form display condition

I have been working on implementing a release management for our project. we selected a type known as Custom Location where workflow fields that are custom location fields are linked with the location. But whenever I Add instance(‘locations’)…on display condition of a form, instance(‘locations’) is not loaded. no result on data previewer .

This is the xpath expression
[@case_id=instance(‘commcaresession’)/session/user/data/commcare_location_id]/location_data/Workflow_RMNCH)>0, instance(‘locations’)/locations/location[@case_id=instance(‘commcaresession’)/session/user/data/commcare_location_id]/location_data/Workflow_RMNCH, “Off”) = “On”