Create a concatenated string of attributes on Multiple Instances of the entity

Hello world

I wonder if someone has met this challenge, or ideas. We have been asked if OPA could produce a string containing the concatenation of the values of an attribute of text stored on multiple instances of an entity. The number of instances is variable, generally.

Example: Assume that the attribute is "DayOfWeek", and we have an entity called "Appointment", with the authorities:

appointment_1 (DayOfWeek = 'Monday')

appointment_2 (DayOfWeek = 'Thursday')

appointment_3 (DayOfWeek = 'Sunday')

... we need produce a string "AllAppointmentDays" = "on Monday, Thursday, Sunday.

We don't think that this is possible without either: (a) an external system to generate the resulting concatenated string of the output, or (b) modules with the command of the approach to read the white paper Oracle in Nov 2012 (approaches to limits, thresholds and preferences), combined with hard-coding and the constraints on the length of the string.


I was wondering if there was a better way to do it without external script or forced / hardcode.

Thank you

-Patrick

I don' t know that an external implementation would be easier, but it could be more effective if well written.  Internal or external, you must decide how you want to classify or ordering entities before concatenation.  The order must be absolute (i.e. without fasteners).  Policies to 'solve' the first entity out of string and the string output of the policy to concatenate a string to produce this entity = the entity 'before' + ', ' + attribute of the entity are fairly simple.

I guess the answer is: it is not necessarily a better way to do it in OPM and I don't think that there are constraints, or a more effective solution is necessary unless you already know you will work with a very large number of entities or very long strings.

Tags: Oracle Applications

Similar Questions

  • Impossible to find a solution to control the next dates on multiple instances of the entity.

    Hello

    I have a simple scenario. I have two instances of an entity that match two records of a component of bussiness in Siebel. I need to put a validation that the date of the end of an instance is the eve of the start date of the other.

    Using the functions Nextdate() etc. can be useful within the same instance, but the way to check on multiple instances?

    Any suggestion is welcome.

    If you want to exclude from the last instance, there are two options. You can set a Global attribute to the start date of the last session, for example

    the date of beginning of last session = InstanceMaximum (sessions, the start date of the session)

    ... then use this attribute as a filter in your other rules. If there are some things where you want to run the logic on the same subset of instances (e.g., the subset that excludes the last instance), then it might be useful to create an inferred relationship:

    1. in the properties file, create one-to-many relationship overall to the session. (Relationships that will be deducted must always be on many-to-many.)

    2. give the new relationship a unique and descriptive name for example 'the sessions (excluding the last session) '.

    3. write a membership rule to determine which instances of the entity are part of the new relationship, for example

    the session is a member of the sessions (excluding the last session), if

    start date of the session< the="" start="" date="" of="" the="" latest="">

    4. When you want to redo the subset of instances of logic, use the relationship 'the sessions (excluding the last session)' rather than 'the sessions', for example

    the end dates of the sessions are valid if

    ForAll (sessions (excluding the last session), the session end date is certain)

    Using the cross-entity argument version of my example above, the following rule could be set to TRUE:

    the end dates of the sessions are valid if

    ForAll (sessions (excluding the last session), the session end date is certain)

    Whereas this rule would have the value FALSE:

    the end dates of the sessions are valid if

    ForAll (sessions, the closing date of the session is certain)

    I hope that gives you enough to continue their career with your specific scenario!

    See you soon,.

    Jasmine

  • How to avoid creating multiple instances of the application?

    Hello

    We have a user interface Application. The application has been set to Auto run at startup and as a Module system.

    The application has a file listener that checks all new emails.

    When we start the application from the user interface by clicking on the application icon, it seems that the multiple instance of the application is created. For this reason when send us an email to request it is receiving emails several times. Sometimes simple, double and sometimes even five times.

    public class MyApplication  extends UiApplication implements FolderListener,
            SystemListener, GlobalEventListener {
    
        // Boot
        public static void main(String[] args) {
            if (args != null && args.length > 0 && args[0].equals("gui")) {
                // code to initialize the app
                fromService = false;
                // register the notification
                Notification n = new Notification();
                n.registerNotificationObjects();
    
                Utilities.writeLog(GUID, "MyApplication GUI Starting up");
                MyApplication service = new MyApplication();
                service.enterEventDispatcher();
            } else {
                Utilities.writeLog(GUID, "OnBoardV2 Service Starting up");
                MyApplication service = new MyApplication();
                service.enterEventDispatcher();
            }
        }
    
        public void messagesAdded(FolderEvent e) {
            /// Receive messages
            }   
    
    }
    

    In this regard, any help will be apreciated!

    Thank you

    I don't know if it's your entire code, but if you register your application as a file time listener never, it is called, then you save several headphones. The listener does not cause deleted your app closes, you must explicitly remove the listener. You must either put the listener in its own class and only sign up to start or find a way to check if the listener is already registered whenever the application is called.

  • Can I install multiple instances of the Adobe PDF printer driver?

    Our application allows printing to be directed to different folders depending on the document to print.  However, the Adobe printer driver printing preferences requires that the file to a specific location, then keep all the documents in a folder.  Is it possible to have multiple instances of the printer, for example Adobe PDF 1, Adobe PDF 2 driver with output folder set to a different location for each driver, or y at - it an easier way to specify output files?

    Thank you

    (Instructions for XP Pro and Acrobat 8.0)

    Open the Printers folder and click Add a printer.

    Click Next on the Welcome screen

    Select "Local printer attached to this computer", uncheck automatically detect and install my Plug and Play printer, click Next

    Click on create a new port, select "Adobe PDF Port" in the list, click Next

    Select the folder that you want the PDF file stored in, click OK

    The printer software install screen click on disk

    Click the Browse button, then go to "Program Adobe 8.0\Acrobat\xtras\AdobePDF" (may be different for your configuration)

    Select the AdobePDF.inf (English version), and then click OK

    Select the Adobe's PDF Converter (there may be several in the list, I always choose the top) and click Next

    If the dialog use pilot existing if poster click on "Keep the existing driver" click Next

    Name of the printer or Adobe PDF 1, click Next

    Set options for sharing, printing a page of test if you want and finish.

    Now, when you print to this printer from an application, it will create the PDF file in the specified folder

    You can repeat this process for a number of outputs.

    Hope this helps

  • How to prevent a user from opening multiple instances on the same computer?

    On site oldnavyweekly.com , there is a .swf which prevents users to open multiple instances of the site at the same time on the same computer. If you open the site and try to open it again in another window, it will not load. Cannot open the site again until the first window is closed. How did they implement this?

    My analysis, that is NOT:
    1. cookies - the block always takes place if you try to open it in Internet Explorer and also try to open it in Firefox at the same time.
    2 flash Cookies - the block always takes place if I disable flash cookies.
    3 IP Based Block - you are not blocked if you open the site on two separate computers with the same outgoing IP address. From my analysis, their server does not help in the block at all.

    It seems as if their .swf creates a sort of object throughout the global system which can be detected in other instances of the application on the same computer. How did they implement this?

    Thank you!

    use localconnection.  everyone has a localconnection to send and a receiving localconnection.  the lc reception closes the current application.

  • Firefox does not work for multiple instances of the SAME user account on Windows Multipoint Server 2011

    We have a PC HP of MulitSeat MS6200
    It runs Microsoft Windows MultiPoint Server 2011 (which seems to be a twisted version of Windows 7)
    It is implemented in a laboratory of computer science and students connect you using their account for shared room - IE multiple instances of the same user accounts are currently running on the PC at the same time.
    The first student to run Firefox can work with it without a problem.
    However, when another student try to start firefox they get the following message:
    Firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    Cannot start Firefox using a profile that is already used by someone else.
    Each Firefox instance needs its own profile or you will get this error message.

    Use-no.-line switch remote control to open another instance of Firefox with its own profile and to different instances of Firefox running concurrently.

  • Multiple Instances of the Application to access the same DAQ hardware

    I have a relatively simple application that reads from a device of data acquisition (OR-9205 connected to NI WLS-9163) wireless.  I would like to run multiple instances of the executable, but I get the error-201105 (resource reserved) as soon as the DAQmx task starts on the second instance.  Each instance tries to acquire different channels of the same DAQ hardware.  Is this a problem with the data acquisition device, or DAQmx in general?  Thank you.

    -Joe

    Hey Joe,

    Unfortunately, you can only one type of access channel with each program.  For example, you might HAVE a program access and another use AO, but you can't have two programs different AI the same access card.  It is common among all of the DAQ hardware to NEITHER.

  • Using a single server for Multiple Instances of the APEX HTTP

    Our company DBA asked if it would be possible to outsource the server part of HTTP of APEX from DB servers. In other words, it would be highly preferable as DB servers * only * start the Oracle database software.

    We know that we can install the HTTP server on another box, but in thinking how to that, we were wondering if it's really necessary to create a separate HTTP Server installation for each instance of the APEX. What we would really like to do, is have a HTTP server for all our our boxes of Dev and several (but not one) for each of our superior environments; implementation stage, qa, prod, etc..

    Right now, each instance has a file single dads.conf on every box of DB. So, if we we to try to consolidate, we need some way to incorporate several dads files and associate each correct instance.

    Someone has already done this or (preferably) to have some examples?

    Thank you

    -Joe

    The second page on the link provided José begins immediately with the "Configuration of several databases".

    Yes, you can consolidate permanently. It is a common practice that was also available with Apache/mod_plsql, OSH and now with APEX earphone 2.

    Thank you

    Jorge

  • Use of multiple instances of the same browser...

    Hi people,

    I have a question...
    I inherited a large APEX application, it uses Oracle SSO to log.

    We are migrating the application to a new set of servers and run regression tests.
    Testers are connecting using IE6 and multiple instances of the application both on the oldTest newTest servers and opening.

    If at some point, you can:
    an application Admin user (username ADMINTEST123)  logged into the application on oldTest
    an application Admin user (username ADMINTEST123)  logged into the application on newTest
    
    an application standard user (username TEST123)  logged into the application on oldTest
    an application standard user (username TEST123)  logged into the application on newTest
    Is this supported?

    Could someone tell me or direct me to the documentation or the thread that lists which is supported / unsupported for use of browser with APEX and SSO?

    Thanks in advance,
    Gus...

    So this can I conclude that what you say and the above results we could get questions if connection users and open new windows in this sense?

    Yes, if users connect or not, if requests for pages using the same session of apex are issued different browser instances, the results may be undesirable.

    Scott

  • Change the attributes to multiple objects in the overview

    Hello!

    I'm sure that the answer to that is pretty simple, but I can't get the effect so I post here on this subject.

    I want to configure an object (such as a logo) where, when you go over it, change attributes for multiple objects.

    For example, if I have a white box, with three different lines of text inside it, when you hover, I want the box to become black, one of which becomes green to become blue text and a line turn red.

    But when I put this up, the text color changes when I hover over each line of text (they are in different text boxes) not when I fly over the area as they are.

    the only way I found to do this is by using the status button widget, but I don't want to have to use to do anything where multiple objects must change state.

    Thanks in advance

    -Connor

    Hey Connor,

    You can use a widget of composition to achieve this effect.

    Keep the trigger and transparent target filling and place of relaxation on the top of your Logo.

    Now you can put the modified content (as you want on turnover) in the target container and place it exactly on top of your original content.

    Please refer to the video (see the widget part) who could help: Adobe Muse: Customize Widgets - YouTube

    Let us know if it helped or not.

    Kind regards

    Akshay

  • How to avoid multiple instances of the application

    Hello

    I would like to know how I can to avoid multiple instances of my request, my application have an option to "invoke later" which will awaken the application after xx minutes but where the user clicks on the icon of the application, for example, a few seconds before he must wake up he will see 2 instances open my application.

    Currently, the work around I did is check at every opening, if there is already an open instance and if so to 'kill' later, but I would like to know if there is a more elegant way to do it.

    THX.

    You create a new ApplicationDescriptor - you say the BlackBerry OS that it is a new Application.

    If you use this method, and then the user clicks on the new icon, they will get also running two instances.  Here is a code that restarts the application 'running', that I think that it what you want.

    ApplicationDescriptor current = ApplicationDescriptor.currentApplicationDescriptor ();
    ApplicationManager.getApplicationManager (.scheduleApplication) (current, System.currentTimeMillis (+ 2001), true);
    System.Exit (0);

  • Create an Instance of the entity that is conditional on a screen

    We must stop to create instances of entity or to disable the creation of entity instances if the answer to a question from attribute on the same screen is = 1.

    For example

    If the answer to the question on a screen as - passport how much you care-> 1

    THEN

    Disable creation of more instances of entity on the screen

    Is there a way we can achieve this?

    I think that this can be achieved by modifying VM preference patterns - EntityInstanceCollectGroup.vm etc. where we can check the value of the attribute and therefore hide the entity instance collect buttons.

    But the problem is that it must be implemented on the same screen before submitting it.

    How can we achieve two things?

    Is it possible?

    It should be possible kertis, but you will need to write java script, the basic approach that I would take would be something like:

    -Listen to change that control the number of passports - hide or show the entity collect control as desired.

    -Save with an error event in the rules to ensure consistency.

  • Unique VO shared by multiple instances of the same taskflow

    Hello Experts,

    Need your expert opinion to this problem. I have a VO that is used to display the details of the master-child table on page jsff (say it as a Page of country-state).

    The user comes to the jsff by taskflow launch page, passing a search results table (say it as countries search result). I have provided hypertext links in the table of countries so the user can click on the name of country and go to the country-state page.

    Occurs when the user clicks on the links from different countries and thus to open several pages of country-state jsff. In this case, all the pages pointing to the same country-state record.

    Example; Search country table has three rows - India, China, Japan. User clicked on the India, China and Japan of the Web links provided in the table. He opened 3 pages of the table of State of the country. But all these pages show details of the Japan as he was finally activated.

    I'm new to ADF and it's the first assignment . I learned and put in place through blogs on the internet but stuck here now.

    Appreciate any help.

    PS - I've seen a few articles mentioning to create multiple instances of VO, but my problem is that I don't know how many instances of create. Because it depends on how many times users click on hyperlink and launch taskflow.

    Kind regards

    Newbie

    This is not a property of the vo but the workflow. Please watch this http://www.youtube.com/watch?v=SHfilCAVzTs video that shows the concept.

    Timo

  • Multiple instances of the Microsoft bluetooth stack

    Hi all

    I'm having a problem in the use of two adapters Bluetooth Microsoft Bluetooth stack. Or the other adapter works fine until the other adapter is not connected. When other adapter is connected, it does not starts shown in Device Manager. Reason, displayed is that device can not start (error code 10).
    I think it's because of the connection of Audio service resource conflicts that might be solved if multiple instances of Microsoft Bluetooth Stack may be executed or some configuration settings. I'm fighting for a long time, but I still have not found any method of work.
    Bluetooth adapter: Atheros 3011.
    Error with the second device:
    Error message:

    Hi Suresh,

    A single active Bluetooth radio is supported both in Microsoft Bluetooth Stack. It should be possible to establish a connection to a few destinations at the same time using a radio. No battery on Windows supports more than one radio.

    To get help on this question, I suggest you to report your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro&filter=AllTypes&sort=lastpostdesc

    It will be useful.

  • Can VMware Player run multiple instances of the same VM?

    I looked around but could find an answer to this question. If it has already been answered, please feel free to point me to that answer. I am relatively new to VMware Player, so this may seem like a stupid question. Please bear with me.

    I've been running Linux in a virtual machine using VMware Player 5.0.2 on Win7 and I would like to start another instance of the same virtual machine, simultaneously. When I try to launch the image once again, VMware asks if I want to take possession of the virtual machine running, but does not give the opportunity to start another instance.

    Is it because it is not possible to run two instances of the same VM, or y at - it another way to get there?

    Welcome to the community,

    This can be done. If another instance would be allowed to use the same file system, the guest operating system would be very likely corrupt the file system. What is possible - at least with VMware Workstation - is to create clones related, where the Basic virtual disk is the same (open in read-only mode), but writes go to independent virtual disk files.

    André

Maybe you are looking for