Help, I might be doing something not allowed

I have a process which is intended to send an initial message to a user to do something. The user is suppose to complete the task and then on our portal indicate the task is completed. When the portal gets the completed signal it will send the BPEL process a message through the AQ. Eventually there is a correlated message that is picked up in the BPEL process that sent the message.
The process is suppose to support escalation. That means when the completed message hasn't been received in the allocated time, an escalation email will be sent. The escalation is expected to repeat until the completed message is received.
Receipt of the correlated message (indicating completion of the task) is in a BPEL while loop and in a scope contained in the while loop. After the receipt of the message the Boolean to exit the while loop is set. The while loop continues to repeat until the Boolean is set true. Hanging off the while loop's internal scope is an onAlarm branch. When the alarm fires it sends an escalation message, bumps the alarm value by the next alarm moment, and then returns to the while loop.
When the process is executed:
1. I get the initial email
2. If the confirmation comes before the escalation alarm everything works as expected,I exit the while loop and proceed.
3. If the onAlarm fires, I get the escalation email, but it appears that there is an XPath failure when I attempt to set the next time for the onAlarm. The XPath looks fine unless there is a new variable environment because I'm in the onAlarm action.
I never see the onAlarm being executed in the Audit or Flow. Is that typical?
Can I not adjust the onAlarm moment for the next cycle of the while loop?
Am I limited to what I can do in the onAlarm path?

Hi BCurtis,
do you have a receive activity in your scope waiting for the message? If so, the while loop will never repeat, because it waits for the message and after receiving the message it leaves the loop. The onAlarm of the Scope is just activated once, as the scope starts.
Also you should consider that the Events and local Variables of a Scope are only active while the Scope is processed.
Perhaps you do better this way?
[!http://img25.imageshack.us/img25/222/zwischenablage01cvw.th.jpg!|http://img25.imageshack.us/img25/222/zwischenablage01cvw.jpg]
greetings,
Michael

Similar Messages

  • How come there are no hidden objects games in the South African App Store and y does safari not allow you to get it downloaded from the net. There are only games for kids in the App Store. Can anyone help

    How come there are no hidden objects games in the South African App Store and y does safari not allow you to get it downloaded from the net. There are only games for kids in the App Store. Can anyone help.  Is the South African apple ipad only for children

    Nobody here is responsible for what is or is not available in any country. I believe it is a software licensing thing.

  • I cannot open iCal because of a problem. Can anybody help me? The computer will not allow it to open and sends a message to apple each time. The icon has gone from the dock, but ical works on my iPad and I am afraid to sync it with my computer.?

    I cannot open iCal because of a problem. Can anybody help me? The computer will not allow it to open and sends a message to apple each time. The icon has gone from the dock, but ical works on my iPad and I am afraid to sync it with my computer in case it wipes everything .

    I have the exact same problem. I have not changed anything. This is probably a bug or something that has gone bad with Mac OS X (10.7.2). I have not found any solution for this on the web.
    MacBook Pro, Mac OS X (10.7.2).

  • Why does apple not allow 3D

    A statement from the Smithsonian: "....iPad. Although these devices technically fully support 3D graphics in the web browser, due to a restriction of Apple it is not currently possible to use the Smithsonian X 3D explorer on iOS devices." Why does Apple not allow Smithsonian X 3D to run on MAC iOS devices? It runs on other OS such as Android etc.

    John,
    If you know so little about the topic why even respond? Just to take sides? How do you even know your on the right side? Because you bought an iDevice and must obey your master?
    Firstly 63% of video on the web is not HTML5. There is no such thing as HTML5 video.
    HTML has a new tag called <video></video>. This tag allows the playback of videos converted to a specific codec. In safari it is h.264, in chrome it is VP8, in firefox it is OGG.
    Each browser can only handle their codec, so a video that runs in the enw <video> tag in safari will not run in chrome or firefox unless another video is also present that has been converted to the correct format.
    Adobe Flash can play all of them, or any one of them in any browser. Or you can just use .flv and have only one video that plays everywhere.
    As such Adobe Flash plays back h.264 video, and has been doing so way before anyone heard of HTML5. Most hardware today has built in support for this codec as well, making it the best performig codec to be used for video.
    With or without HTML5, h.264 is and has been becoming the "standard" codec for all video.
    So to say 63% of video is HTML5 is a half truth. If you only cinsider safari then yes, 63% of the videos that flash plays can also be played in safari. However that same 63% can not be seen by anyone else as they require a different codec.
    This says that h.264 is the dominant codec, because 63% of all video uses it. However you still need to support the other 37% of video which is not h.264, and you still need to support the other 63% of video for those who dont use safari.
    The best option to bring all this together is Flash. It's the one stop shop for all video across all screens.
    And Flash out performs HTML5 players 10 to 1 on every product on the planet except Apples.... where it somehow becomes a huge resource hog.... but then that may have something to do with Apple not wanting any media consumption to come from anywhere than their pocket.

  • Why does adobe not allow upgrades to boxee box

    why does adobe not allow upgrades to boxee box

    There are many ways of stripping metadata.  Not sure how "locking" it would be of any use.

  • Why does Apple not allow me to Change "Siri's" name on the I5?

    Why does Apple not allow me to Change "Siri's" name on the I5 (NOT how, but WHY)?

    No one here can address a question as to "why" Apple does anything.

  • HELP: "Goods receipt purch. order" is not allowed (ORD #######)

    hello sap mm gurus/friends,
    i would like to ask how do i go about resolving the error message:
    "Goods receipt purch. order" is not allowed (ORD #######)
    upon receiving the items in sap. The PO has an account assignment "F" (Order) against an internal order (ORD #######).
    i came upon similar threads, and it was suggested that i should add "RMWE" (Goods receipt for purch. order) to Permitted Business Transactions. how do i do this?
    thanks very much in advance.
    regards,
    albert

    Hello Kami,
    i was actually doing a goods receipt (MB01) against an invalid internal order. what i did was i requested the purchase requisitioner to choose a valid internal order that has been released and has not yet been fully consumed.
    i hope this helps. 
    Best Regards,
    Albert

  • Help on BPM Steps (Lookups are not allowed, so only BPM)

    Hi Experts,
    Please help me to design the BPM for the following process (A mandatory rule is Lookups are not allowed so I must finish this with out using lookups.)
    Step1. We get a file from FTP, Once we get  the file, We need to get the next unique identification number from a webservice(a sync call, As per our rule, u201CNot to use  lookupsu201D).By the way there is no relation between the data fields for the FTP file and this SOAP call, i.e. the SOAP request is having constants as inpput.,but once I receive the file then only I need to make a call to get the next unique identification number.
    Step2. Once we receive the unique identification number from the SOAP call, I need to merge this identification number with the file (I have received from the FTP in STEP1) and then needs to send to a RFC which is a sync call again and it returns a logical number.After getting this logical number then only go the next step(The returned logical number means a confirmation for us,i.e after getting the number just go to next step)
    Step3. After getting the logical number from RFC, I need to send the obtained unique identification number( Of Step1, Webservices Unique identification) to another FTP as asynch.
    This one is easy when we use lookups, but we have a condition u201Cnot to use lookups!u201D  so please suggest me the steps(BPM) to do, which donu2019t let the BPM down.
    Thanks in advance.
    Regards,
    Rahul.

    Your complete BPM design will be:
    Receuve(FILE_ABS_Async)->Transformation(ToPutConstantsInTheSOAPReq)->SyncSend(SOAP_ABS_Sync)->Transformation(Needed, format will be 2:1; will have FileMSG_&_SOAPResp as source MSGs and RFCReq as target MSG)->SyncSend(RFC_ABS_Sync)->Switch(To Check if the RFC Logical Number does not exist...if it does not exist then in the condition branch of the Switch put a Control Step (action as Cancel Process)->If RFC Logical Number present then otherwise branch will be executed( nothing to be placed in this otherwise branch)-->Transformation(SOAPRespMSG of SOAP Sync step into FILE message format)-> Send(FILE_ABS_Async)......
    Wherever you have sync send steps put them in a block and insert an exception branch in that Block....in the exception branch put some logic which will be executed when there is an error in the Sync Call.....so your BPM wont fail even if the Sync Send fails.....
    Regards,
    Abhishek.

  • Help regarding Materialized view ( subquery expression not allowed here )

    Hi all,
    while creating materialized view i got following error
    ORA- 22818
    subquery expression not allowed here
    following is my query
    CREATE  MATERIALIZED VIEW MV_NAV_REC
    BUILD IMMEDIATE
    REFRESH COMPLETE ON DEMAND
    as
    select folio_no FOLIONO,CHKDIGIT as Check_Digit,sch_code SCHEMECODE, sysdate as FOLIODATE ,
         (select case when count(distinct SUBBROKERCODE) =1 then to_char(max(SUBBROKERCODE)) else 'Multiple Broker' end   from transaction_st
         where folio_no = tst.folio_no
         group by  folio_no)  ARN_Number ,
         (select sum(case when tran_type in ('PURCHASE','SWITCH IN') then UNITS else 0 - UNITS end ) from transaction_st
         where folio_no = tst.folio_no AND SCH_CODE = tst.sch_code
         group by  folio_no,sch_code)  NUM_UNITS_NEW ,
    --SUM (case when tran_type NOT in ('REDEMPTION','SWITCH OUT') THEN UNITS ELSE 0 - UNITS END )  AS  Num_Units,
         (select sum(case when tran_type in ('PURCHASE','SWITCH IN') then AMOUNT else 0 - AMOUNT end ) from transaction_st
         where folio_no = tst.folio_no AND SCH_CODE = tst.sch_code
         group by  folio_no,SCH_CODE) as NUM_AMOUNT_NEW ,
    --SUM (case when tran_type NOT in ('REDEMPTION','SWITCH OUT') THEN AMOUNT ELSE 0 -AMOUNT  END )  AS  Scheme_Amount,
    sum(  CASE WHEN upper(tran_type) NOT in ('REDEMPTION','SWITCH OUT') THEN
                 units * (select nav_rs from nav_rec where nav_rec.sch_code = tst.sch_code and nav_rec."Date" = /*trunc(sysdate)*/to_date('23/03/2009','dd/mm/yyyy'))
               ELSE  (0 - units) * (select nav_rs from nav_rec where nav_rec.sch_code = tst.sch_code and nav_rec."Date" = /*trunc(sysdate)*/to_date('23/03/2009','dd/mm/yyyy')) END  ) Scheme_Valuation ,
    null as SCHEMEPHRASEID ,
    null as "Prefered Mode of SOA",
    (  select sum(      case when upper(tran_type) NOT in ('REDEMPTION','SWITCH OUT') THEN AMOUNT ELSE 0 - AMOUNT END  ) from transaction_st t where t.folio_no = tst.folio_no group by folio_no )  as Folio_Amount,
                   select sum(CASE when upper(tran_type) NOT in ('REDEMPTION','SWITCH OUT') THEN
                                              units * ( select nav_rs from nav_rec where nav_rec.sch_code = ts.sch_code and nav_rec."Date" = /*trunc(sysdate)*/to_date('23/03/2009','dd/mm/yyyy'))
                                  ELSE
                                      (0 - units) * ( select nav_rs from nav_rec where nav_rec.sch_code = ts.sch_code and nav_rec."Date" = /*trunc(sysdate)*/to_date('23/03/2009','dd/mm/yyyy')) END     
                                  )  from transaction_st ts where ts.folio_no =tst.folio_no  group by ts.folio_no
    ) as Folio_Valuation
    from transaction_st   tst 
    group by folio_no ,sch_code,CHKDIGIT
    order by folio_no , SCH_CODE
    please help me

    Hi,
    You cannot use scalar subqueries in a materialized view.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4110947624538#22981269011674
    edit
    From 10g doc:
    ORA-22818: subquery expressions not allowed here
    Cause: An attempt was made to use a subquery expression where these are not supported.
    Action: Rewrite the statement without the subquery expression.
    (http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e19400.htm#sthref6020)
    Edited by: hoek on Jun 10, 2009 7:56 AM

  • Why does Passport not allow you to log into App Store

    Since the iOS6 update.   When ever I open the App Store and gets the message I can not connect.   I then try and get into the app store after opening passport and get the same message for both App Store and ITunes.???   Am i doing something wrong ??

    Go to the Date & Time settings (General > Date & Time) and turn Set Auto to OFF, then change the date to a couple months ahead of now, say December 2012.  Go back to passbook and it should work normally.  Then change the Date & Time back to auto and you are set.  This fixed my issue like this and it's been ok every since. 

  • Why does Muse not allow a .build domain in their contact us widget?

    The contact us widget does not allow me to use a .build domain. I am in the architecture and construction industry and use a .build domain for our website and emails. I hope this will be fixed soon.

    Working on it. Should be addressed in the next major update.

  • Why does Firefox not allow me to go to Facebook, consistently says "untrusted connection"??

    I have read through all of the responses to this exact questions posed by other users and nothing is working. What is the most frustrating is that this is not a constant issue. One minute I will be logged onto Facebook and when I try to visit a friends page or post something it will freeze, then the "untrusted connection" comes up. Or it will be working fine for a couple hours and I will log off of Facebook, when I come back a few hours later, or even a few minutes later I get the "untrusted connection" warning again. This has happened more now that Firefox has been updated and it is also happening to my roommate. She will be logged onto Facebook and I will try and get the warning, or vice versa. We are in the same room on separate computers. This problem does not occur on Google Chrome or Internet Explorer. This is an issue with Firefox, not my computers. We have four computers (2 Desktops, 2 Laptops) in our home, my boyfriend works in IT. We have done everything suggested by the people here and nothing works. I would understand if it was happening to one computer constantly and you tried to tell me it was my computer, but that is not the case. This happens with all four computers at different times. How can one person be logged on to Facebook and another isn't, then an hour later it will work on the latter computer and not the one it was working on previously. This is very frustrating. I love using Firefox over Internet Explorer and Google Chrome, I trust it more. But this is getting ridiculous. It has been happening for a long time, it just got worse with the update. Please help. It happens with Google and other popular sites as well.

    This is what it says, every time for me
    ''''''''This Connection is Untrusted''''''''
    You have asked Firefox to connect securely to www.facebook.com, but we can't confirm that your connection is secure.
    Normally, when you try to connect securely, sites will present trusted identification to prove that you are going to the right place. However, this site's identity can't be verified.
    What Should I Do?
    If you usually connect to this site without problems, this error could mean that someone is trying to impersonate the site, and you shouldn't continue.
    ''''''Technical Details''''''
    www.facebook.com uses an invalid security certificate. The certificate is only valid for the following names: *.akamaihd.net, *.akamaihd-staging.net, a248.e.akamai.net (Error code: ssl_error_bad_cert_domain)

  • TS4079 Why when I ask Siri to remind me does it not allow me to add a date/time to the reminder?

    I have recently started getting problems with my Siri. when I ask it to remind me, it takes the details but then doesn't allow me to add a date or time. It used to do that but no longer. What's the point in having a reminder that can't remind you?

    Toyita wrote:
    I have put the relationships of my closer friends and family to be used when making phone calls.  When I ask Siri to say "call my husband" for instance, it answers me "My name" I am not permitted to do so... Why is that? What am I doing wrong?  Location services are on, and it works with anything else.  I need it most for phone calls.  Please help.  I am using an iPhone5
    If my previous tip had not worked, the alternative is to make sure FaceTime is enabled under Settings > General > Restrictions. If Restrictions are Enabled, FaceTime must be toggled to ON.

  • PLEASE HELP!!!! Songs not allowed to load on iPod....AGAIN

    This guy whom I asked my question to first told me to restore iTunes, then he told me to come over to iTunes for windows. So can you help me???? How do I get iTunes to default back to it's settings?? when I first opened iTunes it said that my audio might not work correctly. So a check box appeared and being totally stupid, I checked all the boxes. Now I can't get back!!!!  I have tried to load songs onto my iPod and every time I try to, Photosmart pops up and doesn't allow it to download. PLEASE HELP!!!! I just got this iPod.

    Post your question in the iTunes for Windows community.

  • PLEASE HELP!!!! Songs not allowed to load on iPod.....

    How do I get iTunes to default back to it's settings?? when I first opened iTunes it said that my audio might not work correctly. So a check box appeared and being totally stupid, I checked all the boxes. Now I can't get back!!!!  I have tried to load songs onto my iPod and every time I try to, Photosmart pops up and doesn't allow it to download. PLEASE HELP!!!! I just got this iPod.

    Post your question in the iTunes for Windows community.

Maybe you are looking for

  • Documents from Mac added to iCloud do not show up in Pages on iPhone 4S

    Synopsis: Dcouments added to iCloud through Safari on Mac do not show up in Pages on iPhone 4S. New documents created in Pages on iPhone do not show up in iCloud. I expect the doucments to appear on my iPhone soon after uploading them from my Mac to

  • My Master Drive @ 10.4.8 won't boot up now - It auto boots to Backup Drive

    As of this morning when I booted up to my Master SATA drive (10.4.8) my secondary ATA drive (Backup OS 10.4) came up instead. This happened before several weeks ago and when I just restarted it booted up with the correct Master drive instead. This ti

  • Aperture Slow vs. iPhoto...

    Hello, I recently purchased Aperture 3.0.3 after a brief trial using 1000 photos. Once I loaded over 80,000 photos between two libraries, I find the program too sluggish to even navigate and be of any valid use (yes, I have allowed the software to co

  • Please Help - Battery Problem

    I've had my ipod nano for...I'm guessing a little less than half a year. I listen to my ipod every day, all the time. My battery lasts about an average of like, maybe...only 3 hours. And it should last A LOT more than that. Sooo, what can I do???

  • Weblogic HTTP Authentication on 11g webservice

    Hi all We are recently migrating webservice from 10g to 11g, but keep 10g client use for connecting the new 11g interface. Due to previous technical limitation, the 10g client is found failed to connect 11g and thus we built a middleware between them