02-06-2020, 03:00 PM
(01-28-2020, 02:52 PM)remkonoteboom Wrote: from pyasm.search import SearchThis is actually returning list of sobjects. How i can get statement from list?
expr = "@SEARCH(prod/asset['code','not in',@GET(sthpw/task['search_code','like','ASSET%'].search_code)])"
search = Search.eval(expr)
print(search.get_statement())
This is a good way of diagnosing exactly what the expression language is doing.