Api to create leave notification
Hi,
I want to use an API to create a leave application.
It should be something like in the Employee self service from, ie, a person should be able to apply leave in planned or confirmed state and the workflow should be triggered asking for approval from the employee's supervisor.
Currently i tried using the hr_person_absence_api.create_person_absence procedure to create person absence but it just adds a leave record as if the leave has happened already.
Is there an API to create leave requests that can be approved by the supervisor? Else how can i implement such a function or how is it done in employee self service?
I want to use an API to create a leave application.
It should be something like in the Employee self service from, ie, a person should be able to apply leave in planned or confirmed state and the workflow should be triggered asking for approval from the employee's supervisor.
Currently i tried using the hr_person_absence_api.create_person_absence procedure to create person absence but it just adds a leave record as if the leave has happened already.
Is there an API to create leave requests that can be approved by the supervisor? Else how can i implement such a function or how is it done in employee self service?
Tagged:
0