unicorn
1
I wanna see only in Version page with version is published under Template task and its version status is approve.
i tried:
versions = sg.find(
“Version”,
[
[“entity.Task.name”, “is”, “Template”],
[“sg_status_list”, “is”, “apr”]
],
“Error: API read() Version.entity.Task.name doesn’t exist:”
any leads?
thx.
unicorn
2
i updated to this:
“Version”,
[
[“entity.Version.tasks.Task.content”, “is”, “Template”],
[“sg_status_list”, “is”, “apr”]
],
now giving me zero versions.
suppose to have 2.
mmoshev
3
it should be
find_one(
"Version",
[["sg_task.Task.content", "is", "Template"],
["sg_status_list", "is", "apr"]])
The field entity
points to the shot, not the version entity.
1 Like