Creating a field or workflow that responds to the Current System Date.

In our activities/tasks we have a field that is the Expected Completion Date or Required Completion Date. Based on that date, and the current date, I want a workflow to trigger when the required completion date is less than 30 days away, sending daily reminders to the owner/manager that they have a activity/task due.
The way I see it I have two options.
1. Customize a field to be the system date. Create a workflow that says every time that field changes, and the date is within 30 days of required completion date, send out an email.
2. Create a workflow that somehow incorporates the current/system date, and do the same thing as above, substituting the field with the actual date.
I don't know how to make either of those options happen. Does anyone either have other options or advice on how to make this work?
Thank you in advance!

Hello Cyril,
Here is an idea that could be done:
You could create a dynamic step by having a step that holds all the properties for both configurations (the superset of the necessary variables) and an extra one that indicates which 'mode' the step is in.  Then you create the main Edit substep in whichever language you desire.  That substep window will then have a box/dropdown/etc. at the top you can use to choose between modes A & B.  When the user changes the value, you would dynamically change the rest of the window to contain the appropriate properties for mode A or B.  You then copy the property values in that window to the Step properties, and copy the mode to your variable and you can run the step in that mode.  When the step then runs, it checks the mode variable, and depending on its value, it will run the step in mode A or B.
Now we could add a dialog that allows us to choose when we put a step down but we should still allow the user to change later via the Edit substep we create.
I don't think we can create something that inserts a completely different step, but we can have one step that has the ability to do both and we can pick which one we execute.  Also note we still don't have the ability to edit the Panels for a step, so we have to use a new window that we call from our Edit substep to complete the step.
Hope this helps.
Regards,
Olivier L. | Certified LabVIEW Developer

Similar Messages

  • Set current system date in a field on load of a page

    Hi APEX users,
    I read about a similar thread on the subject but I am just as confused.
    Simply I need assistance with the following:
    I have a page that has many fields and one of those fields is DATE_RESOLVED. This is a DATE Picker field but I want this field to show the current system date every time the form loads/reloads BUT yet give the user the ability to change the date if they should choose to do so by way of the DATE Picker calendar.
    How would I achieve this?
    Any help will be greatly appreciated. My form is functioning just fine but I just need to achieve this one last date function.
    Thanks in anticipation for your assistancel.
    Rick

    Hi Ric,
    the follwing should cover your requirements.
    a)
    On you main page screen, if you click on your particuar date item, say P1_MY_DATE
    set the follwing:
    #1 under Source,
    Source Used: only when current value in session state is null
    Source Type: Plsql expression or function
    Source value or expression: sysdate
    #2 under default
    default value: sysdate
    default value type: plsql expression
    b)
    On your main page screen, create a new page computation by clicking on the '+' icon next to computation on the left hand side (page rendering)
    location- item on this page (default) -> next ->
    compute item: select your item (P1_MY-DATE) -> computation point: Before regions ->computation type: plsql expression -> next ->
    computation: sysdate -> next
    (leave blank, unless you want this to be conditional) -> create
    done...

  • How to display current system Date in the Date Input field ?

    Hi,
    I am having a Date Input field( binded to Data type). On load, i would like to display the current system date filled in that input field.
    How do i achieve this ?
    Reg/Venkat

    Hi Venkatesan,
    In your view in your init() method add the following code:
    wdContext.currentContextElement().setOrderDate(new Date(System.currentTimeMillis()));
    this is if your Date-attribute is in the root of the context.
    else you have to set the date in the node where the date-attribute is present with:
    IYOURNODEElement node = wdContext.createYOURNODEElement();
    node.setOrderDate(new Date(System.currentTimeMillis()));
    regards,
    Björn

  • Assign current system date to the existing variant of date field

    Hi Experts,
       I am working with BDC for data uploading. Here I have a different requirement that how to assign the current system date to the existing variant of the  date field .
    The date field is defined as:   select-options s_date type sy-datum.
    Anybody have an idea, pls let me know.
    please help me .
    appreciate your valuable suggestions.
    Thanks.
    Prasad.

    Hi,
    try like this...
    SELECT-OPTIONS: s_date FOR sy-datum DEFAULT sy-datum.
    Arunima

  • Ho w to create a field using workflow ?

    how to create a field using workflow ?

    Hi,
    According to your description, my understanding is that you want to trigger a workflow only once when a item is updated.
    If you want to set it programmatically, I suggest you can create a Yes/NO column called flag firstly with the default value No and set the workflow start option to manually start.
    When updating the list item, you can create a ItemUpdated Event Receiver to track the update action, and in the event, you can judge the flag column value, if the value is No, then you can trigger the workflow programmatically and in the end of code set
    the code to Yes ,if the value is Yes, then not trigger the workflow.
    Here are some detailed code demos for your reference:
    How to set and read value of Yes/No column programmatically?
    How
    to programmatically start sharepoint workflow
    How to create an event receiver
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Text that responds to the Increase/Decrease font size buttons

    How do I create text that responds to the Increase/Decrease Font Size buttons in the browser? None of the pages respond to these buttons.

    I'm not sure iWeb produces text that responds to the size change buttons. I check some of my pages and none respond. And these are text boxes that have not been converted to images.
    Message was edited by: Old Toad

  • I need to move 1000 photos from one library to another. How do I do that and keep the ratings and dates they were created?

    I need to move 1000 photos from one library to another. How do I do that and keep the ratings and dates they were created? I tried exporting them, but it loses all info. Also, how do I move the quicktime movies from one iphoto library to another? They were exported as jpgs

    Add both libraries to iPhoto Library Manager.  Then select the events or albums that you want to copy from library A  and drag them to library B in iPLM.
    This video shows the process:
    OT

  • Is there a way to create a calendar for keynote that automatically updates to current month?

    I use keynote presentations for teaching foreign languages and wanted a calendar that updates automatically to current month everytime I present it rather than making it manually each month.  I'm wondering if it can be done using the keynote date/time functions?  Thank you.

    Creating a whole interactive calendar for a month in a table could be done I suppose, but it's an awful lot of work for something that might be solved more easily in other ways.
    IF you have a constant internet connection when you're teaching, create a Hyperlink on a blank Keynote slide to a web calendar, such as Google Calendar (or perhaps a school district calendar?) and enable it in the slide with Inspector, Hyperlink (blue circle with arrow icon 2nd from the right).
    If you don't have web access on your teaching computer while you're teaching, I'd still probably capture a screenshot of the each monthly calendar and use that, updating to the current slide once a month. If you're usually too busy to remember to capture a new calendar on the first of the month, create a whole year of screen captured calendars at one time, add them to separate Keynote slides, and then just 'Skip Slide' all the months you aren't using. Not cool and interactive, but it would solve the problem. You might want to rename the screen captures to the month name before adding them as slides for ease of locating them later.
    Since you're teaching foreign languages, in my sample below, I changed my default Google Calendar language to German. (Unfortunately, I left US Holidays enabled, so they aren't 'auf Deutsch', but you get the idea.) Understand that when you switch language in Google Calendar (or other Google app), it will switch ALL of your Google screens to that language, so be sure you remember which 'buttons' to push to change it back to English later!
    Bring up your calendar onscreen in your browser and use Command+Shift+3 to capture the whole screen or Command+Shift+4 to capture just a portion of the screen. Once saved, insert the saved calendar into a Keynote slide.
    Now, if that's more than you need, if you just want to display the date information in English as current weekday name, monthname, date number, and year, that's pretty simple.
    Use the now() or today() function, you can create a simple table and add the following functions in separate cells, beginning each cell entry with the = sign (so the table 'knows' it's a function, and not just text:
    =DAYNAME(NOW())
    =MONTHNAME(MONTH(NOW()))
    =DAY(NOW())
    =YEAR(NOW())
    And it displays like this on a slide:
    Hope that helps!
    Message was edited by: kostby

  • How to create a document/report on all objects in the BW system?

    Hi,
    The requirement in our company is to create a document/report with the list of all the objects that exist in the BW system for various applications. This list should contain the technical details of the different objects and where an object is used, what's the source for the object etc. The information should be similar to that in the Metadata repository but it should be one single document/report which includes all the objects.
    I tried using the 0TCTBWOBJCT info object (content browser) but it was not of great help.
    Can anyone help me out in this task?
    Thanks,
    Anu

    Hi,
    Try to use tables RSOSFIELDMAP, RSDSSEGFD and RSTRAN
    Hope it helps
    bhaskar

  • I have updated to Firefox 8.01, and confirmed that this is the current version. However, both Google and Firefox do not recognize my current verision -- these sites indicate my version is 3.5.7. Why?

    I have updated (more than once) to Firefox Version 8.01. When I check Firefox Help:About, it confirms the version number and indicates that this is the current version. On Google, however, when I try to use G-Mail or +Google, gives me a message that my version of Firefox is no longer supported (and provides a link to download the current version). Additionally, Firefox itself, when I tried to use the Help:Submit Feedback menu option, indicates that I cannot use that option until I have first upgraded to the current version. Apparently, although I have upgraded, there is some marker or indicator that has not been updated from a previous version to indicate to websites which version of this browser is running on my machine. I would like to get this resolved, as it is keeping me from doing a few things I would like to do. By the way, I just looked at the dialog box below, following the comment "we've made some educated guesses about your current browser ..." it, too, indicates that my current version is 3.5.7.

    You have a <b>general.useragent.override</b> pref that identifies you as Firefox/3.5.7
    *Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
    See:
    *https://support.mozilla.com/kb/Websites+or+add-ons+incorrectly+report+incompatible+browser
    *http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

  • I am trying to update my iphone 3GS software but itunes just says that this is the current version of itunes, it does not see the phone update - anyone know how to get the phone updated?

    I am trying to update my iphone 3GS software but itunes just says that this is the current version of itunes, it does not see the phone update - anyone know how to get the phone updated?

    Mike
    I have done that and it is through pressing that update, which tells me that there is anew version of iphone software, that the prompt comes telling me that this is the current itunes?

  • How is it that fonts in the Mac system can be damaged?

    How is it that fonts in the Mac system can be damaged?
    It does not hapen in PC systems, ever!
    How do we go about replacing the damaged fonts?
    I treid to delete and reinstall but no sucess.
    Also, Mac systems can only have active about 250 fonts.
    PC systems can have up to 1,000 fonts and run very smoothly with any hitches.
    Any sloutions or recommendations?
    Looks like I made a wrong choice.
    I thought that Mac systems was very stable when it comes to graphic related applications, but it seems that I was WRONG.
    A simple font base also Mac system cannot handle as well as a PC based system.
    Sorry if I have offended other Mac users.
    But, I would really like to continue using my Macbook Pro.
    Cheers and Merry Christmas, everyone!!!
    Kelvin LEEmy

    How is it that fonts in the Mac system can be damaged?
    As ds store noted. Any file on any part of the drive can be damaged at any time. This is true of any OS, not just the Mac.
    It does not happen in PC systems, ever!
    Why in the world would you think that's true? I used DOS/Windows for years. Fonts on PCs get damaged too, for pretty much the same reasons.
    How do we go about replacing the damaged fonts?
    You can replace just the fonts from your Snow Leopard installation disk. See the bottom of my article, Font Management in OS X for instructions.
    I tried to delete and reinstall but no success.
    Not enough info. Reinstalled from where?
    Also, Mac systems can only have active about 250 fonts.
    I don't know where you read or heard that, but it's 100% wrong.
    PC systems can have up to 1,000 fonts and run very smoothly with any hitches.
    And I've had as many as 8500 active (for testing, I would never do it day to day). Do I win?
    Any solutions or recommendations?
    The most likely reason, assuming you replaced the fonts with known good copies is Font Book. Put bluntly, it's one of the worst font managers available. It's database is easily corrupted. When that happens, fonts that are marked as active in its interface won't appear in some, or all apps. You'll find you can't activate or deactivate fonts. Use these steps to clean Font Book up so it works.
    Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until you see a progress bar towards the bottom of the screen. You can let go of the Shift key at that point.
    OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally. This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode.
    After the Mac finishes booting back to the desktop from Safe Mode, do the following to clear the rest of the font cache files.
    Close all running applications. From an administrator account, open the Terminal app and enter the following command. You can also copy/paste it from here into the Terminal window:
    sudo atsutil databases -remove
    Terminal will then ask for your admin password. As you type, it will not show anything, so be sure to enter it correctly.
    This removes all font cache files. Both for the system and the current user font cache files. After running the command, close Terminal and immediately restart your Mac.
    Looks like I made a wrong choice.
    As opposed to what? Dealing with viruses each and every day?
    I thought that Mac systems was very stable when it comes to graphic related applications, but it seems that I was WRONG.
    Boy, you sure know how to make people want to help you.
    A simple font base also Mac system cannot handle as well as a PC based system.
    Also flat out wrong. Fonts are simple. You add them and use them. Turn them off when you don't want them active. Learning and understanding a new OS is usually a good idea before you start trashing it.
    If problems return soon after resetting Font Book with the notes above, then you most likely installed junk fonts. Free fonts are worth what you paid for them and are the number one source of such problems on both Macs and PCs.
    Secondly, get rid of Font Book. If you use and manage fonts every day, get a professional manager. Suitcase Fusion 4 and FontExplorerX Pro are your best choices.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Returning results that fall within the current financial year

    Hi Everyone,
    I am using MSSQL Server 2008R2 and I am interested in returning rows from a 'financial' table that fall within the current year (each row contains a 'Entered Date'). I am located in Australia so my financial year consists of all entries between the date
    01/07/xx to the 30/06/yy.
    Can anybody suggest some code, perhaps using the datediff() function, or other functions as required to achieve what I need?
    Kind Regards,
    David

    Hi,
    Try the Below Script.Hope it works
    DECLARE @StartOfFinancialYear
    DATETIME
    -- This gets 1st April for the current year
    SET @StartOfFinancialYear
    = CAST(YEAR(GETDATE())
    AS VARCHAR)
    + '0701'
    SELECT
    FROM
    <YourTable>
    WHERE DateField
    >= @StartOfFinancialYear
    AND DateField <
    DATEADD(yy, 1, @StartOfFinancialYear)
    -- less than 1st July NEXT year
    Regards, PS

  • How to list all  tables that belongs to the current user?

    hi all
    "select tblowner,tblname from tables where tblowner in (select user from dual);"
    I want a list of all tables that belongs to the current user. I use the SQL above, but given "no rows selectd",but if
    I replace the subquery with literal,like
    "select tblowner,tblname from tables where tblowner = 'JFMDB');".
    I got the list. why?
    Thnk u very much!

    This looks like a bug that was fixed in 7.0.5.13 and onwards. I can reproduce what you are seeing in 7.0.5.10.0 (Linux x86-64 / Access control enabled instance from root install) but not 7.0.5.13.0 (Linux x86-64 / Access control enabled instance from root install).
    Unfortunately I don't have a bug number to pass on. I can't see anything relevant listed in the Release Notes and I haven't found a likely candidate in our internal listings. This may well have been one that was fixed "in passing" when RnD were working on something similar.

  • How do I stop Firefox entering my username and password into other fields on pages that are not the log-in page?

    On a website I need for my work, I must log-in with username & password. Firefox remembers my name & password perfectly. However, in another section on that same website, when I am filling in calendar information, it enters my my username in the "Location" field. Unfortunately, that is my work ID which is confidential. When I don't notice, it posts it on the very public calendar. Also, it enters my password into a password field (masked), so that no one can rsvp.
    It doesn't appear that I can edit the Saved Passwords/Exception in Firefox Options, so I am looking for suggestions!
    I want the saved name password at http://workname.com
    but not incorrectly at http://workname.com/info/*.*

    If there is a password field on a web page and you have saved a password then Firefox may try to fill that password and enter the name in the field just above that password field.
    You can look at:
    * Saved Password Editor: https://addons.mozilla.org/firefox/addon/60265
    *Form History Control: https://addons.mozilla.org/firefox/addon/12021
    You may want to disable saved form fill to prevent Firefox from filling the name.
    * [[Form autocomplete]]
    * http://kb.mozillazine.org/Deleting_autocomplete_entries

Maybe you are looking for

  • How to restore files (with padlock sign) from iBackupbot to iPhone

    Hi there, Recently I had updated my iPhone 4 with the latest iOs 6 software. Before the updating begin, iTunes had backup all the informations from my iPhone to iBackupbot in my laptop. After my iPhone had been upgraded with iOS6, I wanted to restore

  • All Windows versions past 7 uses 100% my HDD

    Hello, I have an old Lenovo B560 bought in February 2011. I had Windows 7 installed and it used to work well until Windows 8 was released and i couldn't stop myself upgrade my OS. Since then i have troubles with my HDD usage which is 100% most of the

  • Adobe Acrobat 5

    I am trying to install Adobe Acrobat 5 on my Acer PC which has Windows7 and I am getting the message that it is incompatible with Windows 7 ?

  • How can I downgrade Triple Play to just FIOS Internet?

    A couple of months ago, Triple Play seemed like a good deal. I only wanted Internet and TV, but Triple Play came out being the cheapest bundle with both of them. The deal was only available online. When I got it, then I found out that you have to ren

  • How to do from the wsdl by the JWSDP1.1?

    I am a newer for web services.now when give me a wsdl file if i want to call the service how can i do by the tool of jwsdp?? 3xs for all