Sure 2 instances exist

Hi all

I would like to write a rule to ensure 2 instances of an entity created by the user. My entity is called 'toy', and I want to make sure that the user has "= lego toy" as 1 instance and another instance which is the toy = "barbie". "." If the user adds the lego as an instance, but not the barbie, in the '' Why '' decision tree, it should say that the instance of barbie was not planned (something in that regard), so the child doesn't have the correct toys.

Any idea on how I should write this rule?

Thank you!

The exact text of the rule will depend on the phrases that you choose for the entities, relationships and attributes.

In the form the simplest (where "all instances of toys" is a relationship at the global level and "selected toys" is a relationship at the global level that is placed on the screen), the rule could take the form of:

If

"barbie" is a member of selected toys AND

'logos' is a member of the selected toys

The rule will become more complicated if you are reasoning in all entities.  For example, if you're child modeling as entities and the child is selected for each instance of a child toys.

The most relevant topics in the user's guide will be those relating to "relations", reasoning by entities, "is a member of the ' function and InstanceEquals (i.e. is ).   There are a number of examples for the different rule constructs and functions in the user guide and the basics of rule example.

Tags: Oracle Applications

Similar Questions

  • Form will not question the existing record

    I am creating a page of user preferences based on a table that contains a record by the user, with the primary key = user_id.
    The form creates the record fine. If I exit the screen and return, however, he does not get this recording existing.

    The form contains:

    -A Point of Application called GLOBAL_ID

    -A calculation Application called GLOBAL ID with:
    Calculation Point = * on the new Instance *.
    Calculation type = SQL query
    Calculation = select f_get_id from double

    -A process page called line of SZBRPRF with:
    Process = * load before header *.
    Run the process = once per Page visit...
    Element that contains the value of the primary key column = * P1_USER_ID *.
    Primary key column = * USER_ID. *
    DML Fetch Mode = Memory Cache on Fetch
    Where the Runtime = * = USER_ID: GLOBAL_ID *.
    Success message = * read record for & GLOBAL_ID.*

    -L' P1_USER_ID element has the following attributes to be defined:
    Source type = * column database *.
    Source of value or Expression = * USER_ID. *
    Default value = *: GLOBAL_ID *.
    Type of the default = * PL / SQL Expression *.

    When I opened the page, the success message (recovered record for + 389 + is displayed, but the values are not.)
    It seems that GLOBAL_ID contains the value I want that it contains, at the time where extraction is performed, but the record is not found?

    If I enter a value in one of the fields and click on create, I get an error of unique constraint.
    I also confirmed, through SQL * Plus, recording existing in the database.

    I still think that the problem is with the field of P1_USER_ID and have tried various combinations, but it still does not work.
    Any suggestions would be greatly appreciated.

    Laura - please change your handle to something easier to read and to put your first name in your profile for us help. Thank you.

    Calculation = select f_get_id from double

    If f_get_id uses APP_USER to determine the file ID, you must move this point code definition process after authentication of the authentication scheme instead of use a calculation sur-nouvelle instance.

    -A process called page line of SZBRPRF with:
    Process = * load before header *.

    After the cessation of header is a good cooking for ARF process

    Where the Runtime = * = USER_ID: GLOBAL_ID *.

    This seems redundant. I would like to delete it.

    -L' P1_USER_ID element has the following attributes to be defined:
    Source type = * column database *.
    Source of value or Expression = * USER_ID. *
    Default value = *: GLOBAL_ID *.
    Type of the default = * PL / SQL Expression *.

    The path of fires of ARF process before any point of form (as a default) attributes are evaluated. In addition, if the element of PK is null, the ARF process is not pick anything (the message of success of process notwithstanding).

    I still think that the problem is with the field of P1_USER_ID and have tried various combinations, but it still does not work.

    I think that a calculation before heading to set P1_USER_ID is your best bet (as Dimitri proposed). Make sure that this event fires before the RFA process.

    Scott

  • shared object synchronized between threads/listeners

    I don't know if I go about it the correct way.  I'm hoping that someone could help with this situation. Here is basically what I want to do:

    Have a FIFO queue object that contains the data to send to a web application that can be accessed synchronously between threads/listeners.  Given that the coverage of the data can sometimes be slow or even non-existent, I need to wait for the cover, maybe using CoverageStatusListener that runs on a wire and will suspend/resume the thread on state change.  All this must happen without the need of Auditors threads to wait.

    For example:

    data coverage is non-existent

    ListenerA needs to send data, it places in the queue

    data coverage is restored.  Data queue

    ThreadB needs to send the data until the transmission is completed. We need the data in queue

    transmission of complete, passed down from queue data is removed from the queue

    During all this time, I need ThreadB data exist also in the queue object and not be lost when the data is complete and is removed from the queue.  I need ThreadB to continue treatment and do not wait until the transmission is completed.  I played a bit with display of threads that are cycled every five minutes or so if they could not pass successfully, but that logic is not feasible.  Say you are out of the coverage of the data for an hour or two, but you end up needing to pass 50 items.  You have 50 son sitting there waiting to pass.  Or a listener for each point that everyone is trying to send at the same time.  What happens if the device dies or is reset?  I looked at RuntimeStore, but that does not record the data and I don't know what happens when 2 wires need to add data to the queue at the same time.  PersistentStore will not be able to hold the data if/when it becomes too large.

    Here it is the pseudo-code.  I know that some things will probably not work.  Just trying to get down the basic logic.

    public class TestFoo extends Application {
      public static void main(String[] args) {
        TestFoo foo = new TestFoo();
        foo.enterEventDispatcher();
      }
    
      public TestFoo() {
        CoverageInfo.addListener(new CoverageListener());
        ThreadA threadA = new ThreadA();
        threadA.start();
        ThreadB threadB = new ThreadB();
        threadB.start();
      }
      public class ThreadA extends Thread {
        public ThreadA() {
        }
        public void run() {
          while (true) {
            //do stuff
    
            if (/*something */true ) {
    
            }
          }
        }
      }
    }
    
    public class HTTPThread extends Thread {
      private boolean suspended;
      private FIFOQueue queue;
      public HTTPThread() {
        setSuspended(false);
        /*
         * get queue from filesystem???
         * or create new queue if not there???
         * load into RuntimeStore???
        */
      }
      public void run() {
        while (true) {
          if (isSuspended()) {
            try {
              wait();
            } catch (InterruptedException e) {
            }
          }
          //fetch queue from RuntimeStore???
          if (queue.isEmpty()) {
            try {
              wait(); //can notify us when an object is added to the queue???
            } catch (InterruptedException e) {
            }
          }
    
          if (hasDataCoverage()) {
            Object obj = queue.getHead();
            boolean successful = false;
            if (obj instanceof MyObject1) {
              MyObject1 myObject1 = (MyObject1)obj;
              //send data based on MyObject1 structure;
              //set successful
            } else if (obj instanceof MyObject2) {
              MyObject2 myObject1 = (MyObject2)obj;
              //send data based on MyObject2 structure;
              //set successful
            } else {
              //not a valid object of mine for some reason
            }
            if (successful) {
              //get queue again from RuntimeStore???
              queue.removeHead();
              //return queue back to RuntimeStore???
            }
          }
        }
      }
      public synchronized void setSuspended(boolean suspended) {
        this.suspended = suspended;
      }
      public synchronized boolean isSuspended() {
        return this.suspended;
      }
    }
    
    public class CoverageListener implements CoverageStatusListener {
      //Only location this will be started so only one instance exists
      private HTTPThread httpThread;  
    
      public void coverageStatusChanged(int newCoverage) {
        if (!httpThread.isAlive()) {
          httpThread = new HTTPThread();
          httpThread.start();
        }
    
        if (newCoverage != CoverageInfo.COVERAGE_NONE) {
          if (httpThread.isSuspended())
            httpThread.setSuspended(false);
        } else {
          httpThread.setSuspended(true);
        }
        httpThread.notify();
      }
    
    }
    
    public class ThreadA extends Thread {
      public ThreadA() {
      }
      public void run() {
        while (true) {
          //do stuff
    
          if (/*something */true ) {
            //Somehow put data into the queue
          }
        }
      }
    }
    

    I think that there are a number of; habits that will help you design it - the producer/consumer and observer patterns come to mind.  I'm not a design guru so will not pretend even to help you work through this.  But all I can say is that models provide generally well thought out structures for the problems that.  I encourage you to read about them.  You might find these useful references:

    http://www.javacamp.org/designPattern/

    http://zone.NI.com/DevZone/CDA/tut/p/ID/3023

    In general I'm not comfortable with your overall solution.  I would look at something like that

    (a) offer a 'service' to your users that collects the data to send.  There is no need to be a wire, it is just a method that they call and pass in the data.  These data are persisted.  This method 'Add' is owned by the transmission process and is the only visible part of the outside of the treatment.  This treatment should also begin sending wire (see b) if it is not executed.

    (b) have a thread that attempts to send the data.  You can launch this thread on changes in coverage if you want, but make sure that you can have a single run.  This thread should check coverage before attempting to send anything, and just end if there is no point of trying.

    (c) your submission Thread will get in situations where she send and does not receive a response from there is another error.  In this case I recommend the blocking of the Thread for a time and then try to send again.

    (d), I said in (a) that the add-in has been the only visible part of the outside of this treatment.  However you're better instrument your process so that users can find out if your thread is running, how much he sent, if the last transmission worked or not of data and so on.

    Treatment based on a vector of data to send.  Synchronize on this vector before changing.  In the "add step (a), add an element to the vector."  In processing step (b) delete the first item when you have treated.

    There is a problem with this design in that there may be overlap if the sending thread terminate because it has nothing to do and add treatment add something and does not start the Thread because it is actually running.  You must code carefully around that.

    I hope this helps.

  • Connect OBIEE Admintool to hive: problems with ODBC. Any option?

    We are facing a blocking problem when you try to connect to an instance of hive Admintool using an ODBC driver.

    For a CEP, we are trying to set up a domain of hive to analyze in OBIEE. Everything seems to work OK

    until we try to load the metadata. In this case, the schema is found but not table under him. We can add the

    Physics of table by hand, and then we can successfully launch the number of lines. We then try to load the lines, but to

    the point that we have faced a strange behavior. But summarize the steps we have taken.

    (1) we downloaded ODBC drivers to connect to the hive (we tried with Hortonworks, Cloudera, Microsoft and)

    MapR, but the results are the same);

    (2) we have set up the connection to the hive on port 10000 and successfully run the ODBC test (BTW: to)

    SQLDeveloper we can connect to the same server via the JDBC driver and query the tables here);

    (3) then we start Admintool. Once we have defined the name and the password, we then select the ODBC connection.

    in fact there aren't strictly necessary user name and password, but we offer them anyway;

    (4) the next step is to load the metadata; and here is the first issue, because we can see the patterns but not

    the tables.

    Connection_OBIEE_BigData.PNG

    (5) anyway we are going on and insert a schema (we read there could be problems with more than one schema, then)

    We simply select one); in a blog (by Rittman, who really is 'THE' guru OBIEE) it is said that the tables are not

    loading directly, so we tried simply adding a physical table in the physical layer as the default schema.

    making sure the table exists;

    (6) once we have added 'physically' table that we proceed with the number of lines; and we get correctly the number of

    ranks once we overview the name of table after that;

    (7) then we try to retrieve the lines and the question; We get the following error message:

    ErroreSQL.PNG

    We also dug a bit little and concluded that the request received by hive instead of being

    SELECT * FROM trucks

    it becomes

    SELECT FROM trucks

    If the ' *' is passed to the SQL statement sent. If we run the same query on the Beehive, we get

    exactly the same exception ParseException error, it really seems that there is a problem in the

    construction of the SQL statement.

    Any idea about this problem? (if a fix exists, because after so many attempts, we are convinced

    This is a bug that can only be fixed by a new version of Admintool)

    BTW: we have tried almost all the possible options for the ODBC driver (such as 'native of use request',

    ("Use Unicode" and so on) and in regards to the Admintool, we have not seen what option

    or preferably (at the physical layer) can influence this anomaly.

    Any help is really, really appreciated. Thanks in advance.

    OK, I got what you're saying. I mean, to focus on the bigger picture. If you can make a data view or list Table to import metadata is a bit unrelated to the final goal. Annoying, but irrelevant. What you try to do, is get OBIEE to build queries dynamic SQL based on the logical requests which will submit your users via presentation against the presentation layer Services.

    Continue to build your SPR (ignorant that display data does not work) at a very simple level, with a single fact/Sun in the business model, single domain - and then run an appropriate query generated in answers through it. The point of all this is to see how OBIEE SQL query then generates, and if it's worth a one hive.

  • Eve not synchronized because test on primary transportable tablespace etc.

    This environment is the new generation environment, do not yet use.

    DB version is 11.2.0.3 in linux, RAC nodes are configured primary/secondary two and storage are stored to the DSO.

    primary DB was tested by data migration using transportable tablespace methods. If the imported data files was put in a local file system that I have to go eventually to the ASM.

    So the standby db felt that data files must be in the local file system and it got struck down.

    Here is the journal pending error:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: ' / stage/index.341.785186191'

    and the names of data files are all in the local file system in standby mode: / stage /... /.

    However in the primary data file, the names are in the ASM instance:
    +DAT/PRD/datafile/arindex.320.788067609

    How do I resolve this situation?

    Thank you

    user569151 wrote:
    so after the fall of the standby db, I use rman duplicate from active command?

    Yes, after the fall of database

    (1) starting in Nomount
    (2) check the configuraiton of net work
    (3) make sure password file exist
    (4) now run RMAN duplciate of Active database.
    That should be fine.

  • Question about displaying dashboards of vanilla in OLIVIER 7.9.6.1

    Hi all

    I need a favor from you guys.

    I had installed OBIA7.9.6.1 in my system successfully. When I tried to connect to the services of presentation as administrator, I cannot find the default dashboards of vanilla / pre built dashboards to the difference in the PAINT and the SAMPLE SALES RPD.

    In the page manage interactive dashboards, the error is displayed as "you currently have no access to shared dashboards".

    Kindly let me know how to solve this problem.

    Thanks in advance.

    Kind regards
    Dev.

    Published by: user8783844 on December 15, 2009 07:14

    Hi Dev,

    Just to confirm, you are looking for the OBIA pre-built dashboards, correct? Not looking for sample sales or reports of paint?

    If this is the case, you will want to check a few things

    1. check your instanceconfig.xml and see where you catalog access path is.
    2. follow the path of catalogue in the instance configuration and make sure that reports exist physically on your file system. They don't, follow the suggestion of MNC installation reports.
    3. check your NQSConfig, the ini file. Make sure that it refers to the EnterpriseAnalytics.rpd file.
    4. Enter the EnterpiseAnalytics.rpd and make sure it is the correct file (that is, simply open it upwards and make sure that there is stuff in there.).

    Once these steps completed, restart your services and you should see the reports.

    Good luck!

    -Joe

  • Had to reload operating system and applications data, now can't get firefox to recognize the profile data

    My C drive (disk solid state drive), which held my operating system and data from the app crashed. I had it replaced, updated Win 7 to win 10 and have downloaded Firefox. I was able to restore my profile from a Mozy backup data and copied in the Firefox folder. But Firefox resolutely refuses to recognize. I tried using the recovery data from an old profile, but no advantage help page. Tried to use the Manager profile, but without success. When I go to Troubleshooting Information and click on file/Show profile, it comes up with a list of files (files starting with bookmarkbackups, which however is empty, down for webapps, which has the file inside webapps.json), then the files from addons.json down through xulstore.json and the file places.sqlite is 10 240 KB Although there is something in there, but Firefox resolutely refuses to acknowledge my profile, bookmarks, etc..

    I'm out of options and ripping my hair out trying to get all my favorites, in which I have a lot of information such as the authentication of data for many favorite sites. It is frustrating that all the information seems to be there, but Firefox ignore all.

    Can anyone help?

    Such a backup is perhaps a ZIP archive containing all the files into it if it is not a real file, but only one file.

    Note is that you replace the file places.sqlite with a copy of the backup that you have to make sure to remove existing places.sqlite - shm and temporary files to SQLite places.sqlite - wal.
    Ditto for the other SQLite files that you are restoring.

    Have you checked the application.ini file in the backup?

  • I had to reinstall windows and now I need to recover my bookmarks.

    I just reinstalled windows and I lost the bookmarks. I had windows old folder and I read them there. I was not able to get to the app - data and by the time wherever I did, I lost the link to the path, in that these data can be.

    The Firefox profile folder is here:

    • C:\Users\ < user > < profile > \AppData\Roaming\Mozilla\Firefox\Profiles\.

    "AppData" (XP: Application data;) Mac: ~ / library. Linux: ~/.mozilla) is a hidden folder.

    You must restore the places.sqlite file and the folder bookmarkbackups.
    Make sure you remove existing places.sqlite - shm and files temporary places.sqlite - wal.

    You can use this button to go to the current Firefox profile folder:

    See also:

  • Upgrade memory on Equium L20

    I received an Equium L20 as a gift last year. About a month after getting it going, it was very, very slow. It turns out it was sold to me with only 256Meg RAM - not even enough for XP run!

    I am based in the States now and sent THREE different updates by a 'good reputation on the line memorystore"which none have set up properly...

    L20 forum claims that I need:

    PC-4200 DDR2 - 533 SO DIMM

    Is this correct? I'm sure that the existing memory reads PC2700...

    The problem seems to be that although the memory card aligns OK, the side grooves on each side that hold in place do not line up with the arm in the memory slot.

    Can anyone help? Please, I beg you!

    Thank you

    Dave

    Hello

    According to the specification you can upgrade with 2 GB RAM max. A slot is empty and then you can put the extra RAM module. Maybe the best solution is to put module with more capacity in the slot A and 256 MB of RAM in slot B. Compatible modules are:
    DDR2 400/533 256 MB (PA3389U - 1 M 25)
    512 MB DDR2-400/533 (PA3412U - 1 M 51)

    Good bye

  • HP officejet 7612: unable to print wirelssly with hp7612 printer in windows 10

    My printer is connected to the network and my PC recognizes in the folder "devices and printers", but when I try to print some stuff just employment remain inactive and nothing is displayed. I can see the printer in my WIFI list, but I need a password to connect to it (which I'm sure does not exist). How can I print wirelessly with this thing?

    I thought about it. I used usb connection the first time, I installed everything, so he does not have what was needed for the wireless. In the wizard of 'print' there is a "HP scan doctor" who has the ability to implement wirelesly. Seems to work fine now.

  • create a Cartesian chart?

    Hi, all.

    I'm all new to ICB and fairly new to modern GUI Builders. I have two very simple to start questions:

    1. How to create a Cartesian graphic base (the one with the origin in the middle of the screen)? I've looked through the options for the graphical object and do not find it, but I'm sure it must exist.
    2. How would I go looking for it myself, so I don't have to pester the forum with questions? I looked in the index help and google for information, but without success.

    Thank you.

    http://forums.NI.com/T5/help/FaqPage/FAQ-category-ID/solutions#solutions

  • Error code:-17004, could not load DLL or library

    Hi all

    I get the following error message:

    Error loading step 'x' sequence 'MainSequence' in the file 'y '.  Unable to load DLL or external library C:\bin\driver.dll

    Error code:-17004, unable to load DLL or library.

    ' Source ' THOMAS '.

    My main DLL is one written in C in LabWindows.  This DLL calls a second DLL written in Visual C++

    I use TestStand 2010 SP1 as well as LabWindows/CVI 2010.  I have Windows XP Professional SP3.

    This same sequence, DLL1 and DLL2 worked together in previous versions of TestStand!  All I did was upgrade from Developer Suite 2011... ???

    I have reviewed all the messages about this problem and have so far done the following:

    1. check the two DLL1 and DLL2 reside in the same directory

    2 copied DLL2 in C:\Windows\system32

    3 used the Dependency Walker tool to check that there are no other missing DLL

    4 uninstalled Explorer 8 and install Explorer 7 because of something I've seen depends on and something that I read while researching this problem.

    5. check the search directories in TestStand

    I am out of resources, because I can't determine what the problem and any suggestions would be welcome

    You have the correct version of the runtime visual C on this machine? If it is a debug version of the dll you need a debug version of the visual C++ runtime. If you have not visual studio is installed it is unlikely to be installed on your machine.

    You can open the dll in visual studio and look in the dll resources to see what version of sxs dll it is linked with the manifesto. You must make sure that it exists on your computer. Depends on generally should show a problem if that's the problem, however.

    Hope this helps,

    -Doug

  • TDMS error reading order

    Experts of PDM, please tell me I'm not crazy.

    I recently tried to read several channels to a TDMS file (with the help of LV 8.6.1), and the data was returned ok, except table 2D which was returned channels in the wrong order. I did reading from an array of channel names and assumed that the data would be returned in the same order I had asked them. On the contrary, it seemed to come back in the same order that the tiara display channels (that is, the order in which the individual channels have been written to the file).

    As many of the channels contained similar data, it would have been completely unnoticed if it was not for one of the channels (timestamp) of which I recognized as being in the wrong place.

    So my question is: the PDM label function (with the names of multiple channels) return data in the order I asked for?

    Of course, the workaround is pretty simple, I just looped on my table of channel name and channel reads the PDM file, but this seems clumsy.

    Any thoughts?

    I can post the code, but it really trivially is just using a primitive reading TDMS (also my TDMS file is several hundred MB).

    Hi, PNR,.

    I tried this and allows you to reproduce the problem. This is a bug for sure and seems existing for several versions of LabVIEW. The reason is that the order is actually bad determined by the oder of writing data.

    Thanks to find and report the problem. The R & D guys have already got the bug report and sorry for the inconvenience.

    Yongqing

    NEITHER

  • I want to transfer files and settings from XP to Windows 7

    I have win xp 32 bit on my computer, I want to copy or down load my files and exhibitor with the operating system for which is the easyest to do, so I can do a clean swept my harddrive and intall win 7 pro and then reinstall my files and setting.  What size should be USB key or drive hard exturnal.

    I'm looking for help thanks Brian

    Original title: easy transfer

    Until you do, make sure that your existing computer can actually support Windows 7.  If it's an old computer, it cannot.  You can get a rough idea by running the Windows 7 Upgrade Advisor.

    If you have a computer of 'brand', go to the website of its manufacturer and check if Windows 7 drivers are available for your model.  Although Windows 7 has a large number of drivers built in, you may well need to install specific manufacturers drivers once Windows 7 installed, especially if you have a laptop.

  • Problems of intermittent wifi with E1 - 510 laptop when power not plugged

    I have the Acer E1-510-4413 model with windows 8.1. 64 bit OS

    When the power cord is connected to the laptop, it works like a charm...

    But when I unplug the power cord, I find that the wifi connection will constantly lose connection to ANY wifi modem that it was connected to little matter if the wifi has been opened or WPA encrypted.

    Very frustrating to say the least when I need Traoré to the power cord on a just full battery charge so that I can have internet connectivity.

    I checked the acer web site and there is no wifi drivers updated so I am at a loss why this is happening.  It always happened ever since I boughtthe portable...

    I found the problem myself...

    Basically, drivers wifi which come pre-installed with windows 8 work very well... but I bought the laptop at the time of version 8.1, and I did the update to 8.0 to 8.1 windows according to needs on my first night to have the brand new laptop.  Tonight, I noticed that the version of the drivers I have for my wifi were slightly older than what is displayed on the download page of the Acer driver for my model.

    So, once I have uninstalled the drivers wifi existing, rebooted, then installed the new drivers and rebooted a second time, my wifi connection was solid...

    not sure why the existing drivers do not work correctly with 8.1, but fortunately the updated drivers are on the Acer download page.

Maybe you are looking for