I am using ITOP v2 and I have installed "approval plugin" v-2.0. I have created a approval rule in which for first approval, I am using following query: "SELECT Person AS m JOIN Person AS e ON e.manager_id=m.id WHERE e.id=:this->caller_id" to find my manager. I am using onApproval Request trigger using USER_Request class.
The second approver should be the Admin(Role) of team, which is added to a particular service for which we are raising the request.
Can someone please suggest me the query to fing the manager of that team ?
Hi Everyone,
I am using ITOP v2 and I have installed "approval plugin" v-2.0. I have created a approval rule in which for first approval, I am using following query: "SELECT Person AS m JOIN Person AS e ON e.manager_id=m.id WHERE e.id=:this->caller_id" to find my manager. I am using onApproval Request trigger using USER_Request class.
The second approver should be the Admin(Role) of team, which is added to a particular service for which we are raising the request.
Can someone please suggest me the query to fing the manager of that team ?
Hello,
Does the solution you found on another thread answers this question as well ?