How to trigger GP email template

Hi,
I have created 2 Callable Objects(Requester and Approver)and using those two have created a GP process.
Now i need to trigger a GP email template so that when requester clicks on Submit button and the request is with Approver, mail ( which is written in GP email template) is sent to the approver.
I am using send mail code on click on Submit button in WD Requester Callabel Object.However not sure how to trigger mail template.
Any help in this regard is highly appreciated.
Regards,
Richa Sinha

Two things are pre-requisite for sending the mails.
1) smtp.server should be configured
2) smtp.service_user_mail should be mentioned
You can configure the above settings in the Visual Admin-> caf/eu/gp/model
Also you need to create email templtes in Maintain E-Mail Templates section.
Creating CO is very straight forward. Use wizard to create the CO.
In set configuration section, specify the email template to be used. also specify the reciever where the mail should be sent.
If everything is configured successfully you can successfully send a mail.
Click [here|http://help.sap.com/saphelp_nw70/helpdata/en/0f/619fd378a641b29386063019c24fc4/content.htm] for more detail about predefined callable objects:
Abhinav
Edited by: Abhinav Sharma on Jun 25, 2009 9:34 AM

Similar Messages

  • BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?

    Hi All.
    I have this request.
    BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?
    We have jobs scheduled on BODS running smoothly and absolutely fine.
    But to check, i am logging into the admin console and check for the jobs status.
    I would like to have an email to be received from BODS after each job is finished.
    It could succuessful. Or it could fail.
    Whatsoever, i wish to receive an email alert as soon as a job is finished.
    Can anyone advise me as to whether this could be made possible.
    And if yes, how this could be done.
    Thanks for your help in advance.
    In BOE CMC / for webi / schedule / we find an option to send email for a job success or a job failure.
    Is there any option similar to that in BODS ?
    Also would like to know :
    how to use the smtp_to or mail_to functions ?
    how to set up the smtp server for this ?
    thanks
    REgards
    indu
    Edited by: Indumathy Narayanan on May 31, 2011 3:47 PM

    Hi.
    Since am new to this BODS. I need some help.
    I already have many jobs which are running absolutely fine.
    And when a job runs, and finishes, am able to see the trace saying
    e.g. :
    Job_abc is completed successfully.
    We got the smtp service activated for our test server.
    and we hae a group email id.
    I have put the details of the smtp server / ip address / and said apply restarted.
    The i created a simple test script as below :
    print (' Before email ' );
    smtp_to('abc@company_name.com', 'Job ' || job_name() ||' on ' || host_name() || ' has FAILED',
    ' the job has failed', 0, 0);
    print('After Email ');
    It does send a email to as per smtp_to whatever email is specified.
    But how to differentiate between a job success
    And a job which has failed.
    I wish to have a mail which says on the subject :
    'Job ' || job_name() ||' on ' || host_name() || ' has completed successfully'
    ==> IF it is a success
    OR
    'Job ' || job_name() ||' on ' || host_name() || ' has failed'
    ==> if it has failed
    How to make the system identify, whether
    to send a success message or a error message whatever
    Could anyone advise.
    thanks
    indu

  • How to trigger an email to applicant

    Hi All,
    send an email to an applicant, once the applicants Initial data is entered in SAP .
    how do we do this.
    Thanks
    Veer

    Check features 'PACPA', 'PACPP', 'PACTV' and 'MAILS'.
    PACPA defines how the parameters are to be set for actions proposed as follow-up actions. Follow-up actions are defined using feature PACPP.
    Should provide the solution to you.
    Regards
    Lincoln

  • How to trigger unread emails for a given period ?

    Hello All,
    I kindly need your help on the following. I have a mailbox that receives huge number of emails per day , I`m processing those all unread emails every one minute using a third party tool and make them read after successfull processing , my concern is
    that I want to receive any alerts if there are unread emails after 5 minutes for example. Because this will mean that the emails are not processing hence the scenario has stopped running.
    Hopefully I`m clear enough.
    Best Regards,
    Haytham Fekry

    You should use time-script monitor which run every 5 minutes and return unhealthy if an unread email was found in inbox.
    The script as
    Set olApp=CreateObject("Outlook.Application")
    Set olMAPI=olApp.GetNameSpace("MAPI")
    Set oFolder = olMAPI.GetDefaultFolder(6)
    Set allEmails = oFolder.Items
    dim oAPI, oBag
    Dim Status
    set oAPI=CreateObject("MOM.SCriptAPI")
    set oBag=oAPI.CreatePropertyBag()
    Status="Healthy"
    For Each email In oFolder.Items
    If email.Unread = True Then
    Status="UnHealthy"
    End If
    Next
    Call oBag.AddValue("State", Status)
    Call oAPI.Return(oBag)
    Roger

  • How to trigger email notification when users fail to reset your password in fim 2010 r2.

    Hi,
    how to trigger email notification when users fail to reset  your password in fim 2010 r2
    Regards
    Anil Kumar

    Hi Sylvain,
    I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
    check Advance View of Set this gives
    <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
    xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
    But this is not working for me so please tell me where i am wrong.
    Regards
    Anil Kumar

  • How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2

    Hi,
    How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2
    Senario:I want put wrong answering to the Questions that i was during registration if i give wrong answers to the questions then a Email Notification should be trigger to Users.
    Regards
    Anil Kumar

    Hi Sylvain,
    I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
    check Advance View of Set this gives
    <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
    xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
    But this is not working for me so please tell me where i am wrong.
    Regards
    Anil Kumar

  • How to use/import CM Tags in html email templates?

    Hi guys
    I would like to start designing html email templates and send mailings for my clients. Can anyone tell me how I can easily insert CM tags so that the template will be easily adapted to the content of the certain email in the email manager like Campagin Monitor?
    Thanks!
    Bob

    Hi Nancy O.
    I would like to design my own templates and instantly insert the right tags and so, so that I can import the templates to websites like Campaign Monitor and my clients can open templates when sending new mailsings.
    The goal is to have my own designed templates for my clients with their layouts which they can use for their mailings. Also extending the newsletter (adding new article fields) should be possible etc.
    Can you tell me what codes I need and what I should pay attention to in order to design nice templates that will appear correctly in nearly each mailbox?
    Thanks in advance!
    Bob

  • How to set password on email body in custom Email Template

    Hy,
    I have a Email Template customized in Email Definition>Design Console.
    I need send this 'Email Template' with the password user, but I don't know how to set the variable 'password' in the body of email.
    I searched in Varables>Targets>Variables, but I not found any think variable like password.
    Some has a idea about this? How to set password on email body?
    Regards,
    Piza

    You can use custom Java code. Refer the following:
    Email notification to users after they change their OIM password

  • How to Transport/Export GP Email Template

    Hi, SDN Fellow.
    I have created a GP transport package from GP Design Time> Administration> Transport.
    The transport went well, and all the process instances & dependencies are included in the checklist.
    Since I am using a few custom email templates in couple callable objects. I don't really see them in the transport check list.
    My question: Is the transport also includes the email templates I created and used in the CO that included in the transport package?
    If not, how do I export the email templates?
    Thanks,
    KC

    Macro,
    I was not sure at the beginning, since I could not see it in the transport check list.
    Thanks for your confirmation.
    KC

  • How can can I determine where email templates are used?

    How can can I determine where email templates are used?
    Here is a SQL query which was recently provided in response to a YES! question.
    1. E-mails attached to the "Notify when plan cancelled":
    select
         da.Name as ServiceGroupName,
         ds.Name as ServiceName,
         dp.Subject as MonitorTaskName,
         de.LogicName as Event,
         demt.name as EmailTemplateName
    from
         defevent de,
         defemailtemplate demt,
         defeventtrigger det,
         defproject dp,
         defservice ds,
         defarea da
    where
         det.objectid = 21 and
         det.objectinstid = dp.projectid and
         de.eventid = det.eventid and
         demt.emailtemplateid = det.templateobjectinstid and
         ds.serviceid = dp.ownerinstid and
         da.areaid = ds.areaid
    2. E-mails attached to all delivery plan tasks:
    select
         da.Name as ServiceGroupName,
         ds.Name as ServiceName,
         dt.Name as TaskName,
         de.LogicName as Event,
         demt.name as EmailTemplateName
    from
         defevent de,
         defemailtemplate demt,
         defeventtrigger det,
         deftask dt,
         defproject dp,
         defservice ds,
         defarea da
    where
         det.objectid = 46 and
         det.objectinstid = dt.taskid and
         de.eventid = det.eventid and
         demt.emailtemplateid = det.templateobjectinstid and
         dp.projectid = dt.projectid and
         ds.serviceid = dp.ownerinstid and
         da.areaid = ds.areaid
    3. E-mails attached to all approval tasks:
    select
         da.Name as ServiceGroupName,
         ds.Name as ServiceName,
         dwsr.Subject as ApprovalReviewStep,
         de.LogicName as Event,
         demt.name as EmailTemplateName
    from
         defevent de,
         defemailtemplate demt,
         defeventtrigger det,
         defworkflowsteproles dwsr,
         defservice ds,
         defarea da
    where
         det.objectid = 57 and
         det.objectinstid = dwsr.steproleid and
         de.eventid = det.eventid and
         demt.emailtemplateid = det.templateobjectinstid and
         ds.serviceid = dwsr.ownerid and
         da.areaid = ds.areaid

    Just add a line to the "where" clause to specifiy which service(s) you want to run this for rather than for the whole catalog:
    --By Service Name
    ds.Name = "My Service Name"
    --By Service ID (Multiple services can be returned.)
    ds.ServiceID IN ('1', '2', '3')

  • I would like to find out how I can setup my Mac Air to allow me to have an email template open up in Outlook instead of Mail when I click on an email address on a website.

    Can anyone help me with setting up my Mac Air, to allow me to have an email template open up in Outlook instead of Mail when I click on an email address on a website?

    All the limits you mention 100 e-mails at a time and 500 in a four hour time frame are limitations imposed by your mail provider, not Thunderbird. Thunderbird places no restrictions on the maximum number of recipients.
    Have you tried turning your computer off for a few minutes?

  • How to pass more than one email address in email template

    Hi all.
    I need to pass email address list in TO field of email template.I passed the list with comma delimeter but even though mail is trigerring only to the first email address in the list...
    If any one come across this please mail me...
    It is bit urgent....
    Thanks in advance....

    Hi Thanks for your reply.
    No there is no space between two mail ids and also i tried by hardcoding the email id's in TO field even though mail is not triggering....
    Through rules i am pasisng the notifer list.Just i am calling the rules in variable and passing that variable in TO field....
    Is there any other way to solve this problem...

  • E61 - How can I set up an email template with prfi...

    I need to set up my e61 with a default email template that includes company information and disclaimers. Also I need the bcc field to contain a pre-defined email address. Is this possible?

    Hi there
    I want to set up an email marketing campaign - i have a database of approx 200 email addresses...

  • How to Add tokens to an email template?

    Good morning Gurus,
    I am customizing an rfx award email template using tokens but I keep getting an error saying: "The RFX_INTEND_TO_RESPOND_DATE Token is invalid. Code-related."
    Please see attachment for further clarity.
    Regards,
    Sabelo.

    Hello Sabelo,
    Unfortunately there is no possibility of adding extra tokens beyond the provided list.
    You can see all the available tokens for each email type in the reference guide:
    Bogdan Toma

  • How do I trigger an email marketing campaign each time a customer orders?

    I want to trigger an email campaign to be sent X days after a customer places an order, each time he/she places an order. Specifically this would be a request for the customer to review the product(s) he/she purchased. I can't seem to find a way to trigger this based on the order date. Please help! Thanks!

    Hi Liam,
    Thanks for the response. I should clarify my initial question. There are two groups of purchasers that I would like to target with different email marketing campaigns: First time purchasers and, (ii) Repeat purchasers. Ideally the system would be able to distinguish between these two groups during the checkout process so that the correct email campaign could be triggered. I thought about basing it on whether the purchaser was logged in or not (where 'logged in = repeat purchaser'), but our site asks visitors to register very early in the process, so conceivably, a logged in user may very likely be a first time purchaser.
    The more I think about it, the more it looks like I will need to manual email marketing list segmentation and management.
    I sincerely appreciate any ideas you might have.
    Thanks again!
    Tim Rayl

Maybe you are looking for