Sending e-mail only if the status changed from a specific status

Hi Gurus,
There are a lot of thereads about sending an e-mail when the status is changed to something...
But ,Is there any way to check the <u>previous status</u> prior to send the e-mail?
For example;
I want to send an only e-mail to message processor when the status is changed from "customer action" to "In process" but not when the status is changed from "new" to "In process"
In my opinion to achieve the scenario above there must be something else so-called "previous user status" in the condition creation screen. But there is no...
Thanks in advance,
Gencay

Hi Suzi,
You should select "Value of Item in Expression 1 = Expression 2" as condition in your mail processes. For the approved process, write Approved as Expression 2 in the condition, and Rejected for the rejected process. For both processes write P5_STATUS in Expression 1.
Hope that helps.
Regards,
Sergio

Similar Messages

  • When I share a pages document as a PDF (via e-mail) all the pictures change from the original document, most are missing with just a few of them repeated in the spots where others had been.  How do I do this without the document changing?

    When I share a pages document as a PDF (via e-mail) all the pictures change from the original document, most are missing with just a few of them repeated in the spots where others had been.  How do I do this without the document changing?
    I need to be able to send it to a PC in order to print it.

    Hard to say what is happening without examining the file.
    If you like click on my blue name and email me both the .pages file and the the .pdf you have made from it.
    Peter
    ps It would help to say what version of Pages you are using and on what you are running it. iOS or Mac and what version.

  • Since upgrading to Mail 7.0 the menu popup from right clicking an element in an email has changed.

    Since upgrading to Mail 7.0 the menu popup from right clicking an element in an email has changed.  There is now only a short three item menu:
    Previously there was a longer menu (like the one when right clicking an item on a Safari page):
    I've looked in Preferences and at all the Mail dropdown items but can't find any way to get the old menu back (or why it changed).  In particular, I miss the "copy image" item which allowed me to copy an item image into a new email for forwarding.  I've got two email accounts, an IMAP and a POP.  The behavior is the same with both.
    Any ideas?
    Thanks,
    Richard

    Your screen shots are not visible to me.  But I think I understand your question.
    Several thoughts come to mind:
    rbhix wrote:
    In particular, I miss the "copy image" item which allowed me to copy an item image into a new email for forwarding.
    You can still, of course, simply forward the entire email message containing the image.
    You could also use the "Save Attachment ..." feature available when you right click and copy and paste from there once the image is saved.
    Less likely, you could also use the "Share" feature available when you right click, though I suspect it may not offer sharing options that you would like.

  • My (postage stamp icon) mail program will not send outgoing mail - only receives, what's up with that?

    My (postage stamp icon) mail program will not send outgoing mail - only receives mail.
    Says the outgoing mail server is wrong, but Comcast says it's right - what's up with that?
    Is there a way to reload the standard (postage stamp icon) mail program?

    Clearly there's something wrong with the configuration. Reverting to some other mail application (whatever the 'standard' one is...) won't help.
    What does the Connection Doctor (Mail -> Window -> Connection Doctor) have to say about it?
    Chances are your username/password for your SMTP server are incorrect.

  • Need to send a mail back to the user in Sender Mail adapter Scenario

    Hi all,
    I have a scenario where the user fills the Price form  or the Article form (which is a Adobe Form).When the user clicks on the "submit" button,the form is converted into xml , gets attached to the mail and sent to PI.
    Now the user sometimes attaches the pdf directly instead of submitting the form. This results in the mail being sent
    with pdf  as attachment.
    Now my requirement  is to send a mail back to the user asking them to send an xml  instead of a pdf.
    How can this be done ?
    Kindly let me know friends.
    Quick Response is appreciated.

    hi Sanjay,
    Have a look on Michal's blog, it's for JMS, but it works for others: [PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean|PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean]
    Mickael

  • How to send a mail prior to the due date

    Hi all,
                 I would like to send a mail prior to the due date. Please let me know how to go to the previous step after the loop is executed once in workflows.
    Thanks,
    Sirisha N.

    Hi all,
                 I would like to send a mail prior to the due date. Please let me know how to go to the previous step after the loop is executed once in workflows.
    Thanks,
    Sirisha N.

  • How to send a mail by ckicking the button using java

    hi,
    how to send a mail by clicking the button (like payroll silp in that contain one button if we click that it autometically go through the mail as a attachment) pls frd to me my gmail is [email protected]

    Hi,
    It seems we are doing the homework for you; to make you start with something; look at the sample code below and try to understand it first then put the right values
    to send an email with an attachement.
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.util.Date;
    import java.util.Properties;
    import javax.activation.DataHandler;
    import javax.activation.FileDataSource;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Multipart;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    import javax.swing.AbstractAction;
    import javax.swing.Action;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JTextField;
    public class Main {
          * @param args
         public static void main(String[] args) {
              // Create the frame
              String title = "Frame Title";
              JFrame frame = new JFrame(title);
              // Create a component to add to the frame
              JComponent comp = new JTextField();
              Action action = new AbstractAction("Button Label") {
                   // This method is called when the button is pressed
                   public void actionPerformed(ActionEvent evt) {
                        System.out.println("sending email with attachment");
                        sendEmail();
              // Create the button
              JButton button = new JButton(action);
              // Add the component to the frame's content pane;
              // by default, the content pane has a border layout
              frame.getContentPane().add(comp, BorderLayout.SOUTH);
              frame.getContentPane().add(button, BorderLayout.NORTH);
              // Show the frame
              int width = 300;
              int height = 300;
              frame.setSize(width, height);
              frame.setVisible(true);
         protected static void sendEmail() {
              String from = "me@localhost";
              String to = "me@localhost";
              String subject = "Important Message";
              String bodyText = "This is a important message with attachment";
              String filename = "c:\\tmp\\message.pdf";
              Properties properties = new Properties();
              properties.put("mail.stmp.host", "localhost");
              properties.put("mail.smtp.port", "25");
              Session session = Session.getDefaultInstance(properties, null);
              try {
                   MimeMessage message = new MimeMessage(session);
                   message.setFrom(new InternetAddress(from));
                   message.setRecipient(Message.RecipientType.TO, new InternetAddress(
                             to));
                   message.setSubject(subject);
                   message.setSentDate(new Date());
                   // Set the email message text.
                   MimeBodyPart messagePart = new MimeBodyPart();
                   messagePart.setText(bodyText);
                   // Set the email attachment file
                   MimeBodyPart attachmentPart = new MimeBodyPart();
                   FileDataSource fileDataSource = new FileDataSource(filename) {
                        @Override
                        public String getContentType() {
                             return "application/octet-stream";
                   attachmentPart.setDataHandler(new DataHandler(fileDataSource));
                   attachmentPart.setFileName(filename);
                   Multipart multipart = new MimeMultipart();
                   multipart.addBodyPart(messagePart);
                   multipart.addBodyPart(attachmentPart);
                   message.setContent(multipart);
                   Transport.send(message);
              } catch (MessagingException e) {
                   e.printStackTrace();
    }The sample above is not ideal so you need to go through it and start to ask me some questions if you have
    Let me know if you miss something
    Regards,
    Alan Mehio
    London,UK

  • Why will mail only print the address not the body of the e-mail?

    Why does mail only print the address feilds of an e-mail rather than the content of the e-mail?

    Double click on the e-mail, it will open in a seperate window. Then use the print button in the upper-right corner. It should print the entire thing

  • When sending e mails, w attch the system stalls out just "spinning, not attaching, does not happen with exploere

    When attempting to send e-mails w/ attacments, the systems stalls out, just keeps spinning, problem does not occur with exporer.
    Also when trying to attch pics, same thing

    No need to be inhappy.
    iPhoto Menu -> Preferences -> Accounts ->
    Delete and recreate your email settings.
    Alternatively, use Apple's Mail for the job. It has Templates too - and more of them.
    There's no need to go through that exporting routine. Your iPhoto Library is available in every app.  See this for more:
    For help accessing your photos in iPhoto see this user tip:
    https://discussions.apple.com/docs/DOC-4491

  • Status change from 'Completed' to 'In Process' not allowed

    When configuring Appraisals in R/3 we want to change the  Status of 'Completed' when pressing the 'Reject' button so that it moves to the Target Status of 'In Process'
    However, we are getting an error message:
    Status change from 'Completed' to 'In Process' not allowed
    The SAP help states the following:
    In Process (only if final appraisal or part appraisal is defined)
    This has been defined at Template Level.
    So I don't understand why we are getting the message.
    Does any one else know of a way to configure the Appraisal template so that after it has been 'Rejected' it moves back into 'In Process'
    Thanks
    MN
    Points Rewards!

    Hello Andreas,
    Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
    Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
    The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
    Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
    Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
    My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
    Cheers,
    Mike

  • Error "Status change from READY to COMMITTED is not allowed"

    Dear experts,
    once again SAPs workflow environment drives me crazy with mysterious error messages.
    Some time ago I posted a question here concerning the problem that I cannot put back a workitem by using function module SAP_WAPI_PUT_BACK_WORKITEM due to a lock on this workitem which has been set right after it has been double clicked in the business workplace workflow inbox:
    [How can I put back a workitem before I'm back in the business workplace?;
    Since I do not want to dequeue the lock for the workitem in my application (where the user finds the appropriate detail information along with the function buttons for approval, rejection and F3/BACK) I tried it with calling a POPUP_TO_CONFIRM ("Do you want to put back the workitem?") directly from within the BO-method, right after returning from the FM that called my application. From here (the popup then shows in front of the business workplace instead of the application) the locking doesn't seem to be a problem any more! But whatever I do after the users decision to put the WI back - calling the FM SAP_WAPI_PUT_BACK_WORKITEM or trying to leave the method with macro EXIT_CANCELLED - leads to the error message "Status change from READY to COMMITTED is not allowed" and the workitem changes to status ERROR, too. This message seems to be bull***t, since the status of the item is supposed to go back to READY.
    Does anybody have experience to help me on that ?
    Thanks in advance
    regards
    Andreas

    Hello Andreas,
    Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
    Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
    The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
    Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
    Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
    My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
    Cheers,
    Mike

  • Mail only imports a few messages from old version...

    Hi there!
    Just got my new machine and am in the process of copying all my stuff over from the old one.
    I have 7 email accounts, all of them POP except one, my Hotmail account which uses Daniel Parnell's httpmail plugin so I can send and receive from within Mail.
    I used the normal 'import mailboxes' command and successfully imported everything into the new version of Mail (I was using Mail previously as well, on 10.3.9) except for the inboxes of 2 accounts.....the Hotmail account and one of the POP accounts. On these, it imports about 50 of the most recent messages and ignores the rest. I tried several times and always get the same result! I know the mail is there, it shows when I open Mail on my old computer....but it just refuses to import into the new version of Mail.
    These are also my oldest email accounts.....with the most messages.....could that have something to do with it? The largest account has about half a gigabyte of email in it.
    Any suggestions or advice would be greatly appreciated! Anyone else have this problem???
    Thanks in advance...
    Steve.
    Macbook Pro 17"/Dual 2.33   Mac OS X (10.4.8)   100 gig 7200 rpm HD, 2 GB RAM

    I have a variation of this same problem.
    HISTORY:
    Yesterday I began to create a new mailbox to be stored on my Mac for Sent Mail from 2006 to be transferred from another existing Sent Mail mailbox (also on my Mac) that, via Mail Rules, I have all sent mail from a single AOL account archived in--I wanted to begin feeding the last days of 2006 mail into it, and then let the pre-existing Sent Mail collect messages for 2007. The 2006 file was just over 125 MB, and along with a 2005 Sent Mail file and a 2005 Received Mail file of AOL archives, was to reside in a parent folder for AOL, simply called AOL Past Mail. Simply put, I have separate annual Sent and Received mailboxes stored on my Mac for two of my three e-mail accounts within larger folders labeled Past Mail for each account.
    In a long story made short: I went to Rename (under Mail>Mailboxes menu) the parent mailbox from "Past AOL Mail: 2005" to "Past AOL Mail: 2005-" (thus with a dash to let that folder be open-ended for subsequent annual mailboxes to be added for each year). I got a message that Mail could not rename the box, and the next thing I know, there is my old Parent mailbox/folder (Past AOL Mail) whited out with four blue mailbox/folders filed within it (these included 2 folders for Received Mail for 2005 and 2006 and the Sent Mail folders for the two years). When I selected the whited out parent folder or one of the blue-colored sub-folders (the Sent and Received mailboxes) it said I had "0 Messages" in each.
    After initial panic, I realized that I had my entire hard drive backed up (just up to the day before--this is a complete bootable clone of the laptop that these mailboxes are on, made by SuperDuper! software). After reading Mail Help (and BEFORE coming to this discussion forum), I tried to do an Import Mailboxes (under File in Mail menu) from the external back-up HD (over the standard FireWire 800 cable connection) by choosing the "Other" option.
    The Import began smoothly enough but when it finished it had only copied mail from Jan. 1-April 10, 4:00pm. I repeated this process several times (even once with a second back-up HD that was not quite as recently updated, and once with the "Mail for Mac OS X" option) and every time got 229 messages of exactly those dates and time. Yet the messages in the "mbox" on the back-up HD clearly showed over 1,000 files dated through Dec. 24.
    THE CURRENT PROBLEM:
    Now what was once a single archived mailbox of AOL mail from Jan. 1-Dec. 24 exists in three separate locations--at least the files exist.
    1) LaCie back-up HD: April 10, 11:45pm-Dec. 24 (Oddly the efforts to "Import Mailboxes" under Mail>File seem to have removed the 229 messages that were partially imported.)
    2) In various Import Folders "mboxes": Jan. 1-Apr. 10, 4pm.
    3) On the IMAP server (AOL), which can be dragged to any reassembled folder on my desktop, if done before the messages expire on the AOL server:
    Dec. 1-current.
    QUESTIONS:
    1-Instead of deleting the whole Library>Mail folder from my laptop, can I just remove the broken folder I am trying to reconstitute from Library>Mail, and replace it with the (nearly) complete folder from the back-up?
    2-If I were to do step 1 above, should I remove all other files from the mbox folder (Info.plist, content_index, and tableofcontents) that I am draggin in from the back-up, or leave them?
    3-Having read the suggested steps for similar, but it seems significantly different, problems in this thread, my big concern is with the ~/Library/Preferences/com.apple.mail.plist. I don't want to remove it from my laptop if there is a risk that other perfectly good mailboxes on the laptop would be adversely affected. If it is necessary to allow Mail to read the full mbox being transferred from the back-up, would there likely be any difference in the com.apple.mail.plist from the back-up, which was made just 7 hours before this whole nightmare happened?
    Enormous thanks for any guidance you can give to this.
    --Laird Ellis
    PowerBook G4 15" 1.5GHz/80GB/512RAM; PB 12" 1.5GHz/100GB/1.25GB RAM   Mac OS X (10.4.8)   iPod 40GB; Wireless Mighty Mouse/Wireless Mouse
    PowerBook G4 15" 1.5GHz/80GB/512RAM; PB 12" 1.5GHz/100GB/1.25GB RAM   Mac OS X (10.4.7)   iPod 40GB; Wireless Mighty Mouse/Wireless Mouse

  • System only loading the first column from csv

    Trying to load data from Excel saved as csv, but the preview and PSA shows data loaded only for the first column from the csv file. All other columns are not loaded from the csv. Changed the lengths of the fields from the datasource to match the ones in the csv to 8, but it only seems to load the first column. What could be the cause?

    Hi
    Check the file format once and general tab in Data source(make sour you selected comma separated file and symbol)
    check below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/01ed2fe3811a77e10000000a422035/frameset.htm
    Regards,
    Venkatesh

  • My email only shows the "to" and "from" info but not the content of the email. Please help. Thanks

    My email only shows the "to" and "from" info. There is no information at all in the body of my email messages. Please help. Thanks.

    Close the mail app and reboot the iPad.
    Tap the home button once. Then tap the home button twice and the recents tray will appear at the bottom of the screen. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the mail icon. Tap the home button twice.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Ok, this is weird...when I drag an audio language lesson from my library to a playlist, the lesson changes from

    ok, this is weird.....when I drag an audio lesson from my library, the lesson changes from #11 to #7.   I've re-downloaded the lesson from the original CD with no luck.   Does anyone know why this happening?   This is the only lesson where this is happening.

    Thank you so very much!!!!  I know I will get this but hey, I am 70 years old - I sure hope I get it soon   Make sure "skimming is switched on" was wonderful.  Why doesn't Lynda even mention this?  UGH!
    In terms of dragging the clip; I am taking it from upper left hand corner of the screen which I believe is called the Event library and taking it down to the middle of the screen.  But in the middle of the screen is the daggone audio wave file and all I am doing is putting that clip on top of the audio wave file and when I play, I get both audios! 
    I remember working in iMovie 09 and iMovie 06 you would drag your clips down into the time line and do your editing there.  That doesn't seem to be working here.  I appreciate your help more than I can say.  I've got to get a DVD out ASAP and it has to be done in FCP X 

Maybe you are looking for