Timer Expression - Interval Literals Issue

Hi
JDeveloper 11.1.1.6, WLS 10.3.6, BPM 11.1.1.6
I am trying to use XPATH expressions in the Timer Catch Event
I tried giving the Interval Literal as in the 26.12.3 section of Writing Expressions - 11g Release 1 (11.1.1.6.1)
All I want to do is set the timer value to 1 minute.
I gave the XPATH expression as '1m'
I have even tried giving the expression value as a variable from process data object and still it does not work.
I selected Time Cycle, and Use Expression, XPath Exp : bpmn:getDataObject('timerData')/ns:timerValue
The following post also mentions that it works if we give the literal as 2h
https://forums.oracle.com/message/11067100#11067100
I tried the timer as a catch event in the process and boundary event on a human task, but both are not working.
The process comes to the timer event and stops there. The Audit Trail/Flow in EM does not show it entered the timer event.
Can you please let me know if I am missing anything.
Thanks and Regards
Sameer

Hi Sameer,
With timer event logic, part of the confusion stems from the two syntaxes you can have based on the "Time Date" (elapse at some time in the future) or "Time Cycle" (elapse after the time period specifies elapses).
If all you want to do is to have the event time out after one minute, you could use this syntax if the Time Cycle radio button is selected:
    string(‘PT1M’)
This won't work without casting it to a string as shown above.  The upper case "M" above is correct and does not mean month in this case because it is after "T" in the expression.
If you wanted one year, 3 months, 5 days, 7 hours, 10 minutes and 3.3 seconds the syntax would be:
    string(‘P1Y3M5DT7H10M3.3S’)
If you wanted the event to expire after one minute and wanted to use the Time Date syntax (by selecting the Time Date radio button), the syntax would instead be:
    xp20:add-dayTimeDuration-to-dateTime(xp20:current-dateTime(),'PT1M')
This logic is for the Timer events.  Strangely, the deadline syntax that you use to set in a Human Task's deadline is slightly different.  Human Task deadlines are important because they establish the value that will appear to end users in the Workspace's Expires column.
Dan

Similar Messages

  • Just bought a new iPhone and am having trouble with iTunes and App Store. I can log in to Cloud, iTunes, and app store but once I try to download, it says "Youe apple id has been disabled". I've reset my password three times and have no issue on my Pad.

    Just bought a new iPhone and am having trouble with iTunes and App Store. I can log in to Cloud, iTunes, and app store but once I try to download, it says "Youe apple id has been disabled". I've reset my password three times and have no issue on my Pad.

    Hi FuzzyDunlopIsMe,
    Welcome to the Support Communities!
    It's possible that resetting your password multiple times has triggered this security.  Click on the link below for assistance with your Apple ID Account:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Here is some additional information regarding your Apple ID:
    Apple ID: 'This Apple ID has been disabled for security reasons' alert appears
    http://support.apple.com/kb/ts2446
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Click on My Apple ID to access and edit your account.
    Cheers,
    - Judy

  • SSD/HDD Time Machine Back Up Issue

    I am having an issue with my 2010 13" MacBook Pro.
    A few months ago I removed the optical drive, replaced it with the existing HDD, and then replaced the HDD with an SSD.
    The SSD runs my OS (Mountain Lion 10.8.4) and Applications, while the HDD is where I store my Home Folder.
    I did a Time Machine Back Up in March using a SeaGate external hard drive, with no issues.
    Last week I updated the Time Machine Back Up using the same external hard drive, but this time something has gone wrong.
    I am unable to move files within my system without Finder prompting me for a password.
    I am unable to write to any external USB as I do not have 'permission to perform some actions'.
    I am unable to connect to external servers via VPNs.
    Finder does not open a new window when slected, I am forced to press 'Comman+N' every time.
    Numerous other issues.
    I have read that it's an issue to do with ACL's, but since my Home Folder is not on my Startup Disk, there is no way for me to do this.
    I am the only account on the computer, and both drives have 'Read & Write' permissions.
    Does anyone know how to fix this issue?
    Please feel free to ask for more details.
    Thanks.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -f -a TextEdit 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; sudo defaults read com.apple.loginwindow LoginHook 2> /dev/null; } | open -f -a TextEdit 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}' | open -f -a TextEdit 
    Step 4
    ls -1A /e*/{la,mach}* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -f -a TextEdit  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' | open -f -a TextEdit 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Time Machine back up issue

    Heya Guys!
    Not sure this is in the right place so please move it if needed.
    Ok, so I have an external hard drive, and I am trying to back up my mac through Time Machine. My issue is that it gets to a certain point where it will say 'The backup was not performed because an error ocurred while copying files to the backup disc. The problem may be temporary. Try again later to back up. If the problem persists, use Disk Utility to repair your backup disk'. 
    I repair the disc, and I thought I'd figured it out it, but now every single time it tells me to repair the disc. I have bought a brand new hard drive to do this with and it had the same thing.
    Also it will get to saying that it has only 148 mb to go, will do it really quick then will go on to back up more data that wasn't there before in the bar, and then will say as above about disc repair.
    I have no idea if it is actually backing up, as when I look into my hard drive, the .(file format) is .inprogress and the time machine sign always ends up saying back up failed.
    I haven't a clue how to resolve this, so any help would be wonderful. Even if someone could just reassure me that yes it has backed up properly, that would be brilliant.
    The hard drive I am using for this is a Seagate GoFlex 500GB and I did buy a Seagate External 1TB that I partitioned so I could use it on a Mac to use it with originally, but reverted back to my GoFlex.
    Thanks,
    Simon

    I've just run Carbon Copy Cloner to back it up too and that has revealed where the problems are. Most of these I already have on my External Hard Drive safe but not the others, and since it is my first ever back up I don't want to delete something off my Hard Drive that I can't get back on it somehow. The problem areas are below:
    ATIRadeonX2000GLDriver (located in system/library/extensions/atiradeonx2000gldriver.bundle/contents/macos)
    Media Toolbox (located in system/library/privateframeworks/avfoundationcf.framework/support/mediatoolbox/ framework/versions/A/mediatoolbox)
    Core AUC (located in system/library/privateframeworks/coreauc.framework/versions/A/coreauc)
    I was also told that one of my files needs to be repaired as it failed to open, but I have no idea how to do it. It is located here: /System/Library/PrivateFrameworks/Install.framework/Versions/A/Resources/runner
    I'm guessing these are what is causing my issues, but I'm not exactly computer savvy when it comes to these sorts of things, so I don't know whether deleting them is a good idea, especially when I'm not sure if they are on a disc somewhere or not.
    Thanks for the help so far guys! :-)
    Simon

  • How can I get the Elapsed Time express to output in milliseconds?

    I am trying to get the Elapsed Time express to output in milliseconds or in seconds to three decimal places. I am pretty new at this.
    Thanks in advance!

    I'm not sure I understand your question. The output of the Elapsed Time Express VI is a DBL. It's already a floating point number. The default format for a numeric indicator is 6 digits of precision. You can change this in the properties for the indicator.
    To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
    Attachments:
    Example_VI.png ‏4 KB

  • CLD: timer expressi VI or my own functional global VI?

    Hi all,
    I'm preparing for CLD exam. I had a look to preparation kit exercises and a couple of exam samples.
    It seems that exam often requires the use of a Timer (a simple timer or a "pausable" timer).
    In order to save time during CLD exam,may I use the Timer Express VI without a point deduction?
    Thanks all

    You can use the Timer express VI, if you feel you will run out of time. Else create your own according to the requirement in an Action Engine. In case you have to pause the timer, then you have to build a logic outside the Timer express VI which is again a double work.
    The best solution is the one you find it by yourself

  • My safari won't load. firefox does. have had this computer for 2 years now, first time i'm having issues. what do i do???

    my safari won't load. firefox does. have had this computer for 2 years now, first time i'm having issues. what do i do???

    Going by your profile v10.6.8.
    Reinstall Safari >  Safari 5.1.9 for Snow Leopard
    Then restart your Mac.

  • Why did carefully over heating my 4s restore the wifi function? This, after 2 months of mysteriously grey out wifi buttons, loads of time trying to resolve issue with apple tech only to be told I must pay $199 to repair the problem. I'm disillusioned now

    Why did carefully over heating my 4s restore the wifi function? This, after 2 months of mysteriously grey out wifi buttons, loads of time trying to resolve issue with apple tech only to be told I must pay $199 to repair the problem. I'm disillusioned now

    Is the Wi-Fi button greyed out?  Try this article: http://support.apple.com/kb/TS1559
    Also, make a backup to iTunes of the device.  Then restore it as a new device.  If you still have wi-fi greyed out, then contact Apple again, and explain that you believe you have a hardware issue.  They may still ask for a $19 deposit, but if it is actually hardware related, then you won't be charged the $19.  Only if it is software related do you get charged that $19.

  • Problems implementi​ng the elapsed time express vi into my vi

    I am trying to implement the Elapsed Time Express VI into my VI so that my VI runs for a specified amount of time. I currently have the express VI working, but now that I have implemented it into my VI, my graphing functions do not work. If anyone has any suggestions, I would greatly appreciate your help. I have attached my VI for reference.
    -Kelly
    Attachments:
    Inj&Sam_C348_C_wrt_File_and_Timed.vi ‏405 KB

    The way you have your VI configured, the outer while loop will only run once. It will run, but will not be able to continue until the inner loop has completed. The inner loop will continue to acquire data until the desired time has passed. A this time a true will be written to the stop terminal on the inner loop, and then passed to the stop terminal on the outer while loop, stopping it when it has only run through one iteration. I'm not sure what you are trying to do, but my guess is that you want your second while loop to be outside of the first one. You can then stop them both by using a local variable or some synchronization mechanism.
    Regards,
    Ryan K.

  • HT204088 I believe I got the short end of the stick due to the time I resolved the issue of a refund from Paypal and I lost the offer of an 25% discount on a $50 I-Tunes card, this have left me very anrgy with the issue.

    The issue is above, Iwas to buy an I-Tunes card of $25.00,but then wanted a $50.00, but due to I not processed a refund that I believed to be automatically, I could not purchase the I-Tunes card, because of the delay of finding what was wrong with the purchase with Paypal because of an refund that was issued due to a book that I did not recieve for two month of $5.00 and by the time I resolved the issue the offer was to late and for this reason  could not buy the $50.00 I-Tunes card and have decided not to buy any more I-tunes card at all, because I got the short end of the stick and I am very angry to the two companies.

    Thank you so much for helping,
    But i really wonder how you did that. did you always switch between design view and preview view, then change the key position for 2px then switch back, to align the four letters? because i imagine that can get really frustrating, if you have a logo consisting of 58 parts instead of 4!:)
    Anyway thank you very much for your time and effort!!!!

  • Current Time expressed in decimals + Keyframing export question

    This was noted in an earlier post, but I could not reply since the thread was archived...
    I've noticed that certain movies, when viewed in QTPro, express the current time (viewable in the movie info dialog) in decimals, rather than in frames.
    For example, using a 30fps movie, a time of one second and 15 frames is instead shown under the current time (viewable in the movie info window) as :01.50 (hundreths of a second). This can be a problem if you are trying to count frames or note a particular time expressed in frames, rather than in fractions of a second.
    After digging a bit, I discovered that movies compressed WITHOUT keyframing enabled DID NOT have this trait - the time is shown in frames instead.
    The workaround is to export the movies from QTPro using a codec that does not support keyframes (for example - the Uncompressed codec).
    I have two questions -
    1. Why, when exporting a movie with keyframes on, does the video track frame rate end up with a value that goes to multiple decimal points? - For example:
    - Export a movie from QTPro using the animation compressor and a frame rate of 30. Set Keyframes to anything you like (note that you cannot turn it off).
    - View the exported movie, and press cmd-J (movie properties). The frame rate shown will likely be something like 29.3293293820932, and the current time (as shown in movie info (cmd-i)) will be in decimals.
    If you export Uncompressed 30fps instead (keyframes are not supported in this codec), the resulting frame rate will be exactly 30, and the current time will be shown as FRAMES, not decimals.
    2. WHY is it possible to render a Quicktime movie from After Effects, using ANY codec, and have the ability to turn keyframes OFF, whilst turning keyframes off seems to be impossible in QTPro when exporting a movie using a codec that supports keyframes?
    Thanks for any help!
    G5   Mac OS X (10.4.8)  

    No - there's no variable frame rate - depending on the project, we're either using 29.97, 30 or 60fps.
    We're using the "Current Time" in the movie info dialog so that people can make precise timing notes regarding animations without having to get to a machine with FCP, After Effects et.al. on it. Since we're concerned with getting exact frame numbers, we're using the Movie Info dialog rather than the time provided in the movie window.
    Practically every movie we're using is coming from After Effects, Shake, or some other animation/compositing program.
    The only times I've gotten those long-decimal frame rates is on a movie with keyframes set. Turn off keyframes, and the movie frame rate is exactly what we set it to be.
    I'm guessing that we're bumping into something that's actually a cool trick - when Quicktime sees that a movie has a traditional frame rate (30, 60 or even 29.97 for example), it displays the current time in frames. When it loads a movie with an odd frame rate (particularly something like 29.9630843098) it calculates and displays in thousanths of a second instead.
    Nonetheless, we're setting all the movies to a defined frame rate. The movies exported without keyframes end up with the correct rate, and the ones with keyframes end up with a frame rate that have many decimal places....

  • My iPhone 4S lost simcard reference several times a day and issue message invalid SimCard. I have already replaced simcard three times and not solve the problem. It's necessary to power off and power on to solve it. Could someone help me?

    My iPhone 4S lost simcard reference several times a day and issue message invalid SimCard. I have already replaced simcard three times and not solve the problem. It's necessary to power off and power on to solve it. Could someone help me?

    Return your phone to Apple for evaluation

  • Help with time expression!

    Hi everyone, I need some help with the time expression.
    Im working with video copilot´s plugin element 3d and i've made a spere shaped thing with particles which im going to sync to music. The problem is that when i make the simple expression "time*321" on the noise evolution value to make the sphere move organicly throughout the whole video it only does so for about two minutes then it just stops changing even though the value changes. The pictures might help you understand.
    Pictures: http://puu.sh/adNNB/e8de72a1e8.jpg, http://puu.sh/adNQJ/4fe8d4fe94.jpg, http://puu.sh/adNRx/8ecff2b2ca.jpg
    Then there is another problem which is that the sphere evolves alot faster with the time set to 321 compared to when i have it on 30.
    I hope you can help me and im sorry for my bad english just tell me if there is something you dont understand.

    I think you are giving the rotation value more than it can handle. After a while, many of the values in AE will stop increasing because the math can't go any further. Here are two things for you to try.
    1) Use this simple expression for increasing the value of something.
    THE BIG PICTURE:  ([Amount of Change] / [Number of Seconds]) * time
    ROTATION EXAMPLE: (360 / 5) * time;   <----- This will rotate a layer 360º over 5 seconds. It will also continue to rotate until the end of the comp or you run out of math.
    POSITION EXAMPLE:  delta = (500 / 2) * time; // This changes the value of "delta" 500 units over 2 seconds and continues.
                                       x = value[0] + delta; // Uses the x value from frame 0 and adds the delta to provide movement
                                       y = value[1]; // Uses the y value
                                       [x, y] // sends the values back to the layer
    2) Modulus will recycle the numbers. Using your current expression, you can add modulus, and use it to recycle your math.
    EXPRESSION:  (time * 321) % 360
    The % is the modulus, and it resets the count every 360º.
    Good luck!
    Trent

  • I have an Ipad, I activated the time capsule with no issues. I added the airport Utility application without issue.  However, I do not know how to access the hard drive with either my Windows computer or the Ipad.  Does someone know how?

    I have an Ipad, I activated the time capsule with no issues. I added the airport Utility application without issue.  However, I do not know how to access the hard drive with either my Windows computer or the Ipad.  Does someone know how?

    On windows load the airport utility .. latest correct version as possible.. there is no windows 8 but win7 works after a fashion.
    Make sure the TC is using SMB compatible names.. short no spaces and pure alphanumeric.
    Type the name directly into windows explorer.
    \\TCname or \\TCIPaddress
    If no luck turn off all the firewalls.. internal windows plus security software plus whatever other gargyoles and other rubbish AV software you have running.
    Ensure windows is able to at least ping the TC by IP address and name..
    Use the utility in windows to set file sharing to guest account on with full read and write access.. and set workgroup to WORKGROUP.

  • Usage of "Elapsed Time" Express VI

    I'm trying to program in Labview something like "Action 1" -> Wait 5 seconds -> "Action 2" -> Wait 5 seconds -> "Action 3". The "wait 5 seconds" should not block everything else but other tasks / VIs should continue running. Does anybody have a good solution for this? I tried to use the Elapsed Time Express VI but it does funny things. Can anybody explain to me how to properly use the Elapsed Time Express VI and especially how the reset input works?

    As Lynn said, I think all you need is a simple Wait(ms) call, but to answer your specific questions...
    The Elapsed Time Express VI tells you if the time you specified for Elapsed Time has expired; it does not actually wait for the time to expire. An example of how you would use this is to include a call to the function in a loop. When the "Time has Elapsed" boolean is true, you perform some action. If not true, you do nothing. This would allow you to use a fast running loop that only did some elapsed time action every so often instead of every time through the loop.
    The Reset you asked about is a way to reset the internal state of the VI. The VI keeps state information, which makes sense and is normally what you want it to do. However, you may want to have it
    reset on this particular execution, e.g. on the first iteration of a loop that is within an outer loop.
    Hope this helps,
    Roy

Maybe you are looking for

  • RFC connection R/3 to XI error.

    Hi All, Iam doing a scenario from RFC-XI-Webservice. I have configured the rfc sender communication channel. I have created an rfc destination in r/3 pointing to the XI server with a registered program id. Created an rfc dest in r/3 server pointing t

  • Quicktime poor resolution and large file how to improve

    I've been trying to use Quicktime Version 10.3 (727.1) to record a screen session. It works OK, but the quality is terrible. The characters are all fuzzy on playback. Despite that the 10minute recording takes up 85MB in .mov format. I'm not changing

  • Customise Subject Line for Email Notifications?

    I am using FormsCentral to receive Course Submissions.  Because Gmail groups all emails with identical Subjects & Senders, I need to be able to differentiate the Subject line of the Email Notifications, to include a unique field identifier (such as e

  • Table skips to second page when full

    Hi, I have a couple tables inside of subforms in my pdf.  When the last table in the attached .pdf, 11. DESCRIPTION gets full enough, the cell under 11. DESCRIPTION, skips to the second page.  I just want the extra text that won't fit on page 1 to sk

  • DNG Question

    I attempt to answer questions on the Bridge Forum.  Several users are now asking about getting the latest DNG so they can use on their new cameras.  If you have CS3 or even 4 and want the latest how do you do that?  I have never done this but the web