Time Based Workflow - how to make it work?

Hello,
Has anyone successfully built a Time Based Workflow? Could you share your examples?
For me it does not work properly.
I have tried to set up 2 workflows: on Opportunity Close Date and Account Contract Expiration Date.
- Account Contract Expiration Date: I want an Account Owner to get an email notification exactly 6 months before the contract with his client expires. However - the email is triggered each time the record is modified - so I have seen in the workflow monitor that users on the date of contract expiration - 180 days will receive as many emails as many times they modified the record! Is there a way to avoid this situation?
- Opportunity Close Date - I want to send an email to Opportunity Owner's Manager - 10 days after the opportunity was closed. However - there will be the same issue as above + the wait action is not working with a PRE function.
Please let me know what you think and if you have already built a Time Based Workflow that works correctly.
Edited by: MagdaR on May 18, 2010 1:57 AM

Let's start with the workflow for Opty Close Date.
There are a lot of ways to do this, so you'll need to evaluate which way is best for your case, but the basics are to check to ensure that the opty is closed for the first time, then set the flag. In order to accomodate for the opty being closed when it is created, you will have to consider a post default for the flag in addition to the workflow.
In this case, you could create a workflow on Opty using the before modified record saved trigger event. In the Rule Condition, have the workflow check for a closed opty and if the status changed to closed during this modification. There are a number of options to validate this, including sales stage = Closed/Won or Lost, Closed Date is populated for the first time, Status is closed. In any case, just validate that the opty was closed for the first time using the PRE Function (i.e., PRE(Closed Date) is null and PRE(Closed Date)<>Closed Date). When your condition is met, set a flag that will trigger the event. You could also add a date that the wf conditions were met the first time, to ensure that you track when the rule was originally triggered.
The next step is to have a workflow that unsets the flag if the conditions are not met. Set the order on this one to follow the rule above.
The last rule is the wait/email rule and it uses the when modified record saved event. This rule triggers on the flag being checked, then waits to send the email.
Test this and validate that it will work for your purposes. Based on this workflow, you should be able to create the other one, and I can help if you have any issues.
Good Luck,
Thom

Similar Messages

  • Time Based workflow not working

    Hi,
    I am facing issue in time based workflow. I designed a worflow with two actions. Wait action is the first action and second action is send email. For send email the from address is current user and TO is owner of the record. One thing I noticed is that its working fine when "I" triggered the workflow and assign owner as "me". Its not trigerring the mail when owner is somebody else. I can see the instance with the following error message in the workflow monitor. "The buscomp Service Request is no longer valid for workflow name ********. The workflow instance ******* has terminated."
    Edited by: user11100286 on Oct 1, 2010 4:33 PM

    Hi,
    I am facing issue in time based workflow. I designed a worflow with two actions. Wait action is the first action and second action is send email. For send email the from address is current user and TO is owner of the record. One thing I noticed is that its working fine when "I" triggered the workflow and assign owner as "me". Its not trigerring the mail when owner is somebody else. I can see the instance with the following error message in the workflow monitor. "The buscomp Service Request is no longer valid for workflow name ********. The workflow instance ******* has terminated."
    Edited by: user11100286 on Oct 1, 2010 4:33 PM

  • TS3276 i have a macbook pro and need to send a password protected document to a pc based computer and it shows up at the other end as corrupted and they can't open it- any suggestions on how to make it work?

    i have a macbook pro and need to send a password protected document to a pc based computer and it shows up at the other end as corrupted and they can't open it- any suggestions on how to make it work?

    It was tricky sorting out the actual questions in your post. I think the other poster has one question in hand, here's the other:
    Post by Turingtest2: HowTo: Grouping Tracks Into Albums - http://discussions.apple.com/message.jspa?messageID=9910895

  • How to make MDM work?

    Hi Guy,
    I'm newbie for MDM.I already intalled it on my machine(Window Xp)but dunno how to make it work.
    The installed components are MDM/Syndicator/Import server,Console/Import mgr/Data mgr/Syndicator.
    Do I have to install any component else?And Can you guy give me any guides/documents/Posts how to make it work.Cause I have to demo it next week but right now still blank about it...
    Thanks
    Parinya.

    Hi Jack,
    For Demo Purpose,
    1.Create few master records in R/3 Servers [ MM(Tcode MM01) /Employee(PA40) /Vendor(Xk01) /Customer(XD01) according to your MDM Repository(For Example "Products").]
    2.Extract those master datas from R/3 Servers.
    3. You will get the xml file of master datas.
    4.Open the import manager and import the xml file into  the MDM server.
    5.In Import manager ,you need to map the records[Source Fields(Imported records) VS Destination Fields(MDM repository)].
    6.Once you imported the record ,u can see the records in the MDM Data manager.
       We can Create/edit/Delete those records .
       We can merge the records for consolidation purpose.
       We can perform Data enrichments process   like Validation,Workflow,Assignments..etc.
    7.Once cleaned the Master records,it is ready to distribute to R/3 servers.
    8.Syndicator is used for sending data back to the R/3 servers
       Here also we have to do Mapping against R/3 servers.
       Using XI We can connect the R/3 Servers.
    Hope u will understand this.
    This is very simple example for MDC-MDH Scenario.
    For futher learning on how to create a repository/Enrich the mater datas, go through reference documents in the Service Market place.
    Best Regards
    Devaraj PK

  • Time based workflow

    There is a field "Delivery date" in oppty & we want to send a reminder mail 10 days before delivery date once that oppty is closed/won.
    So, how can i write that expression?

    Thanks but i know that i'll have to write time based workflow,however there is provision of wait for +10 days after some event happens & not -10 days.
    Ketki

  • Time Based Workflow - update existing activities?

    Hi, I've added a checkbox field to my activities template, and wondered if it is possible to update this field on existing >124K activity records using a time based workflow. <br><br> Has anyone come across this requirement, or have any thoughts on how to solve the issue? <br><br> Thanking you in advance for assistance.
    Edited by: Sherry10602332 on Oct 11, 2010 12:07 PM

    Hello SKJ
    Your requirement is to send an email notification to an owner if the Opportunity remains with sales Stage = "Inquiry" for more than 90 days.
    New Record Saved.
    This means even the opportunity can be modified but the sales stage should not change. For e.g. when i create a new record, I can have the sales stage as "Inquiry" and save. At a later date I can modify the description of the opportunity (this would change the modified date), but the sales stage remains at Inquiry. Thus the notification should go 90 days after the sales stage has been set and not since last modified date. Keeping this in mind the condition the rule condition "Rule Condition : Sales stage = "Inquiry" and modified date = Created date" needs to be modified as Sales stage = "Inquiry".
    Coming to Modified Condition:
    Trigger Event - When Modified Record Saved
    Rule Condition : (PRE('<SalesStage>')<>[<SalesStage>] AND [<SalesStage>]="Inquiry") OR ([<SalesStage>]="Inquiry")
    Wait 90 Days
    Revaluate Conditon = 'Y'
    Action Send Email Notification
    Explanation
    When you set the sales Stage as "Inquiry", the condition (PRE('<SalesStage>')<>[<SalesStage>] AND [<SalesStage>]="Inquiry") would be satissfied and then the workflow would trigger. After 90 days if the sales stage is still in "Inquiry", the second part of the condition "[<SalesStage>]="Inquiry" would be satisfied and the email notification would be sent. If the sales stage has been changed to other sales stage, then the condition would fail and the notification would not be sent.
    Regards,
    Paul Swarnapandian

  • Time-Based Workflow Using Together Workflow Editor

    hello experts,
    Is there any script or functionality in Together Workflow Editor to create Time-Based workflow.In case the approval status is pending fo a particular duration of time  it should go for approval to another user(approver).
    Thanks and Regard,
    Piyush S

    I don't think there is a standard functionality for that. Isn't it maybe possible to work with a Timer object?

  • Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    If you use an HDMI cable, the audiostream will be integrated, so there will be sound when using an HDMI cable!
    Not necessarily.  That only works as stated if you have one of the most recent MBP's that has a built-in HDMI port.
    If the MBP only has a Thunderbolt or miniDisplayPort, you need an appropriate adapter cable and even if you use an HDMI adapter or cable to connect to your HDTV there is no guarantee it will carry audio.  You have to determine if your specific MBP model supports audio out through its miniDisplayPort or Thunderbolt output, and whether the adapter does likewise.

  • TS2634 I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I have the same problem.
    Two similar discussions:
    https://discussions.apple.com/message/23081658#23081658
    https://discussions.apple.com/message/23281391#23281391
    I have not yet seen any official response to the question: "Is the Apple AV Composite cable fully supported with 30pin connector devices upgraded with iOS7 - specifically ? - eg. iPad 2, iPhone 4, iPhone 4s"
    If it is not currently supported is that then due to a bug / oversight and in that case is it something that will be fixed in the near future?
    Please let us know what feedback you got from asking Apple support.

  • How to make buttons work in Interactive Adobe Forms

    Hi Experts,
    I am new to interactive form. Though i have worked in normal/non-Interactive form, i do not know how to make buttons work in interactive adobe forms using ABAP  (I don't know JAVA). Can any one help me out and walk me through to how to code in ABAP to make buttons work.
    Kind Regards,
    Sharat.

    Please refer to my earlier post ... You will get an idea
    Please refer to the below thread for detail solution
    Sample Interactive form example ?....urgent...
    Cheers
    Satya

  • How to use time stamps en how to make time stamps in Adobe Reader

    How to use time stamps en how to make time stamps in Adobe Reader

    Did you find a solution? I am having the same problem.
    PDF compatibility level is too high. Supported PDF versions are PDF 1.3 and PDF 1.4 (Acrobat 4, 5 and 6). If you are using Acrobat 7 or higher you will need to save your file at a lower PDF compatibility level.

  • Deleted itouch files using ifile from cydia. i restarted it but now it shows the apple logo and that is it... it doesnt respond. any ideas of how to make it work?

    I restarted my itouch using the home button and top button...it restarted but it only shows the apple logo and that is it.  I deleted all files from ifile and then it froze... any ideas of how to make it work again?

    Discussions of hacked ipods is not permitted here.

  • I have unlocked iphone 5.i tried to use it with tmobile.it shows full network but fails to activate and shows sim invalid.how to make it work?

    i have unlocked iphone 5.i tried to use it with tmobile.it shows full network but fails to activate and shows sim invalid.how to make it work?

    Who was your original carrier; did you call them to ask them to unlock your phone, and are you aware of what their unlock policy is (THey may only unlock for international sims and not US sims

  • HT201343 My mac is OS X 10.6. has not airplay. how to make it work?

    My mac is OS X 10.6. has not airplay. How to make it work?

    OS 10.6 is Snow Leopard, which does not support Air Play.  If you upgrade to OS 10.7 Mountain Lion (which is what you list in your category) then you may be able to use Air Play depending on the age of your computer. 
    See this document:
    http://support.apple.com/kb/HT5404

  • Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

    Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?

Maybe you are looking for

  • I have never been so angry at apple (Apple ID)

    I had a problem with my domain and I thought I had lost my email address so I changed my primary email address for a short time to one that I had access to. Now that I got my domain back I changed my apple ID back to what it was before, but all my pr

  • How to set customer number

    Hello all, I upgraded a solman from 3.2 to 4.0 SP15 and now I'm facing a problem when I try to confirm files in download basket. I get this error message : No customer numbers in transaction AISUSER In transaction AISUSER, i'm not able to select a cu

  • Message 'Connection error' plus white cross on red on startup of firefox

    On starting FIrefox, it takes quite a long time - eventually fires up but with message 'Connection Error' in top right hand corner. IE fires up OK - connection stopped & restarted, same message in Firefox - can access Internet sites, etc, but seems s

  • Enabling approval in collaboration rooms

    Hi All, I want to enable approval workflow for documents created inside a collaboration room. If I go to documents and links in the room ->folder details, I do  not find the approval option. Subscription option is there. But Approval is not there. Ca

  • Problem in Updating LIPS from USEREXIT_SAVE_DOCUMENT

    Hi, I am working with VL01N,VL02N. I have created a custom field in table lips and am supposed to update that based on certain logic. I have written my logic in include MV50AFZ1, USEREXIT_SAVE_DOCUMENT. Here, I have updated XLIPS-custom field with my