Prevent Sharepoint 2010 workflow to send duplicate emails

I have SharePoint 2013 as environment but am using SharePoint 2010 workflow on a list. There is a field in this list called "Order Status" which has different status such as Processing, Shipped, Cancelled, Hold. There is another list which updates
this Order Status. I have the workflow send out an email when the Order Status changes to Processing and another email when Order Status changes to Shipped.
The issue is that there are multiple emails being sent out when any of these status changes to either Processing or Shipped. There is no other workflow attached to this list 
How do I prevent the workflow to send duplicate emails? I have seen that a flag could be setup to track the email sent once but that method does not work correctly and it still sends out duplicate emails. Or maybe I am not doing this correctly
Any suggestions, comments or have anyone resolved this successfully
Thanks Snehal H.Rana SharePoint Consultant

Hi Snehal
If you check the workflow history, you will probably see that every time an item is added or modified, the workflow runs twice. That’s why you’re receiving two email notifications. 
The reason for this is timing. If your workflow is very short and the SharePoint server is very slow, the first instance of the workflow may finish well before the item is fully saved and committed to SharePoint. As the item is being processed, the workflow
event receiver can fire again, and start another instance of the workflow.
The solution for this problem is to add a step at the end of your workflow which will pause the workflow for a few minutes .
Another Option is to use a Flag.For Setting up flag correctly check the following link
http://www.mssharepointtips.com/tip.asp?id=1145
Please 'propose
as answer' if it helped
you, also 'vote
helpful' if you like this
reply
Amit Kotha

Similar Messages

  • Need to create a workflow that sends an email every friday, not every 7 days using sharepoint 2010

    Hi Everyone,
    So I need to have a workflow in sharepoint designer 2010 that sends an email out every friday, so far all the ones I have seen send it out 7 days from when the item was created, but not every (certain day of the week)
    Any help at all would be great.
    Thanks
    Best regards, Mike

    Hi,
    Greetings,
    Use Information Retention policy settings as below.
    pls check below
    http://social.technet.microsoft.com/Forums/office/en-US/7be77b5d-c686-4b33-b30c-204f7ffcd569/how-to-send-reminder-email-for-every-2-days-after-due-date-occurs-in-sharepoint-2010-workflow?forum=sharepointadminprevious
    I recommend to use Information Management Policy and workflow to achieve this goal.
    https://www.earley.com/blog/sharepoint-2010-using-retention-stages-manage-lifecycle-information
    http://www.danielroot.info/2012/08/information-management-policy.html
    You can also create custom timer job to start the workflow at a schedule time:
    http://bhandariasb.wordpress.com/2013/06/03/start-workflow-from-custom-timer-job/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • SharePoint 2010 Workflow: Email alert when item is due to expire

    Hi Guys, 
    I have a library which contains a number of customer records. In this library I have a custom date column called End Date which is used to hold a date when the record is due to expire. I would like to create a solution which would send an email alert to someone
    when the record is 30days away from expiring a sort of warning, and another email once the expiry date had been lapsed and the record had expired. Can you please advise how best to create this solution, I should imagine that this would be easily achieved in
    designer however, I've really not got much experience with using designer 2010.
    If someone could help me out with what code to use, or some useful how to's it would be much appreciated.
    Many thanks 

    Hello,
    Create designer workflow to send reminder email before 30 days. Please look at below link for your ref:
    http://mysharepointchronicles.wordpress.com/2012/11/05/sharepoint-list-with-workflow-email-reminder-set-to-send-30-days-from-created-date/
    http://social.technet.microsoft.com/forums/en-US/sharepointcustomizationprevious/thread/9c728338-b0fe-45a0-9377-a774e551d529
    Hope it could help
    Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer
    Please feel free to unmark answer if does not resolves your problem.

  • Workflows sending duplicate emails.

    I have many workflows that send 2+ email notifications. Sometimes it's a brand new wf - or sometimes I've had a wf working fine for months, then I edit the email part (add a email address or add to email message body - NOT edit the wf) and it starts sending multiple email notifications. Sometimes if I recreate the exact wf - it starts working fine -- but not always. Do you have any suggestions. Thank you.
    The workflow didn't work with SalesStage -- but when I changed it to SalesStageId it worked... Thank you!
    Edited by: user9978914 on Jun 22, 2010 9:56 AM

    yes! It is an Opportunity record - 'when modified record is saved' workflow -- it was this:
    [<SalesStage>] = 'Closed/Won' AND [<OpportunityType>] = LookupValue("OCCAM_OPPTY_SALES_TYPE", "Software") AND [<IndexedPick2>] = LookupValue("OCC_INDEX_CUST_LOV_OPTY_2", "IBM") and worked fine for a long time.
    Then I added a new email recipient (did NOT alter the wf)-- and it started duplicating. I changed the wf to:
    [<SalesStage>] = 'Closed/Won' AND [<OpportunityType>] = LookupValue("OCCAM_OPPTY_SALES_TYPE", "Software") AND ([<SalesStageId>] <> PRE('<SalesStageId>')) AND [<IndexedPick2>] = LookupValue("OCC_INDEX_CUST_LOV_OPTY_2", "IBM") and it seems to be working now - only sending one email. The ([<SalesStageId>] <> PRE('<SalesStageId>')) was the only thing changed.

  • Outlook sends duplicate emails

    Some users may have encounter the issue that Outlook sends duplicate emails to the recipients, this can be really frustrating as the
    causes can be varied so that it’s really hard to troubleshoot . In this article, some most common causes will be introduced, which helps us troubleshoot this kind of
    issue.
    Send emails on Web first
    Before we determine whether it is a server side issue or Outlook client side issue, please logon the webmail, or OWA for Exchange Accounts, send some test emails to have
    the recipients to check again whether they receive duplicate emails. If the recipients don’t receive duplicate emails, we can tell it is probably an Outlook client issue.
    Anti-Virus program
    As some Anti-Virus programs may have been integrated with Outlook to keep the users from spams and viruses, it may also bring some issues sometimes. The program may also scan the outgoing emails and bring troubles, such as making the emails sent multiple
    times.
    Contact the program provider to know how to disable the integration with Outlook, and exit the Anti-Virus program temporarily, send test emails to see the result.
    Similar to Anti-Virus program integration, it can be some add-ins, we can run Outlook in Safe Mode as well:
    Run -> Type “outlook.exe /safe” in the blank box -> OK.
    If the issue is gone when Outlook is running in Safe Mode, disabling the add-ins which may fix the
    problem.
    Send/Receive interval conflict
    In Outlook we can set an interval according to which Outlook performs a Send/Receive task. Imagine there is an email with a large attachment needs to send, the sending process starts in the first Send/Receive task, but doesn’t complete when the second Send/Receive
    starts. Then Outlook may try to send the email again during the second Send/Receive task, which ends up with two same emails in the recipient’s Inbox.
    In Outlook 2013, under SEND / RECEIVE tab, click Send/Receive Groups -> Define Send/Receive Groups. We can then see the window below:
    The default interval is 30 minutes, if you think it’s too long you can make it shorter. My suggestion is not to set the interval too short, it should be at least 10 minutes, especially when you have multiple accounts setup in Outlook and always need to send
    emails with attachments.
    Server Timeouts
    This is particular for IMAP and POP accounts. When we have a slow Internet or the latency is high, Outlook may not get response from the Server in time, thus Outlook considers the connection to the server is lost, by default, after 1 minute.
    However, if the message has actually been sent in the bad Internet condition, but Outlook doesn’t get a response from the server, it may still try to submit the message in the Outbox in the next Send/Receive task.
    We can increase the Server Timeouts to 2 or 3 minutes in this scenario, it will be more probably that Outlook can get the correct response from the server if the message is sent.
    For IMAP:
    For POP:
    IMAP Sent Items options
    This is only for IMAP accounts. The recipient may not receive duplicate emails but the sender gets duplicate emails in the Sent Items folder.
    In Outlook, there are options for us to decide to save the sent items or not for IMAP accounts.
    Outlook 2010:
    Outlook 2013:
    The IMAP account provider may also save a copy on the Server, if you have configured to save a copy in Outlook, this may result in duplicate. In Outlook 2010, select “Do not save copies of sent items” under Sent Items tab; In Outlook 2013, check “Do not
    save copies of sent items” under Advanced tab. Then send test emails to check the result.
    Another thing to check is under FILE tab -> Options -> Mail -> Save messages -> Save copies of messages in the Sent Items folder, we can uncheck this option to see the result. What we should note is it’s a global option that applies to all accounts.
    If your provider doesn’t save emails on the server, it’s better not to uncheck this setting.
    To know if the provider saves the sent emails on the server, contact them or check the webmail settings.
    If you have anything to add or any feedback, feel free to let me know.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hi,
    I found two related links, It might be caused by two or more Outlook clients are logged into the same mailbox at the same time, or some inappropriate configurations in Outlook.
    Outlook 2010 sending 2 emails when sending a email. (duplicate email)                                 
    http://social.technet.microsoft.com/Forums/office/en-US/8378baff-8c5a-47bc-90a6-8f9c61b2b394/outlook-2010-sending-2-emails-when-sending-a-email-duplicate-email?forum=outlook
    Duplicate Messages in Outlook
    http://blogs.technet.com/b/scotch/archive/2010/04/14/duplicate-messages-in-outlook.aspx
    Hope these can give you some hints , It's recommended to post in this forum if you still have issue about Outlook, they're more familiar with Outlook.
    Outlook IT Pro Forum
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=outlook
    Yolanda Zhu
    TechNet Community Support

  • Blackberry z30 sending duplicate emails

    i had a blackberry z30 and it's sending duplicate emails to outlook how i can solve this problem .
    thanks

    ashrafs wrote:
    i had a blackberry z30 and it's sending duplicate emails to outlook how i can solve this problem .
    thanks
    POP, IMAP or Active Sync?
    I have not had an issue with Active Sync but there were some that had issues with the others on older OS
    What OS are you on?
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Sharepoint 2010 Workflow successful: Sharepoint 2013 Workflow UNsuccessful:

    Observation 1 
    1. I created 2 workflows that write "completed" to the workflow history 
    a. 1 workflow uses sp2010 workflow manager 
    b. 1 workflow uses sp2013 workflow manager 
    2. sp2010 workflow works fine; it will start either manually or automatically (when a new item is created ) without issue; "completed' is written to the log as expected. Good. 
    3. sp2013 does not start automatically (when a new item is created ); when trying to start manually I get error message "Something went wrong. To try again, reload the page and then start the workflow." Which I do, but still fails.
    Bad. 
    4.On Workflows.aspx I can see the links to start the 2 workflows manually. 
    a. When I hover over the sp2010 workflow link I can see something that look like this: 
    http://playground/sites/falcontt/_layouts/15/IniWrkflIP.aspx?List={ae95de8e-508b-4aa6-b4b6-490288e35e9f}&ID=53&ItemGuid={697E4218-D889-4FB8-A27B-D188F5D93250}&TemplateID={199c3d86-89a8-4286-b285-37e2d2067b52}&Source=http%3A%2F%2Fplayground%2Fsites%2Ffalcontt%2FLists%2FTrouble%2520Tickets%2Fall%2520requests%2Easpx 
    b. But when I hover over the sp2013 workflow link I can see something that look like this: 
    javascript:StartWorkflow4('949cb889-9b46-4959-9673-842e60cc5a42', '53', '{697E4218-D889-4FB8-A27B-D188F5D93250}') 
    Should this link also look similar to the sp2010 workflow link? If so, do you have any idea why it is different? 
    Observation 2 
    In Sharepoint Designer 2013, when I goto Navigation -> Workflows and click on the 2010 workflow, I see a file listed under "Forms" that looks like this "sp2010 test workflow.xsn". By the way the name of the workflow happens
    to be "sp2010 test workflow". 
    But when I goto Navigation -> Workflows and click on the 2013 workflow, I see a NO file listed under "Forms". Should I see "sp2013 test workflow.xsn" listed there? If yes, can you think of why it is not listed there? 
    I saved the workflow debug logs from Event Viewer but won't share that info here unless necessary, to avoid making things look more complicated than they have to be. 
    Thanks for any comments suggestions, tips, questions, anything, etc. 
    Thanks and have a great weekend. 
    George 

    Hi George,
    First of all, I'd like to clarify that workflow manager is dedicated for SharePoint 2013 workflow platform. SharePoint 2010 workflow is integrated in SharePoint server, while 2013 workflow is based on a new platform named workflow manager server.
    In SharePoint 2013 designer, 2010 workflow has forms while 2013 workflow doesn't have forms.
    For this issue, I suspect there is something incorrect with workflow manager. From the error message "Something went wrong. To try again, reload the page and then start the workflow",  please flush the DNS cache via executing
    IPCONFIG /FLUSHDNS, and restart workflow manager related services such as below, then recreate 2013 workflow to test the issue:
    Service Bus Gateway
    Service Bus Message Broker
    http://blog.houratious.com/2014/05/sharepoint-2013-workflow-something-went.html
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Sending Duplicate emails using Mail and mBox for mac

    I have been sending duplicate emails inadvertantly recently.  It seems it's when I use mBox for mac (registered copy) in Mail to use my Hotmail with IMAP.
    I hadn't noticed it at first, but now I see everytime I send a mail I get 2 copies in my sent box.  I can turn off the store sent messages on server option to fix it (but that's the whole point of having IMAP!!), or I can turn off mBox for mac and it also seems to work (but then I can't use IMAP!).    I've also tried on the same machine from gmail, and iCloud accounts (MobileMe), and I had no issue at all.  I've also tried 2 different Hotmail accounts, and both of them send double messages every time I send. 
    I've searched for a loooooong time, and can't find anyone with a similar issue - but surely I'm not the only one?  I think anyone still using a hotmail account will eventually install something like mBox for mac if they've gone Mac recently - as I have.
    I checked the mail headers of the 2 mails, and they are quite different (masked where appropriate) -
    Mail 1 -
              From:   xxxxx <[email protected]>
              Subject:           Test 19th
              Date:           May 29, 2012 12:06:19 AM GMT+08:00
              To:   yyyyy <[email protected]>
      Content-Type:           text/plain
      Content-Transfer-Encoding:           7bit
              X-Smtp-Server:           smtp.live.com:[email protected]
              X-Universally-Unique-Identifier:           fb14cd4f-e68c-43fa-8d0b-950df8394fde
              Message-Id:           <[email protected]>
              Mime-Version:           1.0 (Apple Message framework v1278)
    Mail 2 -
              From:   xxxxx <[email protected]>
              Subject:           Test 19th
              Date:           May 29, 2012 12:06:19 AM GMT+08:00
              To:   yyyyy <[email protected]>
              X-Originating-Ip:           [zzz.zzz.zzz.zzz]
              X-Originating-Email:           [[email protected]]
              Message-Id:           <[email protected]>
              Received:           from [192.168.1.52] ([zzz.zzz.zzz.zzz]) by BLU0-SMTP71.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 28 May 2012 09:06:21 -0700
      Content-Type:           text/plain
      Content-Transfer-Encoding:           7bit
              Mime-Version:           1.0 (Apple Message framework v1278)
              X-Mailer:           Apple Mail (2.1278)
              X-Originalarrivaltime:           28 May 2012 16:06:21.0350 (UTC) FILETIME=[D2B26460:01CD3CEB]
    I'm surprised I can't find anyone else with a similar issue.  I've submitted a support ticket with mBox/fluent factory, but I'm still not convinced it's their issue, and possibly a Mail on Mac issue.
    Does anybody have any suggestions?  Thanks for your help!

    @ Kokola
    Great staff!!! MBox Fluent Factory is very poor app.
    I was having problem with duplicated sent emails and cleaning up my inbox, sent items and deleting emails. Try to contact them via email for over 3 months and never got a reply!
    I just used the suggested configuration and my Entourage (email app for MAC) is working perfetcly. I can visualise all my online folders now!
    Thank you so much!
    mBox never addressed the issue and the duplicated emails reached new levels of annoyance but the good thing is that Hotmail and Outlook.com finally rolled out support for IMAP.
    Incoming Mail Server: imap-mail.outlook.com
    Outgoing Mail Server: smtp-mail.outlook.com
    http://windows.microsoft.com/en-us/windows/outlook/send-receive-from-app
    No more duplication issues once you switch over, and no need for a third party (mBox)software to bridge the missing feature gap.

  • How to send current list item URL in email by using sharepoint 2010 workflow?

    Hi All,
    I had created sharepoint workflow usind SPD 2010. when new item is created it sends the email with link. But it sends current list link not the current item link.
    I tried to use Encoded Absolute URL but this like
    http://asdf.com/Lists/abc/10.00
    but i need something like this
    http://asdf.com/Lists/abc/DispForm.aspx?ID
    I have grow thorough some post and i found that,
    Statically i can write http://asdf.com/Lists/abc/DispForm.aspx?ID= and from Add lookup i can get ID by choosing current item.
    The link which i get is partially hyperlink like this
    http:aasdf.com/Lists/abc/DispForm.aspx?ID=10 (here 10 is not hyperlink)
    when i copy and paste this link it works fine but by clicking it i am not getting true result.
    Please help me to solve this issue.
    Thanks.

    Hi Raymond,
    It works for me. Thank you so much.
    I also have another issue related workflow. If you can help me, i really appreciate you.
    I already configured AAM. I have two Share Point Address which are:
    Default : http://default.com
    Internal : http://intranet.com
    I have List workflow using SharePoint Designer 2010. When new item get create, it sends email to person for approval. But when it sends email it sends Dafault zone URL.
    Dafault zone URL is only accessible through Virtual Machine. We cant access from local machine. So i need to send intranet zone URL in email so user can open through local machine.
    I tried it but i can only able to do for one list. I have to so this general for every list.
    How can i send intranet zone URL?
    Swapping the zone URL is not solution for this issue because after swapping situation is same.
    Thank You.

  • Sharepoint 2007 Workflow not sending out task emails.

    Im currently having an issue with our sharpoint 2007 farm. This is currenlty affecting all site collections in the farm.
    I have been troubleshooting this for this without any luck. The workflow get created and the person who created the workflow recieve a notification email indicating that the workflow has been created. The users that the workflow is assigned to however never
    receive an email notification. This was working fine previoulsy.
    1- I have checked the permissions.
    2. Timer service is running.
    3. Email server is up.
    I have checked the event log on the sharepoint server  and I cant find anything conclusive that can help me resolve this issue.
    I would appreciate any advice on this issue.  Thanks in advance.

    Hi Dgunz1237
    Firstly, please check the setting of your task list, make sure that the E-mail Notification feature of the task list is enabled. Tasks-> Settings->Advanced Settings-> E-Mail Notification. Yes should be selected. You may also add a task manually
    to confirm that it works.
    Secondly, please check the outgoing e-mail setting first. You can set alert on a list to check whether SharePoint can communicate with the email server properly.
    Thirdly, you may check the status of your workflow. Just by pointing to the item that is involved in the workflow, click the arrow that appears, and the workflows. If the workflow run failed, you should also check the History List and ULS log.
    Fourthly, you may also restart the Windows SharePoint Services Outgoing Email service to find out the problem. Please open Central Administration -> Operation->Services on Server. Restart the Windows SharePoint Services Outgoing Email service.
    Hope that helps.
    Thanks,
    Lambda Zhao
    TechNet Community Support

  • SharePoint 2013 - SPD Custom Workflow keeps sending multiple emails for a single Task

    I have a workflow triggering on List item created only. There are multiple stages in the work flow and in each stage a single task is assigned to a group of people. Currently group is only having one user i.e. my own test user with a valid email address.
    Workflow was running fine for first 5 runs but now it keeps sending multiple emails for each task multiple times and runs very slow. I have only single workflow in development server with 24GB RAM.
    Enabling the Workflow log in Event viewer does not show any error or warnings. The only clue I see is WorkFlowManager Database table "DebugTrace" having multiple entries showing that WF is trying to send same email multiple times with failed attempts,
    but in reality emails are being delivered as well.
    http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx Status: HTTPRetrying
    http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx  Status: HTTPFailed
    I could not get the exact phrase as I don't have direct access to development machine at work.
    Any help or guidance will be highly appreciated.

    Yes, I have on-premise SP site, and here is the actual log I see in DebugTraces table.
    Message              Level     Name    Category
    Attempt 1 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:06.            
    2              HttpRequestRetrying     Http
    Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:07.            
    2              HttpRequestRetrying     Http
    Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:09.            
    2              HttpRequestRetrying     Http
    Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 5 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:13.            
    2              HttpRequestRetrying     Http

  • Email Notification on Calendar list Sharepoint Foundation 2013 not sending out email

    Hi,
    Actually i have 2 problem. I just don't have any idea how to solve them.
    1 ) I have a machine installed with Windows Server2012 and Sharepoint Foundation 2013. Email invitation from system and alert me email is working fine. Then I created a few email sending workflow using sharepoint designer 2013. The email are going out fine
    for list or document library but gave out error when i tried to send from Calendar list. The error is saying that the outgoing email is not configured correctly. If that was the case, should it be that i will receive error for all.
    2) I have another machine with same installation as above but doesn't send out any kind of email(Invitation,alert me, SPD2013 custom worflow). I've checked telnet port 587, it is responding fine. I want to know if i need to open port in the firewall/router
    settings for this port or if this issue is due to something else.
    Any help is really appreciated.

    What about Relay and Authentication?
    Trevor Seward, MCC
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
    Look.
    I think this is the correct configuration because it sends emails normaly with SharePoint 2010.
    If I configure my own email account in Outbound Security, Sharepoint 2013 sends emails but just when I login to Sharepoint, if other users login it doesn't send emails.
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

  • Workflow changes - send reminder email on X - 1 days ...  based on Molga

    Hello Everyone,
           I new to workflow and I came across a workflow scenario where I am confuse, that what should I do in order to make it work. Luckily we are running only one workflow in the system which is time off request, We copied standard workflow class u201CCL_PT_REQ_WF_ATTRIBSu201D to Z version and introduced some new method to send email to employees managers as well as employee and HR .
    We also have something called workflow item cancel thing . Lets say if workflow is not approved by manger within X bossiness days it got cancel and employee has to submit the new time off request again. After doing a little bit research I came to know that there is standard job which checks and calculate the X days thing. Work flow is running fine from last 1 year.
    Last week, we been asked to create reminder from X-1 day and sends to employee manager saying u201C This is a reminder and one day is left u201C  .
       I wanted to know how I can achieve that, I have to filter the employee by reading employeeu2019s molga as we want to do it for specific countries  then I have to read employee manager which I can do using different FM and then I have to send email to employee's manager .
    Like I said It should happen BEFORE x-1 business days when employee submits the time off u2026   
    Here what I am thinking , I  can read table u201CSWWWIHEADu201D  with field WI_TYPE = u2018Wu2019 .  and  pass work_id to FM " SWW_WI_CONTAINER_READ "  and read the container like the  INCLUDE  MWS20000081HO01
      CALL FUNCTION 'SWW_WI_CONTAINER_READ'
             EXPORTING
                  wi_id                    = wi_id
                READ_FOR_UPDATE          = ' '                         *
             TABLES
                  wi_container             = wi_container
             EXCEPTIONS
                  container_does_not_exist =  1      "message from function
                  others                   = 99.
        IF SY-SUBRC = 0.
          SWC_GET_ELEMENT WI_CONTAINER 'ACTUALSTATE' ACTUALSTATE130100.
        ELSE.
          CLEAR ACTUALSTATE130100.
        ENDIF.
        IF ACTUALSTATE130100 = 'N'.
          CALL TRANSACTION 'WS20000081M'.
          LEAVE PROGRAM.
        ENDIF.
    From container I can read employee number and approver . Get molga via  pernr and can filter the employee ..who ever submits the request system date u2013 4 .. I can send out the reminder email u2026
    Is there any other way around or any other efficient way of doing that u2026 I hope  you understand this thing is conditional u2026 As far as I am concern I new to workflow so please bear with me ..
    Waiting
    Khan
    FYI- I have gone through several post which task about deadlines monitoring Etc .. using fork & wait blah blah .. but It didnu2019t get any clue where to start and how to start u2026

    Mike,
            I think I am following you so for .. so here what I did ... I opened the "approve process" and slap in the same refer date/time in "Requested end date " with variables "&WFDATA.DEADLINEDATE&" "&WFDATA.DEADLINETIME&"  with 1- DAY . I didnu2019t find this what it says in help " It is possible to specify a negative time interval. Negative time   intervals should only be used in connection with an expression as a   reference date/time. You then have the option of "backward deadlines"
    Any way after that I changed action to "modeled" and say "outcome "reminder from UK " .
    it creates a node with clock sign , now like you said , I can do many  things here .. and I really need to do something for example , I need to check the employee if he/she is from UK , after that reads his/her manager and send an email to mangeru2019s outbox . UK gave us an email format which I have created in t-code SE60 - with Document Class "Dialog Text".
    How to proceed further. Thanks for baby sitting me.
    What I am thinking , I need to create a new activity as well as new method in my Zclass, in which I will check employee Molga  i.e. U.K and I have to send out email based on my email text which I have created in SE61.
    Iu2019m able to write code in existing method , being on the safe side I copied the existing workflow and made changes in to it . Now it comes to debugging part , Iu2019m able to find posts on SDN talks about workflow debugging . When I am entering time off request from ESS , and it is not stopping at external breakpoint , Also when I am looking at "PTARQ"  to see submit WF items . It is showing me the old task "w90000012" which is original one and I copied it and my task is "w90000022" . What I have to do  so when I submit time off request via ESS it calls my task . I created Task in PFTC . But nothing is happening . Please let me know what I am missing ..
    I found the table for ESS  leave request and able to see my task  , Table name is "u2022     V_T554S_WEB"
    But still waiting for answers the of above questions ...
    Edited by: Saquib Khan on May 27, 2008 9:36 AM

  • How to Prevent Apple Support Communities from Sending Me Emails?

    Hi,
    How I can I prevent the Apple Support Communities website / tool from sending me emails?
    I have disabled all emails in my profile settings (since about six months):
    Still,  Apple Support Communities keep sending me emails in increasing frequency:
    (It is the same account / username / email, I have triple checked that.)
    What options other than marking Apple as as spammer do I have left?
    Cheers

    Hi,
    Thank you – that (hopefully) resolves the issue!
    Note, that I came to Edit Preferences not through my Profile, but through the link in the "update emails" itself.
    The link in the emails (see screeshot) reads: You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile.
    And the link leads to the "Edit Preferences" page (the "Manage Email Notifications" page is not visible / linked from "Edit Preferences")
    According to common "unsubscribe" practices in emails, I would expect that an "unsubscribe"-type of link leads me to a page where I can unsubscribe from the type of email I just received (and not unsusbcribe from 'additional potential future' emails or whatever you would call it in that case).
    Hence, this "unsubscribe" link in the email should either go to the Profile page, or the Manage Email Notifications (where I can actualy unsusbcribe), NOT to Edit Preferences.
    Hope, someone from Apple reads the above...
    ( Personally, I think the idea to split between past and future threads is a bad design in the first place )
    Daniel

  • How to migrate a SharePoint 2010 workflow to an SharePoint 2013 environment

    Dear guys,
    I have a SharePoint 2010 environment with a workflow. Now I would like to migrate this workflow in the SharePoint 2013 environment? How could this be done?
    I tried it via Visio, but it is not working...
    Best regards
    Matthias

    All SharePoint designer 2010 based workflows will be upgraded AS IS and can be enhanced using SPD 2013 but enhancement can be done in SP2010 mode  only (using SP2010 features), no new SP2013 features can be used in SPD 2010 workflows. Microsoft has provided
    a workaround to trigger SP2010 workflows with-in SPD2013 workflows using workflow interop for SharePoint 2013.
    For more info visit:
    http://technet.microsoft.com/en-us/library/jj219638(office.15)
    http://technet.microsoft.com/en-us/library/jj227177.aspx
    http://technet.microsoft.com/en-us/library/jj163181.aspx
    http://technet.microsoft.com/en-us/library/jj670125.aspx 
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f241149b-fbf5-49c5-b7ba-058671432f4e/how-to-upgrade-spd2010-workflow-to-sharepoint-2013-workflow

Maybe you are looking for