Skip navigation
Contact Us
4546 Views 17 Replies Latest reply: Nov 14, 2012 3:26 AM by Sunkara Venkataramana RSS
srinivas sakinala Newbie 18 posts since
Aug 10, 2011
Currently Being Moderated

Aug 10, 2011 10:27 PM

E-mail task problem

How to attach a E-mail task for concorrent job.?

if any session get fail either send a failure mail, if the entire job runs successfully it sends mail as job is successful. can any help me..?

  • Tejasvi SS Expert 400 posts since
    Mar 2, 2010
    Currently Being Moderated
    Aug 10, 2011 10:55 PM (in response to srinivas sakinala)
    Re: E-mail task problem

    Hi Srinivas,

     

    Please use 2 Email tasks for your requirement. One with subject as "successful" and other one for failure notifications.

     

    But, while invoking Email task mention conditions as below.

     

     

                                                                      $session_name.status=Succeeded

    (start)----------------------------> (session) -------------------------------------------------------------->(Email)

                                                        |

                                                        |             $session_name.status=Failed

                                                        |-------------------------------------------------------------------->(Email)

     

    Or Even we can configure the same in components tab of session fro both success and failure notifications.

     

    Thanks,

      • Tejasvi SS Expert 400 posts since
        Mar 2, 2010
        Currently Being Moderated
        Aug 11, 2011 7:23 AM (in response to srinivas sakinala)
        Re: E-mail task problem

        Hi Srini,

         

        I am not clear with your requirement. Please correct me if i am wrong. Do you mean to say if any of session fails, we need to send a mail with log of that session alone or logs of all sessions which executed till that time in a single mail?

         

        Also is it ok if we attach all session log irrespective of status of previous session if current session got failed .

         

        Thanks,

          • Tejasvi SS Expert 400 posts since
            Mar 2, 2010
            Currently Being Moderated
            Aug 11, 2011 10:21 PM (in response to srinivas sakinala)
            Re: E-mail task problem

            Hi Srini,

             

            In Each session's Email Failre  Notification, mention the path of all session logs which has to be picked up using attach file variable till that session.

            Eg:

             

            (start)--------------> (sess1)----------------------------------------->(sess2)-------------------------------------->(sess3)

                                Mention path of sess1             Mention path of sess1 & 2           Mention path of sess1,2 & 3

                                 log in attach file of Email         log in attach file of Email              log in attach file of Email

             

            These changes are only for Failure Email.

             

            thanks,

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points