I am using cypher query for shortest path.
MATCH path = allshortestPaths((a:Place { Name:'Name-1' })-[*]
-(b:Place { Name:'Name-2' }))
WHERE ANY(x IN nodes(path) WHERE x.Status = "true")
RETURN path
Above query is filtering the paths after getting the list of shortest paths.
But My requirement is it should filter paths internally with ANY(x IN nodes(path) WHERE x.Status = "true")
conditions, then among the filtered paths, it should find the shortestpath.
Is this possible?