Wait for the functionality of workflow

Hello world

I tried implement the functionality of waiting in a workflow. I did the following.
(1) changed the type of node to the Relative time and value to 1 minute.
(2) changed the status of Timeout in the workflow for this Notification.
(3) in my pl/sql package, I wrote as follows:

IF (FUNCMODE IN ('TIMEOUT')) THEN
WF_ENGINE. Background ('WorkflowItemName', NULL, NULL, FALSE, TRUE, FALSE);
RESULT: = ' COMPLETE: APPROVE ';
END IF;

Now, even after having waited more than a minute, the notification will not to the next level. Can anyone give suggestions please?

Thank you

Jim

Hello

Let's start with the original post - you have no need to have anything in the code that performs differently in timeout mode, unless you want a specific logic to the fire during the transition from timeout is taken. As you've found, you must run the background engine for this type of item in order to advance the process.

You can perform some logic you want on the transition of timeout. Looks like you want to send the notification to the original recipient and the recipient following at the same time (which could be problematic...). However, there are two ways that you can reproduce this.

1 - transition Timeout go back to the original notification, which informs the original recipient. A parallel transition timeout determines the next recipient and then goes to another (identical) notification. You have then two messages open in same time, so you need to include an activity "Or" so that only those who can move the process to the next step. This isn't something I advocate.

2 - Timeout transition goes to a new activity of PL/SQL. In this activity, retrieve the current answering machine and one that follows and add them to a role of ad hoc. And the transition to the notification, but now send it to this ad hoc role. The question is really if you accept a response from one of these providers, or one precedence over the other? If you accept an answer, then do not check the box "Expand roles", and standard features will address the first answer that comes in. If this is not the case, then expand roles, and you have a notification message notification feature to determine what happens for each answer.

HTH,

Matt
-----
WorkflowFAQ.com - the independent resource ONLY for Oracle Workflow Development

Review alpha chapters of my book "developing with Oracle Workflow" are available through my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog?
WorkflowFAQ support forum: http://forum.workflowfaq.com

Tags: Database

Similar Questions

  • While loop, wait for the function and the stop button!

    Hello

    I have a while loop and a stop button. Inside my While loop - I have a 'Wait (x ms)' function. If I press the stop button, it does not block the program immediately, he expects ms x then stops the program. How can I get rid of this?

    Thanks in advance for the help!


  • Heating problems Strain Gage; Wait for the function measurement of delay

    Hello

    I am able (using four 350 ohm gauges) of the strain using a NI 9237 module with a cDAQ in connection Full deck Type 3. My test is to measure the strain over long periods of time (~ 10 days). The NI 9237 measure strain at a rate of 2000 Hz (this is the slowest rate). The wheatstone bridge is currently powerd with the NI 9237 of 2.5 V. When I get my data permanently, I see the strain increases with time (which it shouldn't do my test), and I suspect it's because of free heating strain gauges. So, to overcome this problem, I think using "Wait (ms)" and ask the program to obtain data once every 5 min. Five minutes should be more than enough to dissipate any overheating of the gauge.

    My question is: if I use the function 'wait (ms)', is my sensor (extensometer) are constantly under tension during the time-out of 5 minutes? I think that the functions "queue" are used inside a loop to allow a VI to sleep during the prescribed period (correct me if I'm wrong). So, it means that the sensor is not powered during this time?

    Thank you

    SID

    I wouldn't use "wait" function for your timing... software you can use the time elapsed or other timing functions

  • wait for a function at the end

    Hello!

    I work with Flex and remote objects (Java Classes). The problem I have is: don't wait for the action for the return of a function script. I mean:


    value = loginRO.Login (idField.text, passwordField.text, message);

    If (value == 1) {}
    connectionState.text = "CONNECTED";
    messageState.text = message;
    }
    else {}
    connectionState.text = "NOT CONNECTED";
    mx.controls.Alert.show ("there was an error trying to connect","CONNECTION FAILED" ");
    messageState.text = message;
    }

    If the connection is successful you will get a '1' of the call and '0' in other cases. But the flex code still shows the "else" because it does not wait for the function "login" at the end of its execution. What should I do?

    Internet connections are always asychronous in Flex, so we can't have any other code expects a frequency.

    You should have the code or function that is executed/called in the your RemoteObject result handler.

    If this post answers your question or assistance, please mark it as such.

  • Looking for a Boolean function similar to or, but do not wait for the second entry in case he gets a 'real' a single entry

    my program works in 2 processes in parallel inside a while loop and should stop when one of them ends.

    How can I do? Uses the function 'Or' wire loop the stop condition will not do the job, waiting for the two processes to give their comments before running.

    What I really need is a function that waits until she gets a 'true' through one of its entry and then executes without waiting than the other.

    Y at - it such an option?

    If not, does anyone have an idea how to achieve what I have described here?

    Thanks in advance!

    What you need is a "not synchronous or", i.e. "do something if Item 1 becomes real GOLD point 2 becomes true.  One way that comes to mind to do is with a design of producer/consumer model (event), where the consumer is a State Machine with a shutdown state.  Get 1 point to trigger an event (perhaps using a user event or property Value Change (follow the signs)) when it turns out true, and have it send to the consumer the Stop State.  Download point 2, to do the same thing.  Now one of them becoming true will cause the shutdown state be registered (without taking care of doing the other element), in other words, that becomes a real, (consumer) loop stops.

    Bob Schor

  • Ive been waiting for 20 minutes waiting for the consultant to apple. Must be a lot of problems apple these days

    Ive been waiting for 20 minutes waiting for the consultant to apple. Must be a lot of problems apple these days

    A twenty minute wait is not at all unusual.

  • error: implicit declaration of function 'GetActiveProcessorCount' is not valid in C99. Make sure that you include the prototype for the function.

    I get the following error:

    error: implicit declaration of function 'GetActiveProcessorCount' is not valid in C99. Make sure that you include the prototype for the function.

    I've included windows.h

    which includes winbase.h

    Winbase.h contains the prototype for the function in the above error message.

    If I disable 'Require the function prototypes' and 'Building with the C99 extensions', I get the following error:

    error: Undefined symbol "_GetActiveProcessorCount" referenced in "c:\Users\Public\Documents\National Instruments\CVI\HDLC\cvibuild. HDLC_RandD\Debug\HDLC_RandD.obj ".

    I work in the ICB 2013 SP2.

    Why I get this error.

    This function is only valid in Windows 7 and later versions. Because the ICB 2013 still supports Windows XP, this feature is excluded by default from Windows headers that are provided with CVI. If you do not need to worry about the versions of Windows prior to Windows 7, however, you can include it yourself, by adding the following macro in the dialog box options generation CVI (be sure to include for all configurations):

  • The doc for the function of the subset of the table shows the extensible function

    In LabView 2010 the doc for the function of the subset of the table shows that the function is expandable with indexes and multiple lengths. I can't expand the function for multiple indexes. How can I do this?

    Is the documentation for the function by mistake, or is there another function of a subset of the table somewhere that can do this?

    Subset of table details

    When wire you an array to the function, the function is automatically resized to display entries index for each dimension of the array. If wire you a table 1 d to the function, the function displays the index for an item entries. If wire you a 2D to function, the function table displays the entries index for a line and column, respectively. If wire you a 3D through the nD to the function, the function displays the index for a page entries.

  • Delay (30000 milliseconds) waiting for the SNMP service to communicate.

    When I start the SNMP service in Windows Server 2003 Enterprise 64-bit (SP2), the event ID 7009 (Timeout (30000 milliseconds) waiting for the SNMP service to communicate.), kindly help me to solve this problem.

    Hello

    Note that your computer is under domain, you must contact the TechNet forum, where we are the support technicians who are well equipped with knowledge on the issues of domain, do please visit the link provided below.

    http://social.technet.Microsoft.com/forums/en-us/winserverfiles/threads

  • remote desktop hang at 'Please wait for the system event notification' during logoff

    When I disconnect a remote connection, sometimes the GET logoff screen stuck at "Please wait for the system event notification" next time I try to open a session.
    This can also happen if that I disconnect the user, but the user seems to weigh on this same screen as well.

    There is a particular difficulty for this?  I can connect as long as administrator to another account, I can't kill connection attached somehow to be registered in the next time?

    Thank you

    Hello

    I suggest you to take a look at the answer in this thread and check if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/Sens-could-not-connect-to-the-system-event/4e5a04e9-88f8-4017-9416-2ca67c5ce7c5

    Hope this helps,

  • When I turn my laptop I have wait for the screen to come, or I have to wait for it to connect to the internet, what I do for this

    I have a computer gateway laptop and when I turn it on, I have to either wait for the screen to appear or for my laptop to connect to internet, I tried several different things, and none of them seem to work.before id turn on my laptop and within seconds it would connect, now it seems that it takes forever to connect. Thank you

    Hello

    1. any hardware or software changes made recently before the problem?

    I suggest that you follow all the steps in this article to resolve the problem.

    Optimize Windows Vista for better performance
    http://Windows.Microsoft.com/en-us/Windows-Vista/optimize-Windows-Vista-for-better-performance

  • Start stuck on "Please wait for the Local Session Manager."

    I would say that this problem started a couple of days. Went to start my laptop (Toshiba) and he sat on the "Please wait" message forever.

    Had no problems to start in safe mode. Looked up various ways of addressing the problem.

    Was able to change the resume date and back a few weeks ago. Still no luck. Happened to read something on a printer Epson being perhaps the problem driver (it was installed a day before the date of restoration chosen). Uninstalled the drivers, computer still does not start.

    Tried restarting running. I do not have the CD it came with Vista, but it was an option when you hold F8 during startup (I think?) Couldn't find any problems.

    Ran check on memory. No problem either.

    Changed settings for a verbose startup and ran a Diagnostic startup - all good for this. Then tried selective startup load system services... This is when the error occurs. When starting, it hangs on "Please wait for the Local Session Manager" and does nothing more.

    I looked in the event viewer to see what came that time and a couple mistakes were:

    Event ID 6000: winlogon notification subscriber was unavailable to handle a notification event.

    Event ID 7026: the next (s) start or start failed to load system
    spldr
    Wanarpv6

    It would be very useful for me not having to run my computer in safe mode automatically all the time, although it is useful that I at least have that option. Any help is greatly appreciated.

    Hello

    1. by chance your computer is connected to a domain environment?

    2. as you mentioned in your article that you tried the selective startup, I want to confirm if you have disabled the services left 3rd after hide Microsoft services?

    If you did not disable these services make sure you disable and then check if it works.
    See the article below for more information.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 in the above article.

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Please wait for the customer to political group - stop questions

    Hello

    I have problems with the closing of a machine. When the machine is connected to the corporate network, everything works fine. However, if the computer is connected to the VPN (1 hour or more) it is always suspended when it stops. First step in the shutdown process is:

    Please wait for the system event Notification service.

    This change after 3 minutes exactly. Next step:

    Please wait for Group Policy client windows 7

    is never exceeded (even after a few hours). Machine never off.

    Under newspapers there are always these 4 events when the machine stops in vain:

    1. 6005: the winlogon notification subscriber takes a long time to handle the notification event (Logoff).
    2. 4627: the event COM + a system expired attempt to fire the method of logging on the event {D5978650-5B9F-11D1-8DD2-00AA004ABD5E} class for the Publisher and the Subscriber.  The Subscriber has not responded within 180 seconds. The full name of the subscription is "ISensLogon2". The HRESULT is 80010002
    3. 6006: the winlogon notification subscriber took 180 second (s) to handle the notification event (Logoff).
    4. 6005: the winlogon notification subscriber takes a long time to handle the notification event (Logoff).

    Sense has expired after 3 minutes while there is no event 6006 for GPClient and machine is stuck there for centuries (Please wait for the customer to group policy). I noticed in the system logs that before the machine hangs during the shutdown process there are these errors and warnings:

    • 5783: the session configuration for the Windows NT or Windows 2000 Domain Controller \\server for the domain X is not admissible.  The current CPP of Netlogon call on \\machine to \\server was canceled.
    • 1014: name resolution for the name of the server has expired after none of the configured DNS servers answered.
    • 131: NtpClient could not set a domain peer to use as a source of time due to the DNS resolution error on ". NtpClient will try again in 3473457 minutes and double the reattempt interval thereafter. The error was: the requested name is valid, but no data of the requested type was found. (0x80072AFC).

    There is more than 1014 events for different servers and some 131. 5783 is always alone.

    I did a group policy log, because I thought that I will be able to see where the machine stuck. Below you can see the part of the newspaper GPSVC when the machine stops in vain:

    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: incoming with the event 0xe58
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: cancellation pending appeals
    GPSVC (2d4.1cfc) 21:31:24:327 Client_CompleteNotificationCall: failed with 0x71a
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: cancelled waiting for calls
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: dating dwStatus = 0 x 0
    GPSVC (438.1a04) 21:31:24:327 waiting for user group wire political end.
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: incoming with the event 0xe10
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: cancellation pending appeals
    GPSVC (218.C88) 21:31:24:327 Client_CompleteNotificationCall: failed with 0 x 525
    GPSVC (2d4.1cfc) 21:31:24:327 Client_CompleteNotificationCall: failed with 0x71a
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: cancelled waiting for calls
    GPSVC (2d4.9C8) 21:31:24:327 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: incoming with the event 0xdcc
    GPSVC (218.1054) 21:31:24:327 CGPNotify::UnregisterNotification: incoming with the event 0x20cc
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (2d4.9C8) 21:31:24:327 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: incoming with the event 0xd90
    GPSVC (218.1054) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (2d4.1cfc) 21:31:24:342 CGPNotify::UnregisterNotification: dating dwStatus = 0 x 0
    GPSVC (218.D48) 21:31:24:342 Client_CompleteNotificationCall: failed with 0 x 525
    GPSVC (218.D48) 21:31:24:342 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
    GPSVC (218.1c04) 21:31:24:327 Client_CompleteNotificationCall: failed with 0 x 525
    GPSVC (218.1c04) 21:31:24:342 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
    GPSVC (218.1054) 21:31:24:342 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: dating dwStatus = 0 x 0
    GPSVC (218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: entering with the event 0 x 2100
    GPSVC (218.1054) 21:31:24:342 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: dating dwStatus = 0 x 0
    GPSVC (218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: entering with the event 0 x 1264
    GPSVC (218.1054) 21:31:24:342 CGPNotify::AbortAsyncRegistration: No asynchronous recording is in progress
    GPSVC (218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: dating dwStatus = 0 x 0

    I excluded 1 GP machine and left on the VPN for a few hours, several times. He always stopped correctly.

    However I tried with the VPN disconnection before turning off the machine, I even turned off WiFi but machine still hanging. If I tried to get GP results it takes ages before stopping the machine and he's stuck in the step "to get the user name. Gpupdate/force will never update policy (it stops at policy update...). I tired with the installation of different patches that has not solved the problem.

    I think that there is that DNS issues while the machine is on VPN which led the GP cannot be applied. When the machine tries to close it is always somehow connected. There is no problem with the connection, no GP application script when the user disconnects, not roaming profiles.

    Does anyone have the same problems? All machines are Dell with Juniper NC (VPN).

    Thank you

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    TechNet forum: For Windows 7 

    Hope this information helps.

  • BlackBerry Q10 in waiting for the new Q10 hit sprint but what will happen to my email?

    Currently, I am waiting for the new Q10 hit sprint.  but I hear that I have will no longer be able to use my email with the new blackberry blackberry.net.  I currently use it as my email address.  1 it's true they won't E-mail blackberry and if so what steps do I need to take to make a smooth transition?

    1. Yes, the blackberry.net email is no longer available... and quite honestly, in my opinion, it's a good thing. Blackberry.net email is not available elsewhere ON your BlackBerry, you can view it on the handheld device itself and no backup otherwise. Get a free gmail, yahoo or Outlook.com account.

    2. read this: Article ID: KB33260 (hosted) BlackBerry e-mail address reference for BlackBerry OS 10

    Then, create and start using another free email account now. When you finally go to the thread at BlackBerry10, you will have your solution in place for shipping the blackberry.net email account.

  • waiting for the task to the end host window.

    My computer startrd to show, when I restart or shutdown windows 7, I get a message saying that windows is waiting for the task host window to end what it means...?

    Hi Sanaaalsadouni,

    Thanks for posting your question in the Microsoft Community forums.

    The TASKHOST is a generic process, which acts as a host for the processes that are running DLL instead of exe files. Up TASKHOST checks the part Services of the registry to construct a list of services focused on the DLLS it needs to load, then load them.

    I suggest you try the procedure described in the article and see if it helps.

    Why my computer won't turn on or off quickly?
    http://Windows.Microsoft.com/en-us/Windows7/why-wont-my-computer-turn-on-or-off-quickly

    See the article for more information.

    See details about your computer's performance using Task Manager
    http://Windows.Microsoft.com/en-us/Windows7/see-details-about-your-computers-performance-using-Task-Manager

    Hope this information helps you. If you need additional help or information on Windows, I'll be happy to help you.

Maybe you are looking for