Logical Loop Lunacy

I'm having trouble with something that will inevitably raise the question 'why the heck would you want to do that anyway?', but here goes...
Entity 'A' has a one-to-many relationship with entity 'B'.
There are multiple instances of entity 'B', but one is 'special' in that it's always there, let's call it instance '99'. There is always at least one other instance of entity 'B' with a sequence number 1, 2, 3, 4... for as many instances as exist (up to 98 of them, but more usually 5-10).
I want to assign a value to an attribute of instance 99 based on a rule that looks at the value of the same attribute across all other instances of the entity.
The rule is easy, but I keep getting a logical loop as I'm using the attribute stated in the conclusion in the condition. However, in the condition I'm actually only using the attribute stated within the scope of the instances of the entity that are specifically not the instance implied in the conclusion (although I know of no way to specify which instance I want in the conclusion, hence the logical loop).
I think I need some sort of 'conditional scope' function...
Any ideas? I'd rather not (as I have had to currently) define a new attribute within entity 'B' specifically to be the equivalent attribute to the one I'm trying to derive as the 'IT' side of OPA is outsourced and I'd rather not have the issue of testing they've mapped the 'equivalent' attributes (this is an example of something I need to do for a number of attributes) to the correct fields in the database - those being the same as those fields for the 'non-equivalent' attirbutes!
My head hurts - apologies if your's does now as well...
Thanks,
Alex

Alex,
If you are using 10.2, you can just mark the involved rules as being part of a rule loop - it sounds perfectly fine in your example as it is just a rule loop rather than being a data loop.
Otherwise I would just do it with two attributes - the existing attribute that you collect, with the second one being:
* the value of the existing attribute if it isn't instance '99'
* the computed value if it is instance '99'
That way you at least get a final attribute that splices together the base and computed values.
Regards
Andrew

Similar Messages

  • Avoiding Logical Loop Error while defaulting values

    Hi Experts,
    We have a requirement where lets say Attribute A and Attribute B are displayed on the screen, we need to default value for Attribute B to NA if value of Attribute A is set by the user to "XYZ", else whatever value user enters in Attribute B will be set. To achieve this, we are setting the value of the Attribute B in the rule document. If we use the validation rule table like mentioned below, it throws a logical loop error:
    Attribute A
    “NA”
    Attribute B = "XYZ"
    Attribute A
    otherwise
    To avoid this, we are using a dummy attribute for Attribute A (which is not displayed on the screen) to set in the rule document as mentioned below and this attribute will be shown in the decision report:
    Attribute A Dummy
    “NA”
    Attribute B = "XYZ"
    Attribute A
    otherwise
    The issue is, we are sending the Session data to Siebel through OPA connectors. Now these dummy attributes as mentioned above (which are not displayed on UI) are not sent as part of the Session data as these are inferred attributes.
    Is there any way to:
    1. Solve the logical loop error issue so that we dont have to use the dummy attribute
    2. If we have to use dummy attributes, then how to send them to Siebel as part of session data.

    From:http://www.oracle.com/technetwork/apps-tech/policy-automation/documentation/index.html
    Oracle Policy Automation Connector for Siebel 10.4.4 Developer Help (HTML - Please be patient while the help index loads.)
    Full developer help for OPA Connector for Siebel 10.4.4, from getting started with mapping, to configuring and deploying rule projects, and handling session data being passed to and from Web Determinations. Includes information on the new Siebel integration object approach available since the 10.3 version of this connector. Note that only rulebases developed with Oracle Policy Modeling 10.4.0, 10.4.1, 10.4.2, 10.4.3 or 10.4.4 can be deployed to OPA Connector for Siebel 10.4.4.
    Specifically,  see the Topics under "Data Mapping" in the table of contents.

  • Logic Loop Copyright Question

    Hi all. My question is, are all of the loops provided in Logic, Garageband, or any of the Jampacks, free from copyright restrictions? Meaning when utilized for commercial purpose, do they need to be declared as samples, or is everything provided, basically up for grabs? Thanks!

    I thought this was quite clear:
    "2. Permitted License Uses and Restrictions.
    This License allows you to install and use one copy of the Apple Software on a single Apple-labeled computer at a time. You may use the Apple and third party audio loop content (“Audio Content”), contained in or otherwise included with the Apple Software, on a royalty-free basis, to create your own original soundtracks for your video and audio projects.
    You may broadcast and/or distribute your own soundtracks that were created using the Audio Content, however, individual samples, sound sets, or audio loops may not be commercially or otherwise distributed on a standalone basis, nor may they be repackaged in whole or in part as audio samples, sound libraries, sound effects or music beds."

  • Weird Problem- Help With Logic Loops

    Hi all,
    I've been using Logic Express 8 for about 2 years and I've got a pretty good handle on things. However I keep having this small little problem and usually restarting the software fixes it, but not this time.
    My problem is this: I'm trying to make some beats using software instruments. So I click on "Drums and Percussion" then "Ultrabeat" then choose my drum kit. I start punching in my beats but Logic is playing some Apple Loop on top of it! Theres no notes on the track and yet it still plays this random beat! I can adjust the tempo and the beat adjusts to it.
    The problem is there is nothing there. Its a blank track, but this beat keeps playing.
    I used to just restart the program when it happened and it usually took care of it, however it won't fix it this time.
    I know it's probably some check box I don't have clicked or something but if someone could help me out, I'd be very appreciative.
    Thanks,
    Josh

    Ah yes!
    Thank you JG99!!!
    I forgot to go into the Ultrabeat menu, and turn off the "example beat" that they give you. I knew it was some checkbox that I didn't unclick or click.
    Thank you sir, you are a gentleman and a scholar.

  • Can I use logic loops in a commercial production?

    I am using the audio, drumbeats, drum kits,..the works in Logic to create a commercial track.
    Are there any restrictions on the use of these loops?

    You can find the Terms and Conditions in the License agreement. Basically, you can use all the loops and sounds that come with Logic studio for commercial use without any problem. However, you're not able to sell the loops by themselves unaltered as your own creations.
    If you listen to many commercial records.... Umbrella by Rhianna springs to mind, you'll find Apple Loops used in them.

  • Converting aiff to caf for use with the logic loop browzer

    I've got a bunch of new loops. I would like to batch convert the to caf, and use them in the loop browser. Any know if this is possible????
    Thanks,
    CB

    you don't need to convert as .caf
    Logic support .aif .wav .sd2 loops and also .caf!
    No conversion is required... if they are not already apple loop compatible you need to use Apple Loop Utility to add the Logic tags
    G

  • Changing key in Logic Loops...

    I'm able to change key in the loops, but once I drag that loop, in it's changed key, to my track, the sound reverts back to the original key. How do I record the loop in the changed key? Thanks!

    Select the region and choose Region > Bounce in place
    or solo the track and set the cycle area to fit the region (apple loop) and choose file > Bounce

  • 3rd Party AIFF loops tempo changes from loop library and Logic session

    Hi there,
    Hope somebody out there can help me out!
    I've recently purchased some 3rd party loops, some in AIFF and some in WAV (Which I have converted to AIFF using the Apple Loops Utility), and i have been able to get these into the logic Loop library successfully.....Or so I thought!
    The problem I am having is that when previewing one of my loops it's often double the speed that the set tempo, and this will happen to ALL of my loops. But when I drag one into my session, Logic asks if it should copy over the automation data with it, click yes, and it plays fine in the arrange window. And funnily enough, all of my loops in the library start playing at the correct tempo!
    Once this has all happened, i've tried quitting logic, and re-opening....but the issue just happens again....
    Has anyone else had this problem, or have any idea as to what the issue may be??
    Any help would be greatly appreciated!!
    - Aaron

    Hi there,
    Hope somebody out there can help me out!
    I've recently purchased some 3rd party loops, some in AIFF and some in WAV (Which I have converted to AIFF using the Apple Loops Utility), and i have been able to get these into the logic Loop library successfully.....Or so I thought!
    The problem I am having is that when previewing one of my loops it's often double the speed that the set tempo, and this will happen to ALL of my loops. But when I drag one into my session, Logic asks if it should copy over the automation data with it, click yes, and it plays fine in the arrange window. And funnily enough, all of my loops in the library start playing at the correct tempo!
    Once this has all happened, i've tried quitting logic, and re-opening....but the issue just happens again....
    Has anyone else had this problem, or have any idea as to what the issue may be??
    Any help would be greatly appreciated!!
    - Aaron

  • Getting Logic to ignore .caf files in the loop browser?

    I don't even know if this is possible. I've installed Logic 7 on my laptop that also has GB '08. I want to keep GB, but I don't want all of those .caf files in my Logic loop browser. Is there a way to get rid of them from the browser without moving or deleting them so I can still use them in GB?

    bump

  • Can't see Jam Pack Loops in Logic Studio Browser

    I have searched many other forums but can't find the same problem. Usually it relates to a separate disk for loops.
    I have Garageband and 4 Jam packs installed on my computer (Dual G5 latest OSX up to date). Jam pack 1, Rhythm Section, Symphony Orchestra and something else... anyway I purchased Logic Studio (8) and installed that. During installation I noticed that it detected that I already had some of the Jam Pack loops on my drive so they were "unchecked" automatically and therefore didn't install. Now when I look in the loop browser only the Jam Packs that Logic did install are viewable in my loop browser. Yet the other jam packs are indeed viewable in Garageband. All of this is installed on a single internal drive that is the system drive (500GB) by the way. So I dragged the Jam Pack folders to the logic loop browser and it appeared to be adding the loops, but they are still not visible there.
    Also, there is no dialogue box that appears to ask if I want to copy them or leave in current location as many other users have said it should ask. maybe that's because it's all on one drive though.
    The other concern is that I wonder if the software instruments that come with the jam packs would be installed/available in Logic? Surely not, if I am just adding the loops to the browser. How do I ensure that I have access to all of the loops and all of the software instruments?
    Can anyone please help with this, it would be much appreciated.

    Hi Jaffles,
    The best thing to doo is go to the various "Apple Loops Index" folders, remove all the index files that are in there and then reindex your loops by dragging them into the loop Browser. The index files will then be rebuilt.
    regards, Erik.

  • Can't load Logic Pro X loops.

    I can't get my Logic loops to appear in FCP X 10.1.1
    I have repeatedly opened Logic Pro X and FCP X and also trashed the preferences to no avail.
    Dragging the "Logic" folder to the FCP X music browser does no good as not even a + sign will appear.
    I'm desperate as I have a vital deadline in 5 minutes!

    OK I've got a result but it's left my Music and Sound browser looking very untidy.
    I couldn't get Logic to load itself and eventually had to drag my Apple Loops folder into the top part of the window (which I had forgotten existed as it was hidden) where it is now residing as a Folder, which can be deleted if I wish.
    Unfortunately there are a number of items listed such as Garageband and Logic etc. which are not folders but are empty and I cannot delete these.
    Is there any way of deleting items that are not actually Folders?

  • Converted apple loops won't add to logic.

    I think others have had the same problem but I just spent hours converting wavs to apple loops and in the end, more than half of them won't even show up in logic. The ones that do show up in the logic loop pane are not "looping" either even though I selected the "looping" tag in ALU. I tried rebuilding the DB with no luck and adding the folder again with no luck. I can't believe managing loops is this hard in logic. Apple needs to take a not from ableton on loop management for sure.
    Does anyone know how to get the apple loops utility to actually work right?
    Thanks all!

    It's not really a solution, more of a workaround, but I've had some luck doing this;
    Since ALU just changes the data on the file, and rebuilding the database seems to only affect original, included Apple Loops (which is horse crap, btw) I decided to change their info with ALU, then import them like any other file into a Logic project.
    When I do it that way, after I have added them to the bin, they are searchable in the loops browser. It seems that converting them to Apple Loops using the standalone ALU does not necessarily make them searchable by Logic's internal loop browser. But, if you add them to project's bin manually or create them in the arrange window (which also adds them to the bin) then they become searchable.
    I'm not sure why, it just has worked for me. It's still really inconvenient for converting large loop libraries for searching and sequencing in Logic though. No improvement on that from L8 to L9 either.

  • Pre 2 Lunacy ...Luna restart loop...

    Been running Pre2 with 2.1 & preware mods...  Luna started self-restarting randomly... More and more frequently over subsequent days.  Occasionally would get stuck in restart loop where the animated pulsing-hp logo would suddenly freeze and then restart again (assume luna restart aborted and restarted itself again before presenting user screen.)  When caught in this luna restart loop (lunacy), I was forced to do a "triple-toggle restart" after which the lunacy would seem to be cured.  Did this several time over several days.
    THEN... This morning went to check mail when lunacy started.  TWO subsequent triple-toggle device restarts failed to get past lunacy.  Third (?) came up announcing I needed to restart, re-login to my Palm account to restore my phone!  (all the way back to "English?" prompt)
    Now...  All apps restored and amazingly including 2.1 new features and my completely rearranged launcher pages (ala Preware mods!)  Took me back to 2.0 (apparently) since now suggesting I upgrade to 2.1 !!!  BUT....  Been here before and the 2.1 upgrade collided with my Preware patches, leading me to have to doctor the thing!
    A)  is my hardware the problem or is this understood behavior?
    B)  diagnostic tools to use?
    C)  should I allow upgrade to 2.1 to proceed when it does not seem necessary?
    ....help appreciated!  
    Post relates to: HP TouchPad (WiFi)

    Yes... Went to apps catalog and installed the new Bing maps program.  Tried it out and liked it!  Installed it as soon as it was announced...  Now something has changed.  The restore of my Palm profile remove bing maps ...so I reinstalled it.  Then luna restarts on its own and remove it!
    Seriously thinking someone has been playing with exploiting the open-ness of webos, trying to use recovery and update features of the system to install malware.  The bing vrs google dispute just provided a convenient test case masqurading as a "protest".

  • Doubt in loop

    Hi Gurus...........
    i have my code below ...problem is that when it goes for the first time if get the
    value but when it goes again in to the loop , first loop is getting exected
    the second and the third loop returns sy-subrc 4 thou it has value.....
    iam not able to find it out y????can you plzzz helppp???
    Code of loop
    ===============
    LOOP AT it_pos INTO wa_pos .
      READ TABLE it_kna1 INTO wa_kna1 WITH KEY kunnr = wa_pos-konto .
      IF sy-subrc = 0.
         wa_final-name1 = wa_kna1-name1.
         wa_final-xblnr = wa_pos-xblnr.
        read table it_t005u into wa_t005u with key  bland = wa_kna1-regio.
        If sy-subrc = 0.
          wa_final-bezei = wa_t005u-bezei.
         Endif.
      Endif.
    Loop at it_vbrp into wa_vbrp  where vbeln = wa_bkpf-vbeln.
        read table it_vbrk into wa_vbrk with key vbeln = wa_vbrp-vbeln.
        If sy-subrc = 0.
          wa_final-knumv = wa_vbrk-knumv.
        Endif.
        wa_final-arktx = wa_vbrp-arktx.
        wa_Final-fkimg = wa_vbrp-fkimg.
        move wa_final-arktx to wa_final-a.
        move wa_final-fkimg to wa_final-b.
        qty = wa_vbrp-fkimg.
        split qty at '.' into text2 text3.
        move text2 to wa_final-b.
        concatenate wa_Final-a '-' wa_final-b into wa_final-c separated by space.
        wa_final-name1 = wa_kna1-name1.
        wa_final-xblnr = wa_pos-xblnr.
        Loop at it_konv into wa_konv where knumv = wa_vbrk-knumv and  kposn = wa_vbrp-posnr.
          wa_pos-dmshb = ( wa_konv-kwert ) - ( ( wa_konv-kwert * ra_data ) / 100 ).
          wa_final-dmbtr = wa_pos-dmshb.
        Endloop.
      Endloop.
      Append wa_final to it_final
      clear: wa_bkpf, wa_kna1, wa_t005u,wa_vbrk, wa_vbrp, wa_konv, wa_final, wa_pos.
    ENDLOOP.
    Edited by: Matt on Apr 9, 2009 1:20 PM - added  tags

    Position of your append is wrong ...
    it should be above all the endloop.
    Edited:
    LOOP AT it_pos INTO wa_pos .
      *** logic ***
      READ TABLE it_kna1 INTO wa_kna1 WITH KEY kunnr = wa_pos-konto .
      *** logic ***
      read table it_t005u into wa_t005u with key bland = wa_kna1-regio.
      *** logic ***
      Loop at it_vbrp into wa_vbrp where vbeln = wa_bkpf-vbeln.
        *** logic ***
        read table it_vbrk into wa_vbrk with key vbeln = wa_vbrp-vbeln.
        *** logic ***
        Loop at it_konv into wa_konv where knumv = wa_vbrk-knumv and kposn = wa_vbrp-posnr.
          *** logic ***
          Append wa_final to it_final "Check position of this statement.
        Endloop.
      Endloop.
    ENDLOOP.
    Regards,
    Lalit Mohan Gupta.
    Edited by: Lalit Mohan Gupta on Apr 9, 2009 4:45 PM -  Written the skeleton of code. Label Edited

  • Re indexing issues in Apple Loop Browser (LP 9.0.2 / OSX 10.6.1 / Digi 002r

    I'm trying to re index my loop browser in LP9 / OSX10.6.1
    Are you having the same problem?
    After trashing the 'Apple Loop Index', I pull in a folder from an external drive and notice that previous folders added to my browser have gone, including Jam Packs.
    Also, I can't find the 're-index' option within the loop browser search option (right click brings down a list but the re-index option isn't there)
    Interested to see whet you find.

    Yep, I also had issues, where indexing the LP8 way (dragging folders with loops from the Finder onto the Logic loop browser) just bluffed to work (I dropped the folder on the LB, a progress window appeared, things apparently got done, but then nothing, no new entries in the Loop Browser.
    So it seems that it is a L9 problem, since our Macs' are different in every aspect (Me: PPC- you: Intel, me: Leopard- you: Snow Leopard).
    I finally decided to put all my loops in their default install locations and reindex them from there:
    *Library/Audio/Apple Loops/Apple:*
    Jam Pack 4 - Symphony Orchestra
    Jam Pack Voices
    Jam Pack World Music
    *Library/Audio/Apple Loops/iLife Sound Effects:*
    (13 folders)
    *Library/Audio/Apple Loops/User Loops:*
    (some folders with my own and 3rd party Loops)
    *Library/Application Support/Garageband/Apple Loops:*
    Apple Loops for Garageband
    Jam Pack 3- Rythm Section
    for thorough reindexing, here are the steps:
    1. Quit Logic and/or any other app that uses Apple Loops.
    2. Go to all the locations I pointed out and trash all the index files from the *Apple Loops Index* folders. Also check the same locations in your Users/'you'/Library folder.
    3. Start Logic with a new empty project, open the loop browser window by hitting the o key. Now drag the folders mentioned above in bold onto your loop browser. Logic should now index them correctly, including the foldermenu !http://farm3.static.flickr.com/2743/4085966954bf4fc039d7o.png! in the loop browser.
    regards, Erik.

Maybe you are looking for

  • I can't get facebook to stop remembering my username and password.

    I've already cleared all of my history (pressed ctrl + shift + del and cleared everything, including active log-ins, site preferences, and cookies), I went on the security tab under options and tried deleting all saved passwords, and I've tried resta

  • How to download the pivot view to the excel sheet with all features

    Hi, Using discoverer, my co-worker is able to download the pivot view to excel sheet with all enabled features, like pivot table in excel. Is this can be done in obiee? if this feature is present in obiee, plz will you explain me how to do in obiee?

  • [taskflow, train]Giving name to train stop

    Hi, how to give a name to a stop, when train is dropped in the UI ? Fred

  • UI element-Tabstrip

    hi experts, how  can i negivate from one tab to another tab by click on next button in each and every tab for example to negivate from one view to another view , code is wdThis.wdFirePlugToEducationDetails(); but by using this i am unable to negivate

  • ECM - EHP4 - Portal -- WDJ called from a WDA

    Hi experts, I am in SAP ECC 6.0 EHP4 and with the new scenarios in WDA deployed in the portal. In Enterprise Compensation Management, ECM, there is an iview developed in WDA called Planning Overview (the WDA associated is HRECM00_PLANNING_OVERVIEW ).