cancel
Showing results for 
Search instead for 
Did you mean: 

Leave Request Workflow for two persons at a time

former_member205363
Contributor
0 Kudos

Dear Friends,

I have a requirement, I want to send the Leave Request Workflow to Two Persons (Line Manager & HR Manager) at the same time.

1st Solution: I tried to add two agents in the workflow, its not working.

2nd Solution: tried creating two workflows, one for Line Manager and another one is for HR Manager, placed the Business Object "Absence", event "Created". two workflows are not triggering.

Please let us know how to trigger two workflow in the Leave Request Creation Process.

Thanks,

Prasad.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186746
Active Contributor
0 Kudos

hi,

1st solution should work, so explain why it is not working. Or what is it exactly what you want to achieve.

Kind regards, Rob Dielemans

Answers (2)

Answers (2)

bpawanchand
Active Contributor
0 Kudos

Hi

I have a requirement, I want to send the Leave Request Workflow to Two Persons (Line Manager & HR Manager) at the same time.

I guess you are aware of the Badi PT_GEN_REQ which can be used to populate as many number of agents as you can. How ever, it not clear for me is are you expecting a kind of parallel processing among L1 and HR.

Thanks,Pavan

former_member205363
Contributor
0 Kudos

Hi,

My requirement is, i want to send the leave request approval to two persons, based on their availability they have to approve or reject.

I created the copy of standard workflow 12300111, and the Task agent is picking from the expression &Agent_0001.Agents&.

So, I added two agents in the above internal table "Agents" through the code BO->Method.

If you know the correct way achieving this requirement, please suggest me.

Thanks,

Prasad.