Two Due Transitions from tlhe same Interactive Activity

Hi all,
I am implementing a process where I need to send a notification to the user two times. One after 2 days to approve the task. Second after 4 days send a user another notification saying that u have not approved the task and therefore the ticket is being closed.
How do I do this using just one interactive activity?

Hi,
You might want to consider using a variable in the Due Transition instead of hard coding '2d' or '4d'. This way you have just the one Due transition leaving the activity and it would timeout based on the interval variable. The interval variable would initially need to be set and then later set again after the first due transition fires.
hth,
Dan

Similar Messages

  • Why do I get two different results from the same coefficients?

    I am getting two different results from the Polynomial Evaluation function.
    For the first one, I am getting the coefficients from a Polynomial Fit function.  I feed the coefficients from the Fit function into the Poly Eval function and get the correct result of 12.8582 when I evaluate 49940.
    For the second one, I create constant array of the SAME values that were returned from the Polynomial Fit function (i typed them in).  However, I am getting an incorrect result of -120.7913 when I feed the constant array into the Poly Eval function when I evauate 49940.
    How can this happen when I am using the same array values?
    Attached is an image of what I am explaining.
    Solved!
    Go to Solution.
    Attachments:
    polynomial_evaluation.jpg ‏213 KB

    Hi Altran,
    are you sure about using the "same" coefficients?
    Did you compare them? Did you (atleast) set the display properties to 17 significant digits?
    Please attach a VI instead of a picture...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Connecting to two database instances from the same TopLink

    Hi,
    We are trying to create a process using BPEL where data from one database instance needs to be passed to the other. The process is compiling properly and we could deploy it in BPEL Process Manager. But when we try to run the process, the data is not getting inserted into the second instance. There is no error /exception being thrown at most of the time, but at times we are getting a 'Unique constraint error' eventhough there is no duplication of data.
    Can we connect to two different instances using the same toplink. How can we achieve this.
    Thanks in advance
    Pratheusha

    You need to use two different sessions with two different mapping descriptors

  • JDBC connection to two different machines from the same program

    I want to use JDBC to connect to two different databases that are on two different MySQL installations on two different machines.
    One of the installations is MySQL 4.1.12 and the other is 4.1.14-nt
    For some reason, all my statements seem to be going only to one machine, even though I am very clearly set it up to go to two different machines.
    Does anyone know whether connecting to two different installations from one program presents any unusual problems?
    Thanks.

    Unless there is some horrible defect in the MySQL JDBC driver (which I doubt!), there should be no problem and like the other poster says, please post snippits of your code so we can see what your doing...

  • Printing to two Epson R800s from the same computer

    I just posed this question to Epson and they didn't have a clue:
    Can you print to two Epson R800 printers simultaneously from one computer? I do this all the time with my 7600 and 1280 which are both USB. Now I need to do the same with two R800s (Firewire and USB ports). The problem is that one printer doesn't print fast enough to get my printing jobs done on time and would rather just have to buy another printer, rather than a printer and computer. Possible if I used two different drivers, such as the Standard driver and the Borderless driver?

    Hello,
    I have just tested in IE 6.0.something, and have proved that it generated different CFID CFTOKEN's each time the browser was opened.
    other version don't.
    originally the app was developed against IE 6.0.
    I am currently re-developing the system to use URL variables instead.
    Thanks all for providing insight.

  • Can I run two different ipods from the same laptop?

    Hi, I am very new to all this. Is it possible to have two different ipods running from itunes on the same computer. If it is how do I separate them so when I connect and ipod it doesn't sync both lots of music.
    Please Help me
    Thanks
    Hoolie

    I'm currently syncing three iPods to the same library. iTunes will recognize each iPod as a unique device. My preferred method of managing my iPods is "Sync Selected Playlists". This allows me the convinience of syncing (and all my ratings, playcounts and last played sync) while still being able to control what goes on each iPod. You can set your preferences for each iPod. You could managage one manually and sync the other. Whatever works best for you.

  • Is there a way to have two fields hidden from the user but active for the person receiving the form?

    I have an order form where there are two fields that the original form filler does not fill out. The person who finally receives and processes the completed form needs to fill in those two fields. I'm not sure how to handle this. Any help would be appreciated.
    Thanks,
    MDawn

    My suggestion is a folder level script, that controls the visibility of form objects.
    Only if this script is installed the fields will be visible.
    You need three things for this.
    1. The folder level script that has to be installed in the javascript folder of Acrobat or Reader:
    var ShowMeAll = app.trustedFunction(function(doc)
         app.beginPriv();
         var ShowMe = this.xfa.form.Form1.Master.ShowAllContent;
         ShowMe.rawValue = "Yes";
         app.endPriv();
    2. A hidden textfield in the form (on the masterpage for example).
    Let's say you name it "ShowAllContent".
    Put this script into it's docReady:Event.
    try
         event.target.ShowMeAll(event.target);
    catch(e)
         this.rawValue = "No";
    3. A script in the layoutReady:event of the subforms or form fields you like to show/hide depending on the presence of the folder level script.
    if (xfa.form.Form1.Master.ShowAllContent.rawValue == "Yes")
         this.presence = "visible";
    else
         this.presence = "hidden";

  • How to acquire two signal values from the same GPIB

    I have a power meter which provides two values,  the power and wavelength simultaneously.  So when I'am giving in the GPIB write command probe a joint command is not provided by ILX light wave. So how can i get the values simultaneously.
     Please help

    Hi perumpadapu,
    you should read the manual of your device/software. There you should find the answer.
    Or ask the customer support for that device.
    As long as you don't even provide a name of your device we cannot provide much more help!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Combining two form fields from the same document, into one form field?

    I have a field called "first name" and one called "last name".  How do I create a third field called "full name".  I want it to just combine the first two.  Any ideas?

    In the field's calculation tab (under Custom Calculation), enter:
    event.value = this.getField("first name").value + " " + this.getField("last name").value
    Message was edited by: try67
    Forgot to paste a part of the code...

  • Two Time Machines from the same computer on one external drive?

    Hello all. I tried searching for a similar situation but didn't see one.
    I have a MBP running Leopard 10.5.8. Its Time Machine is located on an external mirrored raid LaCie drive.
    I have installed Snow Leopard on a separate external LaCie d2 drive on its own partition. On a second partition of that drive is a clone of the MBP HD (with Leopard 10.5.8).
    Can the external mirrored raid LaCie drive I use for Time Machine contain both of the Time Machine backups that are created by the same MBP - one when Leopoard is running, and another when Snow Leopard is running?
    Thanks. I hope I've posed the question clearly enough to trigger thoughts. It's a brain twister for me ...

    Can the external mirrored raid LaCie drive I use for Time Machine contain both of the Time Machine backups that are created by the same MBP - one when Leopoard is running, and another when Snow Leopard is running?
    Yes, but it's not the best solution. A better solution is a separate drive or a separate volume on the same drive in order to keep the backups separate. In this way if anything happens to the Leopard backup volume it won't affect the SL backup volume.
    If you do as you propose each system's backup will be separate but stored in the same Backups.backupd folder as long as you use a different Computer Name in each system. Your backup drive will need to be large enough to maintain full backups of each.

  • Can I have two iCloud backup from the same device?

    Hi,
    I have done a hard reset on my iPhone 5S and now I am setting up as a new device. I do not want to use my old iCloud backup but I do not want to delete it. Just keep it just in case. But is there a way to create another backup, so If I want I can use the old or the new backup?

    Who's your carrier?
    That is weird, but the iPhone really is so picky when it comes to SIM cards and other assorted carrier locking annoyances.
    The only reason I could say you're seeing that is if you've got SIM card for a different country. (Canada/USA)

  • Interactive activity deadline without due transitions

    I need to define deadline for all interactive activities. However, I do not want to add due transitions or Connector to every interactive activity. How to set the activity deadline without due transitions?
    Or, I add a due transition / deadline to all interactive activities. If the deadline is reached to any of them, an exception will start.
    Or, if any activity is expired, it should go to a specific activity. How to do that?
    For example, a process has 2 interactive activities, named a1 and a2. The first activity has a method:
    activity as Activity
    activity=Activity("a2")
    t as Time
    t = addSeconds(activity.deadline, i : 20)
    It sets the deadline of a2. However, after it is deployed to BPM standalone 10g, when sending a1, Standalone shows error.
    Sincerely
    Edited by: YE on Jun 5, 2009 4:01 PM

    Hi Ye,
    There is a predefined variable called "deadline" you might want to consider using for this. Instead of having to add due transitions for each activity, if you set the deadline variable to some time in the future, once that time is exceeded the work item instance automatically throws an "InstanceExpiration" exception.
    1) I usually set the deadline variable in the Begin activity in the process to some time in the future. Although you can set it there, it can be changed anywhere in the process if you want the deadline to be different in the next activity. You just need to be sure to set the deadline upstream of the activity.
    2) Add an exception handler to catch the InstanceExpiration exception by:
    a) adding an orphan Interactive activity
    b) if an exception handler does not exist in the process, right mouse click anywhere in the white space of the process -> "Add an exception transition to" -> select the Interactive activity you added in the first step -> click the "Properties" tab -> select the Exception Name combo dropdown and pick "InstanceExpiration" -> click Ok and then Yes.
    c) the logic in the Interactive activity that catches the overdue instances needs at least these statements:
    // reset the deadline so another exception is not immediately thrown
    deadline = 'now' + '2d'
    // code here to do what it is that you want done (e.g. escalate the priority, send someone an email, etc.)
    // now send the instance back to the activity where the deadline expired
    action = BACK Hope this helps,
    Dan

  • Can I run two PIDs from the same vi?

    Hi
    I want to control speed of the rotating shaft and force applied by the pneumatic cylinder using two different PIDs from the same program.
    I managed to get two PIDs to work separatly using PID control loop VI`s supplied with labview 6.1 (I got Kc, I and D right, so there is no overshoot). When I try to run both PIDs within my vi they don`t work. I again tried various gains and managed to get one PID to work but not the other. Then through trial and error I managed to get a second PID to work but I had to change refresh time of the FOR loop from 100msec to 1msec.
    Does anyone have experience with running two PIDs in the same program? Does the timing of the FOR loop influence PID contorller? Does equiring of other data while run
    ning PID has effect on the PID?
    I would really appreciate any comments/help. I am pretty thrustrated at this time
    Thanks"

    The timing of the FOR loop will influence your PID control, which is a fundamental part of PID control. Acquiring data doesn't affect the PID although it could affect the timing of the loops. For instance if you only have one DAQ card you would want to have it all in one loop because you can not have two AI sessions open to the same card.
    For more detailed information on PID I would recommend reading the "PID Control Toolset
    User Manual" which should have been installed to your machine but can also be found at : PID Control Toolset User Manual"
    Regards,
    JR A.
    Application Engineer
    National Instruments

  • Sending Email after a period using due Transition

    I have a process where for a particular role only I have to send an email 5 minutes after if that particular activity is not executed.
    Everything works fine with me using a DUE transition to send an email and then go back to the activity every 5 minutes.
    But,
    When I click on the activity,it opens up a presentation form. If I keep the presentation form open for more than 5 mins and then click SUBMIT, the activity disappears from the INBOX giving me an error saying that:-
    " The instance is no longer in the activity"
    How do I solve this problem.

    The suggestion to use a Split is the only way I've kept a Due transition from timing out my Interactive activity once it has entered the screenflow too. Inside the Split / Join Circuit there would just be an Interactive activity in one branch and a Notification Wait activity in the other branch. The end user would have no more key clicks with this than they have today.
    Wish I could send you an attachment. If I could, I'd just send you my project that does this. (just send an email to [email protected] if you'd like it - I have no intent to try to sell you anything).
    Here's what I've done in the past to do what you want to do:
    1. Create a Split / Join circuit. In one leg following the Split I have the Interactive activity that invokes the screenflow. In the other leg following the Split, I have a Notification Wait activity. The property setting for this Notification Wait activity is set to be notified by "External" in 5.7 or "Internal" in 6.0. Coming out of the Notification Wait activity I have two transitions. There's an unconditional (transition taken if an end user is in a screenflow) and a Due transition (transition if no end user invokes the screenflow).
    2. For the Interactive activity, I create a screenflow. I pass in the id.id predefined variable into the screenflow and the copy number of the instance reaching the interactive activity. If I know this, from inside the screenflow, I can have as the first task in the screenflow an automatic task that sends a notification to the process's Notification Wait activity. As part of the notification, I send the Notification Wait acitivity the argument that provides a flag (notifiedBySf variable is this flag in the sample code shown below) that indicates that this notification was caused by the screenflow and not the Due transition timing out.
    3. In the Join activity I have the logic:
    if !copy.notifiedBySf then
    logMessage "Not notified by SF"
    action = RELEASE
    else
    logMessage "Notified by SF"
    end
    hth,
    Dan

  • Connect two internet lines on the same cisco router 3945 series

    i have two internet lines from the same provider and i have one router i want to connect the two lines in the same router
    any ideas !!!!!!!!!!!!!

    Hi,
    No problem, similar treatment. Follow 
    1. Create IP SLA/Track for both internet link
    2. Break your LAN subnet into 2 smaller subnet
    3. Create route map, Match with 1 subnet & route the traffic towards 1st internet link
    route-map General_Internet_Traffic permit 10
    match ip address 115
    set ip next-hop verify-availability 10.1.1.1 track 1
    set ip next-hop verify-availability 11.1.1.1 track 2
    4. Create route map, Match with 2 subnet & route the traffic towards 2nd internet link
    5. Configure NATing/PATing over the interface, selecting by route-map 
    ip nat inside source route-map General_Internet_Traffic interface FastEthernet0/0 overload
    - Ashok

Maybe you are looking for

  • My number was sold while I was using it...here is ...

    You: The phone number I purchased a few weeks ago is ringing directly to a pool cleaning company... it should be forwarded to xxx.xxx.xxxx the number I bought is xxx.xxx.xxxx Mark A: We understand that you were having problems with Skype. We are more

  • HT4527 Why is the import button not allowing me to click on it?

    I am attempting to use home sharing to take all of my music from my PC to my new MacBook Air. I followed all of the directions listed on here about setting up home sharing, and everything seemed to be working fine until I got to the actual importing,

  • Changing cd file name

    can i change the song name loaded from cd? older cd info indicates file number instead of song name. i would like to change it so the song name displays on my nano. anyone know how???

  • Problem printing #10 envelopes on HP c410a printer with word 2003

    Having problem printing #10 envelopes on Hp c410a printer from MS Word 2003 on MS XP system, I have tried all the options under the MS Word program and as well under the printer setup options. I just can not get it to print.

  • Lenovo Thinkpad Yoga Camera problem

    Hi all, I had my screen replaced under warranty a few months ago due to the retention problem, after I got it back I noticed the webcam wasn't working I didn't put much thought into it and thought i had to update drivers since it had been replaced. N