Skip to Content
avatar image
Former Member

Send email in TR workflow to approvers obtained in category R rule

Hello Workflow Gurus,

I have a business requirement for workflow template WS20000263 (Loans release Workflow) which is activated to request approval for changes to business partners in transaction BP.

This workflow gets the list of approvers to send the workitem for approval uisng a category R rule (R: Agent determination: responsabilities RULE 20000053). As part of my requirement i have to send an email with some details to the list of approvers. How can i fetch the list of approvers that the rule is fetching as this rule has no FM for agent determination in order to get their emails? It is wanted to create a new activity in parallel to send the email.

Please, any help will be appreciated

Regards,

Gustavo

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 04, 2016 at 06:17 AM

    Hi,

    You can FM RH_GET_ACTORS, and pass the rule no and get the agents.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 04, 2016 at 05:43 AM

    Hi Young,

    Better take a copy of standard workflow and add your activity (To fetch approver list ) and send mail step ( to send mail with details to approvers).

    Note: After copying activate the custom workflow linkage of custom workflow and remove the standard workflow using standard tcode SWETYPV table entry.

    Step to copy the standard workflow.

    Use t-code PFTC to copy the standard workflow.

    Goto t-code PFTC , select workflow template from dropdown and give the standard workflow template number (20000263) then click on copy button. Give abrvi. and name of workflow and save it.

    Let me know if you need any more information.

    reward if helpful.

    Thanks,

    Anand

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 04, 2016 at 09:33 AM

    Hi,

    I think you are getting approval from rule. Then you can add one more step for getting the mail id of these approvers ( copy the workflow then change on it ).

    Regards,

    Shamsu

    Add comment
    10|10000 characters needed characters exceeded