Returns all open tasks on the input document(s). If the operation is invoked with parameters, all tasks instances for
the given 'processId' originating from the given 'nodeId' are returned. The 'processId' is the id of the document
representing the workflow instance. The parameter 'username' is used to fetch only tasks assigned to the given user.
Tasks are queried using an unrestricted session.