BOR object for manager of manager of manager
I need to achieve multi level approval workflow. In this my Workitem has to go to the third level manager
i.e. if emplyee is EMP initiating SC
First level - Manager of EMP say MGR
second level manager of MGR say SUPMGR
third level - Manager of SUPMGR
I am using Business object ASBMANAGER to find first level manager
ASBMANOFMA for 2nd level manager in the Container element of Workflow.
Now I need to have 3rd level managers
Is there any Business Object for it, if not any other way to achieve this.
Thanks in Advance ,
There is no BOR object for the third manager. I suggest you create your own BOR object by making a copy of ASBMANOFMA and adapt the method create:
In ASBMANAGER the function SWX_GET_MANAGER is called one time.
In ASBMANOFMA, same function is called a second time with the result of the first run.
In yours, you'll need to call it a third time.
Remember that in classical workflow , all BOR object used as adhoc agent for approval must work independently and with the shopping cart number as input only.