How do I route back to subordinate when rejected in management chain task?

Hi I wish to create following configuration in BPEL:
1) A Worker has a Manager.
2) When the Worker approves the task, it is sent to the Manager for approval.
3) When the Worker rejects the task, its done. However, when the Manager rejects the task it is sent back to the Worker again for another full approval/reject cycle.
I'm using a management chain human task for this, and it mostly works. However, I'm having trouble getting the task to automatically go back to the Worker when the Manager rejects it.
I believe I need to surround the management chain task with a while loop, and control it whether or not you iterate over the task again with a flag variable which is set on the REJECT path of the task, and cleared on the others. However when I do that and the manager rejects the task, it just seems to skip the entire management chain task and goes to complete.
What Im thinking is I need to reset/set some variables on the task when Im setting the flag variable so it comes back in as a regular task (like change the status from completed, etc).
Can anyone offer me some tips on how to do this properly, or (hopefully ;>) some sample code?
Thanks!
Chris

You could listen to the onTaskUpdated operation of your Workflow Task. There you could check for the condition that your manager has rejected the Task. Rest of the logic you would have to implement in BPEL as your rightly think. Expand the Human Task to see the receive activity

Similar Messages

  • I was being helped by live chat and it closed and I lost the connection. We weren't done. How do I get back to him when it states it's not available? We were right in the middle of fixing my problem.

    I was having a problem installing the latest version of Firefox. ZZXC gave me a link and I downloaded it. I installed it and was asked to see if it was the latest verson by clicking on the Firefox link. When I did that, chat shut down and I don't know how to get back there to finish this since it says it's closed now. The version I have is still listed as 3.6.17, not the current one. I have a Mac, could the link be for a PC instead? I just want to finish this and get on with my life. Can someone please help? Thank you.

    If you have problems with updating then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • How do I get back to HD when I selected backup HD that won't boot up?

    Bootup from external HD failed.  Now I have a blank screen when I turn my computer on.  How can I return to my internal HD? 

    Boot up holding down the option key.  You will get to choose which hd you want to boot up from.

  • Any idea how to chance your back up email when it's in wrong?

    Hi have forgot my security questions, when I have Tried to send a email to change them I noticed it's got the wrong email. That I cannot assess. How do I change this?

    First, you will need to contact iTunes Support online: http://apple.com/emea/support/itunes/contact.html (select Account Security as your help topic) or by phone: Apple Support Numbers to have them reset your security questions.
    After they are reset you can edit your rescue email address.
    Navigate to My Apple ID using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. 
    After you've validated your identity by correctly answering your security questions, click Edit to the right of your rescue email address.
    Once you've finished editing your rescue email address, click the Save button directly below the email field.  
    Rescue email address and how to reset Apple ID security questions

  • How can i get back my contacts when they have been deleted?

    I tried putting music on my iPhone 5 for the first time and after doing it I realized all my contacts, messages, and photos were replaced with my moms contacts, messages, and photos that she had backed up on to the same computer. How can I retrieve all of the things i had lost?

    What address book or cloud service were you syncing them with? Are they still there?

  • I updated the video driver and now the screen won't come on? how can I roll back the driver when I can't see the screen?

    I am running my Mac Book Pro with Bootcamp. Leopard on one partition and Windows 7 on the other. I updated the driver for the Nvidia video card then the screen went black. I tried to boot into the MAC side but the screen doesn't even show the optional boot screen. It does however sound like it's booting, I have tried hooking up a second monitor to see if it would show on that but it doesn't. I have also tried booting from the CD using the Win 7 disk, hoping that it would use the video driver on the disk instead. I'm either not doing it right (pressing ctrl & D whilst starting up) or that doesn't work either? I'm a bit lost? Don't know how to get to it.

    Take your MBP to an Apple Store or an AASP.  If you are still under warranty and/or have AppleCare, suggest that you take advantage of it & call Apple tech support. 

  • How to stop automatic back-up files when working in Word?

    Whenever my wife is working on a Word.doc, the computer is saving an inordinate amount of "back-up" files without her wanting it to.  Is there some "control or switch" in the Microsoft Word program that can turn off this option?  She's terrified of deleting any of these ersatz files (at least in my opinion) and they are just taking up space and confusing her.

    Joe The Author wrote:
    Whenever my wife is working on a Word.doc, the computer is saving an inordinate amount of "back-up" files without her wanting it to.  Is there some "control or switch" in the Microsoft Word program that can turn off this option?...
    If Word for Mac is anything like Word for Windows, in Word's Options under Save, you should be able to turn off AutoRecover. It may be called something different in Word for Mac, but I believe the option is there.

  • How do I enter CS6 license key when Adobe Application Manager immediately tries to authenticate against my expired Creative Cloud membership?

    I have CS6 Master Suite installed along side my now-expired Creative Cloud apps (I am evaluating whether to renew my subscription at this time). Both CS6 and Creative Cloud are currently unlicensed due to a snafu with my educational license, but I have a new CS6 license that I am trying to register CS6 with. However, upon launching any CS6 program, Adobe Application Manager then launches and tells me that my Creative Cloud membership is now expired. How/where to I enter my CS6 license key? I have already tried entering my new license on my Adobe account profile > “My products and services”, and reinstalled CS6 applications from my original disk image (MasterCollection_CS6_LS16.dmg).
    Thanks in advance,
    Liz

    Figured this one out from another thread, after which I was able to sign in again with my Adobe ID and my software was ready to use:
    Windows:
    Delete these folders
    SLStore from C:\ProgramData\Adobe
    SLCache from C:\Program Files (x86)\Common Files\Adobe
    OOBE from C:\Users\(Your Username)\AppData\Local\Adobe
    Mac:
    Delete SLStore and SLCache from /Library/Application Support/Adobe
    Delete OOBE from ~/Library/Application Support/Adobe

  • How to send call later automated sms when reject call on iPhone 3gs ?

    Can anybody help me for the above question ?

    As KT said, it's not currently possible but it would be handy.  You won't be the first but tell Apple... http://www.apple.com/feedback/iphone.html

  • I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to sen

    I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to send emails with photos embedded. I like adding the frames and backgrounds and I think it's easier for recipients to look at the photos. Thanks for any suggestions of things to try.
    Gail

    I had a similar problem in that my wife's iphone 5 could not send pics with imessage.  Had to set the settings to default to SMS or whatever.  After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed.  They changed the router channel, which is something that I am capable of doing myself.  After that, the pics go over imessage.  My own Iphone didn't have the problem.  We are both latest IOS 7.0.6.

  • How can I go back the same song that was playing when I switched and watched a movie?

    How can I go back to the same song and place in the song that was playing when I started watching a movie?  I have over 6k songs and now my ipod always goes back to #1 even though I may have been listening to # 321.  How do I ever get to listen to all my songs.  Yes I have it on random but if I look at the songs I have played lots of them have played 15-20 times amd many more 6-8 times.  At this point I don't feel I will ever hear the latest songs I added. 
    Any help will be greately appreciated.  Also is it possible to do the same on the new ipod classic 160?

    One area that this appears is on Facebook where it lists the number of Recognized Devices. There are six devices which include iPad and iPhone. These items are grayed and you are unable to change. Also on my iphone it lists the computer name. This name is different from name of my computer. It's what I signed in as when I installed the Mountain Lion upgrade. I know I'm not doing a good job of explaining this. I have searched everywhere on my computer that I can think of and cannot locate where this is used. Any suggestions are appreciated.

  • How do I go back a page on the Ipad mini? I do not see any arrows anywhere. Also when I go to my yahoo email account and open an email I can not find how to go back and log out. This is our first Ipad and it is very different frm android. Thanks

    We just purchased our first Ipad. It is a mini with retina display 16 GB. How do I go back a page? I see no arrows to page back. Also when I log into  a yahoo email account and open an email I see now way to log out? Thank you for any help

    In Safari, (the web browser), there are specific arrows to go back and forward through website pages.
    In other Apps, it will depend on how the App is built.
    As to Yahoo Mai it depends on where you are viewing the email.  If you are using the Mail App, then you don't log out.     The Mail accounts in the Mail App are always there.
    If you are using the Yahoo App, You can Tap on the folder at the top, then on your account/name, and then on Sign Out.

  • I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings?

    I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings? Please help. Thanks.

    You should have asked this before you tried: Changing username or short name- User Account and Short Name- OS X- How to change user account name or home directory name.

  • I have replaced my laptop and installed iTunes. When I try to sync my iPad or iPhone it says they are already linked to another iTunes library. How do I get back to my original library.

    I have replaced my laptop and installed iTunes. When iffy to sync my iPad or iPhone it says they are already linked to another iTunes library and will only let me transfer purchased items. How do I get back to my original library.

    Check out the solution found here.
    If you do a restore you will lose everything.  Some things will be backed up in iCloud but not everything.

  • If i selected to "Create a new backup" and then cancelled that option but want to go back and select "Inherit backup history"; how do i go back and do that since now when i plug in my HD, that option doesn't appear anymore?? Any Help?

    If i selected to "Create a new backup" and then canceled that option but want to go back and select "Inherit backup history"; how do I go back and do that since now when I plug in my external hard drive, that option doesn't appear anymore?? Any Help? I bought a MacBook Air, but decided to return it for the newest model, and I wanted to back it up so that I can then back it up on my new MacBook Air. I didn't understand the option to Inherit or start a new back up, and therefore selected the option to create a new backup. I believe I should have selected to Inherit backup history so that when i back it up on the new MackBook Air, it appears the same as the one I'm returning.... Is there anyway that i can re-select the option to Inherit backup history for time machine?

    Thanks for sharing this link.
    I've posted a question here https://discussions.apple.com/message/22049103#22049103 describing my situation. Are you able to suggest me the right option?

Maybe you are looking for