Process Multiple Instances from workspace

Hi,
In our project we have a requirement, where at a particular actiity the user has only an option to choose yes or no and depending upon the option the next activity woudl be decided. We currently know that a screenflow can be implemented for that activity, using which the user can select the correct option. But for this he would have to open each instance and perform the operation. As there would be many items which need to be worked on at the same time, the users would like to perform the operation directly from the workspace without opening the screenflow. Could we have an option of selecting multiple items from workspace and have an option to process them at the same time depending upon the choice(can be probably displayed along with abort, consult,etc under operations).
Thanks,
Sree.

Yes - there's a way that this can be done, but it's not out of the box.
Sure there are other ways that would work just as well, but at a high level - here's an outline of one approach to updating a variable in a list of work item instances that are in a particular activity from one screen:
1. Add a new BPM Object that has attributes to store the desired new value and a group with an attribute to store a checkbox (Boolean), another attribute to store the instance id (string), another attribute to store the present value
2. Create a method in the BPM Object to search for the list of all the instances in the particular activity, get their instance id and the current value of the instance variable. There is a pretty common technique called a filter that can be used inside logic to accomplish this. You'd base your filter on work item instances inside a specific process that are currently sitting in a particular activity in that process. You would use the list of work item instances returned to populate the group you created in the first step.
3. Create a presentation in the BPM Object to display the list of instances in the activity. Display all the items in the group with the selection box in the first column to let the end user select the one or more instances to be updated with the new value.
4. Add a method to be invoked in the BPM Object once the Submit button on your presentation has been clicked. This method would go through your group and see which items in the list have been selected (the Boolean attribute) and then update each of these variables for each of the work item instances (these would be identified by the instance id also in the group's row for the item selected).
5. Add a Global activity that will use the BPM Object's presentation to display the list of work item instances to the end user to prompt them to perform the mass variable update.
Hope this helps get you started,
Dan

Similar Messages

  • Submitting multiple instance from 1 screen

    Hi,
    Is there a possibility of submitting multiple instances from a single submit from a screen(jsp/presentation).
    I know each instance is visible in the Inbox seperately. But is there any way, that we can display all the instances values in a tabular format and then have a check box to select the instances that we need to submit. We will also have some text box for each row allowing user to update/change some value for an instance?
    I know this looks like a complicated requirement, but I guess this might be possible. I am thinking of creating an array of instances and then iterate through that array in the custom JSP to display the values in tabular format.
    Any other suggestion would be helpful.
    Regards
    Right Chord
    Edited by rightchord at 08/03/2007 7:12 AM

    Sorry - probably just me, but not sure I follow you.
    I think this thread concerns hitting multiple instances that already exist in a process.
    I could be wrong - frequently am, but I usually think of a Split-N in the context of:
    1) when you have a batch of things already in the instance and you want to split into their individual items (e.g. order -> individual order lines) and then rejoin them back into the original context (the order in this example)
    2) when you want to dynamically create a committe (created inside the Split-N) of several people that you want to approve (inside an interactive activity assigned to specific participants) and determine how the committee voted (in the Join)
    3) when you have a request for quote (e.g. send RFQ's to multiple "suppliers" and then vote for the low cost supplier).
    Dan

  • Running multiple instances from same oracle home

    Hi Gurus,
    I am preparing for OCA 11g examination. I had a question about running multiple instances from same oracle home. While reading the book I came across a statement about database control which says "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".
    Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).
    I am not able to understand how exactly can you have multiple database instances in a single oracle home. I have installed Oracle 11g on my computer whose oracle home is +"D:\oracle\product\10.2.0\db_1"+; now this directory houses all the binaries (executables and folders like admin,bin, etc) for the oracle instance that I have installed (the instance name is ocp1). Now if I am to install or create another Oracle Instance (say ocp2) in the same home, wont there be a conflict of binaries of the two instances in the same home ?
    Basically,it makes sense if db_1 folder is further split into multiple folders, one for each instance (for example, one for ocp1 & one for ocp2); each of these folders will then contain the binary files, libraries,etc for its own instance; but, this is not the case, here db_1 houses all the binaries directly under it ...
    The other question which stems from the statement I mentioned above is that if having multiple instances running from same oracle home accessing the same physical database, can this arrangement be called RAC at all; or does RAC dictate that you cannot have multiple instances that are accessing the same database have to be installed on physically separate machines and so you cannot have two RAC instances (accessing same physical database) installed on the same computer ??
    I hope my questions are not too much confusing ... !!
    Cheers,
    Sudripta

    Hello,
    "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".This is true, and also means each instance will have its separate database (i.e. dbf files etc.) & separate DB Control. Usually in this case you create several instances on the same node.
    Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).You are correct about RAC where several instances (usually running on separate nodes) access the RAC.
    More info:
    1 Oracle Home - 1 Database - 1 SID is possible.
    1 Oracle Home - Many Databases - Many SID is possible.
    1 Oracle HOme - 1 Database - Multiple SID is possible and this is called RAC.

  • Patching multiple instances from single unzipped patch

    Hi,
    I would like to know if it is possible to patch two Oracle Apps instances on two different machines from common shared patch location.
    For eg: two instances -ABC on S1 and XYZ on S2 are to be patched. The patch is unzipped in a common,shared location - /stage/<patch_no.>
    Can I apply the same patch in the common location /stage , to both ABC and XYZ AT THE SAME TIME?
    Thanks,
    Sandeep

    You can patch from a common NFS mountpoint. If you have different applications users, ensure they are all in the same group, and the staged mountpoint has group write permissions.
    This works best on Linux. On Solaris, almost 100% of the time when the patch is more than 1 GB in total size, NFS hangs on the checking file versioning stage of the copy portion. The only way to clear the hung NFS is to reboot the server that is being patched, then restart adpatch. So on Solaris, I normally copy to local filesystem whenever the patch exceeds 1 GB.

  • Possible to process multiple files from one folder?

    Hi All,
    I have a scenario where four files with different structures will generarted at a folder and these four files need to pick up and process them to find dublicates and merge them... Is it possible? How BODS will identify these four files as they have different strucutres?? Please suggest.
    Thanks
    RAJEEV

    Hi Rajeev,
    Only if the structures are the same then you can use wildcards in the filename.  Do your files have a header record ? If yes, then it's a really quick and easy job to create four file formats since BODS will generate most of the field names and datatypes using the header récord and sample data, once it locates the file and you specify to skip the header record.
    If you really wanted to have only one file format then you would need to define it with a single very long varchar field and then do the parsing of the single long string manually in a Query for each file, using the filename to identify which file structure it is.  Way more work and not an elegant solution.

  • Process Multiple Files in PSE7 - o/p files to Organizer?

    I'm using PSE7.
    When I run 'Process Multiple Files' from the File menu in Editor I
    can create a new set of jpegs. For example, I can run them through
    the Quick Fix processes. If I create new files as output rather than
    overwriting the originals, is there a way that I can get those new files
    back into Organizer automatically?
    And the follow up questions would be
    1) Do the original tags all get retained in the new files?
    2) Can the new files be part of a version set with the originals?
    Thanks for any thoughts!

    Thanks!
    From what I can tell Process Multiple Files allows input from three places:
    1. A folder. 2. Import (like a scanner?) 3. Open files.
    So it might be nice if it had a 4th option that would allow files to come out
    of Organizer via tags, albums, etc. And if that option was chosen then it
    would be nice to save the tags, and create version sets optionally.
    But my guess is that from a product design perspective the thinking is
    that most people would rather work in Organizer and then perform
    actions on a logical set of photos from there. Certainly, that would be my
    preference.
    What I'd like to do is do be in Organizer, select my images via tag(s),
    run QuickFix on them, (all of that I can do), then reduce the file size,
    and save the finished product as a version set. Then only thing I can't do
    in PSE7 is reduce the file size. Of if there is I don't know how to do
    it automatically.
    Well, thanks for the help!

  • Since upgrading my mid-2010 MacBook Pro from the original Snow Leopard to Yosemite 10.10.2 there have been multiple instances of restart (crash) also slow operation. Any suggestions?

    Since upgrading my mid-2010 MacBook Pro from the original Snow Leopard to Yosemite 10.10.2 there have been multiple instances of restart (crash) also slow operation & pop up message stating web content has failed. Any suggestions?

    Many thanks for your interest, I've downloaded & run the app as suggested, report copies & pasted below.
    Problem description:
    Following upgrade from Snow Leopard to Yosemite 10.10.2 machine is slower & suffers from shut down / reboot and closing web pages due to unexpected error
    EtreCheck version: 2.1.8 (121)
    Report generated 6 February 2015 08:40:29 GMT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2010) (Technical Specifications)
        MacBook Pro - model: MacBookPro6,2
        1 2.4 GHz Intel Core i5 CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 75
    Video Information: ℹ️
        Intel HD Graphics - VRAM: 288 MB
            Color LCD 1440 x 900
        NVIDIA GeForce GT 330M - VRAM: 256 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:13:14
    Disk Information: ℹ️
        Hitachi HTS545032B9SA02 disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 318.84 GB (134.68 GB free)
                Core Storage: disk0s2 319.21 GB Online
        MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
        BUFFALO HD-PVU2 500.11 GB
            EFI (disk2s1) <not mounted> : 210 MB
            Time Machine Backups (disk2s2) /Volumes/Time Machine Backups : 499.76 GB (257.33 GB free)
        Apple Internal Memory Card Reader
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
        Apple Inc. Built-in iSight
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    jp.co.buffalo.driver.turbousbhdd (1.0.0) [Click for support]
    Launch Agents: ℹ️
        [loaded]    com.hp.help.tocgenerator.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
    User Login Items: ℹ️
        Skype    UNKNOWN  (missing value)
        Safari    Application  (/Applications/Safari.app)
        Dropbox    Application  (/Applications/Dropbox.app)
        Android File Transfer Agent    Application  (/Users/[redacted]/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
        ConnectService    Application  (/Library/Application Support/ArcSoft/Connect Service/ConnectService.app)
    Internet Plug-ins: ℹ️
        Flip4Mac WMV Plugin: Version: 2.4.4.2 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Google Earth Web Plug-in: Version: 7.1 [Click for support]
        Silverlight: Version: 4.0.60129.0 [Click for support]
        iPhotoPhotocast: Version: 7.0
    User internet Plug-ins: ℹ️
        CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 [Click for support]
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 318.84 GB Disk used: 184.16 GB
        Destinations:
            Time Machine Backups [Local]
            Total size: 499.76 GB
            Total number of backups: 184
            Oldest backup: 2010-12-10 15:37:39 +0000
            Last backup: 2015-02-06 02:49:24 +0000
            Size of backup disk: Too small
                Backup size 499.76 GB < (Disk used 184.16 GB X 3)
    Top Processes by CPU: ℹ️
             5%    WindowServer
             1%    ConnectService
             1%    Skype
             0%    systemstatsd
             0%    launchd
    Top Processes by Memory: ℹ️
        193 MB    Skype
        168 MB    mds_stores
        132 MB    com.apple.WebKit.WebContent
        107 MB    Mail
        99 MB    ocspd
    Virtual Memory Information: ℹ️
        889 MB    Free RAM
        1.99 GB    Active RAM
        455 MB    Inactive RAM
        825 MB    Wired RAM
        1.11 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 6, 2015, 08:27:32 AM    /Library/Logs/DiagnosticReports/com.apple.AmbientDisplayAgent_2015-02-06-082732 _[redacted].crash
        Feb 6, 2015, 08:25:19 AM    Self test - passed
        Feb 5, 2015, 04:37:08 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-05-163708_[redacted].crash
        Feb 5, 2015, 10:01:02 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-05-100102_[redacted].crash
        Feb 5, 2015, 12:03:59 AM    /Library/Logs/DiagnosticReports/HP Scan_2015-02-05-000359_[redacted].cpu_resource.diag [Click for details]
        Feb 4, 2015, 11:58:58 PM    /Library/Logs/DiagnosticReports/HP Scan_2015-02-04-235858_[redacted].cpu_resource.diag [Click for details]
        Feb 4, 2015, 11:54:35 PM    /Library/Logs/DiagnosticReports/HP Scan_2015-02-04-235435_[redacted].cpu_resource.diag [Click for details]
        Feb 4, 2015, 11:49:03 PM    /Library/Logs/DiagnosticReports/HP Scan_2015-02-04-234903_[redacted].cpu_resource.diag [Click for details]
        Feb 4, 2015, 09:40:16 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-214016_[redacted].crash
        Feb 4, 2015, 09:38:12 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-213812_[redacted].crash
        Feb 4, 2015, 09:27:56 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-212756_[redacted].crash
        Feb 4, 2015, 09:25:25 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-212525_[redacted].crash
        Feb 4, 2015, 09:20:16 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-212016_[redacted].crash
        Feb 4, 2015, 09:18:10 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-211810_[redacted].crash
        Feb 4, 2015, 09:12:54 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-211254_[redacted].crash
        Feb 4, 2015, 08:40:48 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-204048_[redacted].crash
        Feb 4, 2015, 08:22:04 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-202204_[redacted].crash
        Feb 4, 2015, 12:11:35 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-04-001135_[redacted].crash
        Feb 3, 2015, 09:44:33 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-03-214433_[redacted].crash
        Feb 3, 2015, 05:40:21 PM    /Library/Logs/DiagnosticReports/HP Scan_2015-02-03-174021_[redacted].cpu_resource.diag [Click for details]
        Feb 3, 2015, 09:05:45 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_20 15-02-03-090545_[redacted].crash
        Jan 28, 2015, 06:10:42 PM    /Library/Logs/DiagnosticReports/Kernel_2015-01-28-181042_[redacted].panic [Click for details]
        Jan 21, 2015, 10:51:25 PM    /Library/Logs/DiagnosticReports/Kernel_2015-01-21-225125_[redacted].panic [Click for details]
        Jan 20, 2015, 11:12:47 AM    /Library/Logs/DiagnosticReports/Kernel_2015-01-20-111247_[redacted].panic [Click for details]
        Jan 18, 2015, 09:57:31 AM    /Library/Logs/DiagnosticReports/Kernel_2015-01-18-095731_[redacted].panic [Click for details]
    The only observations are that the backup drive is deemed too small and the quite long list of diagnostic reports dated between  Jan 18, 2015 (which I believe is the day I upgraded to Yosemite) & today the latest Yosemite update was installed on Jan 28, 2015
    Any further assistance will be appreciated

  • Log messages from multiple instances in single file.

    Hi!
    I have a requirement that i need to log messages from muliple instances of the same object in a file. The new file will be created every day. Likewise, multiple objects might have various instances each.
    One class
    ->multiple instances
    -> log message stored in single file.
    Note :
    I am using the Message driven bean. I need to log from the bean class. JDK 1.3
    If u could help me out that would be great.

    As long as they are all from the same OS program (a single Java VM), that's OK - you can use Log4j, and use a rotating file logger.
    If you point two different virtual machine processes at the same file, one may have it open when the other is trying to rotate it, and your rotation may fail (at best) and/or you may lose the old log (the worst case).
    If you need to collect log messages from multiple processes (or even multiple machines), use a syslog-based logger (Log4j has a SyslogAppender) or use Log4j's SocketAppender to write to a log4j-builtin log listener (SocketNode).

  • Initiating BPM Process Instances from External Web Service Call

    I'm attempting to update the HelloWorld example so that I can create an instance of the process from an External Web Services Call rather than via the Workspace. Our current SOA Architecture is configured so that all BPM instances are managed through a .NET SmartClient via the Service Bus and the use of PAPI W/S and so I'm wishing to recreate this capability in the new BPM.
    I understand the replacement for PAPI W/S is Human Workflow so I've therefore updated and republished the HelloWorld Example with an Exposed 'TaskService' Service for the Human Task within the BPM Process.
    I've then attempted to reference the TaskService through our existing BPM, and have been able to import a number of generic WSDL's as follows:
    Task Service
    http://vmaquatestapp2:7001/integration/services/TaskService/TaskServicePort?WSDL
    Task Metadata Service
    http://vmaquatestapp2:7001/integration/services/TaskMetadataService/TaskMetadataServicePort?WSDL
    Task Query Service
    http://vmaquatestapp2:7001/integration/services/TaskQueryService/TaskQueryService?WSDL
    When I examine the available operations for these generic services, there are quite a lot, each of which have a fairly complex schema. I believe I should be using the TaskService: InitiateTask Operation to create an instance of my BPM Process but my questions are:
    - Is the above the correct method of interacting with BPM Instances from an external system such as the Service Bus?
    - Does anyone have any examples of a basic XML payload that would initiate a process instance?

    I created an process with a message start event and can call it from an external web service call. I can also pass input arguments and map those to process data objects. However I can not find how to return data as response to the external web service call as e.g. the process instance id.
    Is it possible to this?
    Gr,
    Gert Jan Kersten

  • How to Purge ONLY multiple STALE instances from the Instances Tab in a sing

    Hi BPEL Gurus,
    In BPEL Process Manager (Instances Tab), I am able to see all the
    instances (Active, Completed, Faulted, Aborted and Stale).
    We are using Oracle's SOA Suite 10.1.3.1
    The Instances Tab also gives me an option to filter out different
    state of instances, with this kind of filtering,
    I am able to view either Active instances or only Stale instances.
    But my primary concern is after doing this filtering,
    If I want to delete all the 100 Stale instances in a single command,
    How do I achieve this ?
    I am able to delete only single instance at a time, which is really
    a time-consuming activity.
    Is there some kind of SQL Script (Delete statement), which does
    the above activity to delete 100 Stale instances in one go.
    If there is any SQL Script, please do provide me with the same,
    since this is a critical production issue for us.
    Also on which Oracle schema, do I need to execute the above SQL Script.
    All BPEL Geeks, please do help me.
    Thanks & Regards,
    Gopal D. Kalsekar
    Senior Software Developer
    Business Solutions (eGroup)
    M.H. Alshaya Company W.L.L.
    www.alshaya.com
    P :- (965) 224 3598
    F :- (965) 224 2488
    E :- [email protected]

    Hi Riko,
         Marc Kelderman has done an excellent job by writing
         purge_bpel_dehydration Stored Procedure.
         But after having a look at ORABPEL schema,
         no records are visible in any of the tables.
         (Is there any way to unhide these records in TOAD 6.3.2 ?)
         Also the script mentions about CUBE_INSTANCE table.
         In this table, there is a STATE column.
         What number do I need to specify in the WHERE clause
         of my SELECT query for this STATE column, so that I can
         only retrieve and delete STALE instances.
         Also as we are using SOA Suite 10.1.3.1, there is no
         such table by the name of WFTASK.
         I can see only 2 tables PC_TASK and TASK in ORABPEL schema.
         From which table, do I need to delete.
         Please confirm.
    Thanks & Regards,
    Gopal D. Kalsekar

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

    On the site oldnavyweekly.com there is a .swf that prevents users from opening multiple instances of the site at the same time on the same computer. If you open the site, and try to open it a second time in another window, it won't load. You can't open the site again until the first window is closed. How did they implement this?
    From my analysis it is NOT:
    1. Cookies - The block still takes place if you try opening it in IE and also try opening it in Firefox simultaneously.
    2. Flash Cookies - The block still 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 outbound IP address. From my analysis, their server does not assist in the block at all.
    It seems as if their .swf is creating some kind of global system-wide object that can be detected in other instances of the application on the same machine. How did they implement this?
    Thanks!

    you're welcome.
    actually, unless you take an extra step, the first opened swf will close.  if you want the 2nd to close, the initial receiving lc will send a message to sender that causes the sender to close.

  • How to reference multiple instances of the same Java object from PL/SQL?

    Dear all,
    I'm experimenting with calling Java from PL/SQL.
    My simple attempts work, which is calling public static [java] methods through PL/SQL wrappers from SQL (and PL/SQL). (See my example code below).
    However it is the limitation of the public static methods that puzzels me.
    I would like to do the following:
    - from PL/SQL (in essence it needs to become a forms app) create one or more objects in the java realm
    - from PL/SQL alter properties of a java object
    - from PL/SQL call methods on a java object
    However I fail to see how I can create multiple instances of an object and reference one particular object in the java realm through public static methods.
    My current solution is the singleton pattern: of said java object I have only 1 copy, so I do not need to know a reference to it.
    I can just assume that there will only ever be 1 of said object.
    But I should be able to make more then 1 instance of an object.
    To make it more specific:
    - suppose I have the object car in the java realm
    - from PL/SQL I want to create a car in the java realm
    - from PL/SQL I need to give it license plates
    - I need to start the engine of a scpecific car
    However if I want more then 1 car then I need to be able to refrence them. How is this done?
    Somehow I need to be able to execute the following in PL/SQL:
    DECLARE
    vMyCar_Porsche CAR;
    vMyCar_Fiat CAR;
    BEGIN
    vMyCar_Porsche = new CAR();
    vMyCar_Fiat = new CAR();
    vMyCar_Porsche.setLicensePlates('FAST');
    vMyCar_Porsche.startEngine();
    vMyCar_Fiat.killEngine();
    END;
    Thanks in advance.
    Best Regards,
    Ruben
    My current example code is the following:
    JAVA:
    ===
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED CODAROUL."RMG/BO/RMG_OBJECT" as package RMG.BO;
    public class RMG_OBJECT {
    private static RMG_OBJECT instance = new RMGOBJECT();
    private String rmgObjectNaam;
    private RMG_OBJECT(){
    this.rmgObjectNaam = "NonDetermined";
    public static String GET_RMGOBJECT_NAAM () {
    String toestand = null;
    if (_instance == null) {toestand = "DOES NOT EXIST";} else { toestand = "EXISTS";};
    System.out.println("instance : " + toestand);
    System.out.println("object name is : " + _instance.rmgObjectNaam);
    return _instance.rmgObjectNaam;
    public static Integer SET_RMGOBJECT_NAAM (String IN)
    try
    _instance.rmgObjectNaam = IN;
    return 1;
    catch (Exception e)//catch
    System.out.println("Other Exception: " + e.toString());
    e.printStackTrace();
    return 5;
    } //catch
    PL/SQL Wrapper:
    ==========
    CREATE OR REPLACE FUNCTION CODAROUL.SET_RMGOBJECT_NAAM(NAAM IN VARCHAR2) return NUMBER AS
    LANGUAGE JAVA NAME 'RMG.BO.RMG_OBJECT.SET_RMGOBJECT_NAAM (java.lang.String) return java.lang.Integer';
    Calling from SQL:
    ==========
    CALL dbms_java.set_output(2000);
    select CODAROUL.GET_RMGOBJECT_NAAM() from dual;
    Edited by: RubenS_BE on Apr 6, 2012 5:35 AM
    Edited by: 925945 on Apr 6, 2012 5:41 AM

    You can do this by manually creating a new iterator binding in your binding tab.
    So instead of dragging the VO directly to the page, go to the binding tab, add a new executable iterator binding, and point to that one from your ELs in the page itself.

  • How do I process multiple files and turn them from raw to jpeg

    How do I process multiple files and turn them from raw to jpeg. Ive tried and it seems to go through the files but doesnt seem to process them or store them in the selected folder

    Yes that was the first thing I did. Then I used the process multiple files and selected a new folder to put them in and selected use open files and selected to turn them into jpeg. The images flash on the screen like they are being processed, but the folder never appears in library. Is it possible because there are a couple 16 bit files open that this corrupts the task. Do I need to create the folder first. Will elements not create the folder on its own.
    Thanks Vince

  • Invoking existing instance from a process without correlation

    Hi,
    I want to find out if I can do this.
    Suppose that instance A was created by others. Instance B of different process wants to invoke instance A. But they do not have a correlation.
    This is a part of problem that we want to solve to fix issues in deployed process. Instance A is waiting for user response and we have been invoking this instance A from Java code.
    But we want to have a intermediate bpel process B to call instance A. Java code is going to call process B. Because process A is deployed without correlation and active in production, we cannot use correlation to find instance.
    I may be able to use programmatic approach using InstanceHandle. But I want to find a way to invoke this in bpel.
    Can you give me some hint?
    Thanks,
    Imju

    If my method is now defined as so;
    public <T extends GenericDaoImpl> T getDao( Class<T> daoClazz )
    return daoClazz.newInstance();
    The IDE flags up an error "This method must return a result of type T"
    So I think I'm missing something. I have defined an abstract generic DAO helper class to be extended by child DAOs;
    public abstract class GenericDaoImpl<T, PK extends Serializable>
    CRUD methods
    findBy(...) methods
    where T is the class type & PK the primary key.
    So presumably my getDao(...) method should be defined as;
    public <T extends GenericDaoImpl<T, PK>> T getDao( Class<T> daoClazz )
    return daoClazz.newInstance();
    But it then cannot resolve PK to a type. I think I'm either trying to impose a type on the signature when
    it should (obviously?) be generic, or presuming that it will evaluate my generic type which I have somehow
    not exposed to the method / signature.
    Am I missing something subtle or just being stupid.

  • Running multiple instances of program in parllel processing.

    Hi Experts...
    We have an issue where we need to update huge set of data (say more than 2000000), update is simple where some BI table needs to be updated for few fields.
    Now issue is that if at one go this update is done then there is memory issue, system is not able to extend the internal table beyond a permitted memory.
    For this there may be some chanes which could be done in report RSMEMORY but business does not want this way.
    I want to know what does "running multiple instances of a program in parllel processing, one job does not have to update the whole table".
    Program is ready but simply running program without any input on the selection screen is picking all data and ending up in a short dump since there is huge data in the BI table.
    What is the best possible way to update table through program where there is an issue of Huge data.
    Do we have any expert comments on this ?
    Thanks & Regards,
    Mark

    Hope this gives some direction !
    Bundling using Function Modules for Updates
    If you call a function module using the statement CALL FUNCTION ... IN UPDATE TASK, the function module is flagged for execution using a special update work process. This means that you can write the Open SQL statements for the database changes in the function module instead of in your program, and call the function module at the point in the program where you would otherwise have included the statements. When you call a function module using the IN UPDATE TASKaddition, it and its interface parameters are stored as a log entry in a special database table called VBLOG.
    http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm
    Rgds
    Sameer

Maybe you are looking for