cancel
Showing results for 
Search instead for 
Did you mean: 

Mailling Approvers from the list

Former Member
0 Kudos

HI Gurus,

HR module Leave Request Workflow:

Employee will enter all leave details in the request form, and also he will enter 4 or 5 his authorized Approvers in the same form.

Approvers user ids will store in different table (here 5 maximum approvers).

My question is, after employee save all details, through workflow mails how to send one after the other for Approvals.

And How can i call these Approvers to workflow, and where can i call in workflow?

Best Regards,

PS

Accepted Solutions (1)

Accepted Solutions (1)

former_member184112
Active Contributor
0 Kudos

Hi,

You can call and use RULE FM for this solution

Thanks and Regards,

Prabhakar Dharmala

Former Member
0 Kudos

Hi Prabhakar,

How can i capture the approver fields from the table to RULE FM?

Can you explain your ideas and logic on this.

Regards,

PS

martin_nooteboom
Active Contributor
0 Kudos

Hi Peter,

You could have given more information in your question. That would make some things clear to other people. Tell the things you have already done, and point out where you are stuck.

So you have a function module to retrieve the approvers. Now you need to create a method in your BOR (or in a delegated subtype of a standard BOR) which you are using. This method will pass your approvers to a container element of the workflow so you have a table of approvers in your workflow. Now you have two options let the approvers approve one after the other, or you can give them the approval task in parallel.

Regards,

Martin

former_member184112
Active Contributor
0 Kudos

Hi PS,

As martin said, i saw your previous mail,

fine it seams that you build a FM call that FM in RULE and this will fetch approvers one by one, i think some exces of logic required in your FM for this.

Thanks and Regards,

Prabhakar Dharmala

Former Member
0 Kudos

Thank you,

i created as you told

it is working

Regards,

PS

Answers (1)

Answers (1)

Former Member
0 Kudos

You want to send for approval sequentially. Then you use a Loop step that will send workitems sequentially after it gets approved by the previous manager. If someone rejects then you should terminate the loop.

<b>Reward points if useful</b>