on 07-16-2008 12:30 PM
Hi Experts,
Can we trigger a workflow from a mail? Is it possible? My scenario is very simple-Whenever a mail is send for approval to the approver,two workitems-Approve or Reject should be created in the Appover's inbox.On clicking on any one workitem, corresponding mail for approval/reject should be sent.Any pointers will be highly appreciated..
Thanks and Regards,
Rohit
No responses!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohith,
What is the difference between sending a mail to a recipient list compared to sending individual mails via a dynamic loop?
Performance. Sending 1 mail to 20 recipients will cost considerably less performance than sending 20 individual mails. If the mail is sent as a SAP Office mail (as opposed to e-mail, fax...) disk space will also be a factor because the SAP office mail will only exist once in the database, with references being created for each of the recipients.
The only time you need to consider individual mails with a dynamic loop is when the text of the mail varies from one recipient to another.
How do I send a standard text as an e-mail from workflow?
It is very easy sending standard text , which may include data from the workflow. You simply create a background step which sends the work item description. This may include variables which will be substituted when mail is sent.
In early releases you have to create your own task based on the method SELFITEM SendTaskDescription. In later releases a wizard is available for creating the step and in release 4.6 there is even a step type which does this all for you automatically.
Whichever path you take, there is very good online documentation describing exactly what has to be done.
see this link
http://saptechnical.com/Tutorials/Workflow/WorkflowTutorialOne/WorkFlowTutorial1.htm
thanks
karthik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
Maybe I am not able to express myself clearly.What I am looking for here is:-
a) The definition of E-mail creation event, which can trigger my workflow.
b) This definition has to be specific. I mean workflow should trigger only when a mail is send to admin.It should not trigger everytime a new mail is created in the system.
c) I thought that the business object for E-mail is activity-BUS2000110.But again activity can be anything-E-mail,task,telephonic conversation.Which business object should be used here?
Please give me some pointers on this.
Thanks and Regards,
Rohit
Hi rohit,
Actually your question is not complete.By e-mail do u mean SAP inbox/outlook.
With SAP inbox it is possible,.but if the e-mail is in the outlook,it is not possible.
Best of luck,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhumika,
You are absolutely right.I want to trigger it from SAP Inbox(SBWP transaction).Actually I am using CRM 2007 and this SAP inbox is transformed into Agent Inbox, but functionality is same.
My only doubt is how to trigger an event which will start the workflow. Also it should be triggered only when the mail is sent to a particular person-say admin and not to every individual.
Can you please guide me on this since I am new to workflows?
Thanks and Regards,
Rohit
Hi,
Your problem can completely be solved.
go to saptechnical.com> tutorial> Business Workflow
in the 1st tutorial 'Building a simple Workflow application using the steps "User Decision" and "Mail". (More details) '
Regards,
Anirban
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohit,
The workflow is triggered using the start event.
You can trigger the workflow from any transaction by making use of the Business object. Generally we dont trigger the workflow manually.
we trigger when ever a transaction occur or any event occur.
Please check this example
Trigger a workflow to send an email whenever a material is created
http://www.saptechnical.com/Tutorials/Workflow/MaterialCreate/Page1.htm
Best regards,
raam
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.