on 01-25-2008 10:01 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
I guess you are talking about processing types, could you plz let me know whether you are working with workflows or actions coz I think you are mixing both the concepts.
If you are working on actions for this scenario better take the workflow you have created or you can also take method call as the processing type for the mail generation scenario.
You can also visit this link for more details.
http://help.sap.com/saphelp_crm40/helpdata/en/ad/2f8a4c2b8bad4bb4a82a103a31b546/frameset.htm
Hope this helps.
Regards,
A S
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.