public getPriority() as ProcessPriority
Reads the portable priority class; requires QUERY.
priority = task.getPriority()