Skip to Content
author's profile photo Former Member
Former Member

WORKFLOW PROBLEM

Hi all,

we are trying to make a workflow which will send the mail to the responsible employee whenever the status of lead is in process.

we have partner function named:

responsible branch

responsible hub

responsible zone

responsible marketing team member

we have defined the basic data type and created a container element named LEAD and binding is done with lead object in the basic data.

next up a condition is applied like

&lead.user status= lead in progress

on the basis if this condition a mail is send.in send mail step

recepient we have used as"expression"

but the mail is not being sent. i think the problem probably is that a container operation need to be done where the value of requisite person responsible is retrieved.i think the system is not able to know which employee the mail should be sent.

please advise how can we solve this problem.once again i state that workflow we are generating is whenever lead is in process a mail is sent to employee responsible

please guide asap

help will definitely be rewarded

regards

ashish

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Jan 25, 2008 at 10:55 AM

    Hi Ashish,

    To begin with, I would suggest you to try putting SY-UNAME, i.e workflow initiator as the recepient for the step 'Send Mail', just to check SAP Connect (SCOT transaction) settings are correct in your system and the mail is sent successfully to your inbox.

    If this works fine, you could try debugging the function module which tries to derive the responsible employee based on certain conditions and the value passed to the expression for the recepient.

    Regards,

    Pavithra

    **PS : Please reward points if this helps

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2008 at 12:16 PM

    Hi Ashish,

    Use function module SWE_EVENT_MAIL.

    Tx: SWETYPV

    New entries, Enter Business object, event name. Enter the SAP userid in the "Receiver type" and SWE_EVENT_MAIL as the reciever FM.

    Whenever the event is raised, an mail is sent to the req SAP user id.

    I will send your document today, facing some issue with the attachments.......

    Regards,

    A S

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 05:01 AM

    hi amit

    thanx for the help.can u please suggest some way other than function module to describe the condition and container element with in the workflow builder itself.

    the document u have send is already with me but still its very much appreciated.please advise me

    regards

    ashish

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ashish,

      I guess you have not followed the document that I have sent you, kindly check it on ur sandbox since it contains the steps that create a container element and then use that container element to create a condition.

      In case if there is anything else you meant by this message I request you to kindly rephrase it.

      Kindly close the earlier thread in case ur requirement is fulfilled.

      Regards,

      A S

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 09:37 AM

    hi amit

    actually what i was trying to say is that now after i am trying to send the mail to the user .in the activity part of the workflow i am trying to create a task.the Method am using for the lead object is "CHANGEWITHDIALOG"

    WILL IT SOLVE MY PURPOSE BECAUSE I WANT TO SEND MAIL TO PERSON WHEN LEAD IS CRETAED OR WHEN STATUS OF LEAD IS CHANGED.

    PLEASE TELL ME THE SIGNIFICANCE OF METHOD USED FOR EX IF INSTEAD OF USING CHANGEWITHDIALOG I USE DISPLAY WHAT WILL HAPPEN.

    HOPE U GET WHAT M TRYING TO SAY

    WAITING FOR UR REPLY

    REGARDS

    ASHISH

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 05:53 AM

    hi amit

    i am actually talkin regardin workflow not actions.ok i tell u the current situation.we have a partner function named "loan officer"

    the mail we want to send to him when ever the condition is fulfilled.and the condition should be when the status of lead is changed

    please tell now how shud i create that conditon and how to pass the GUID value to partner function.

    i have also tried using standard workflow ws13100008,its givin me error that obligatory element missing,what cud be the reason

    please guide

    regards

    ashish

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.