Taskflow manages the action lifted from the region of the UI inside his activity from view?

Hello

I have a taskflow (messageTaskflow) contains only a perspective activity, which shows a text of message so only three buttons. I drop this taskflow as an area of the user interface in a jsff page and used as an activity to view in an another taskflow (shell MainArea taskflow user interface). I don't spot any rule of control flow in messageTaskflow. Instead, I configure flow control rule in MainArea taskflow. When I click on the button, I expect MainArea taskflow to manage navigation; However, this is not the case. It seems logical to have the taskflow container to manage any action navigation not managed its activities from view. Looking at the ControlFlowEngine code, it looks like ControlFlowEngine just trying to find the best rule of control flow in the course of the current page and does not check those of parents. If I set up the navigation rule in the face-config.XML, then it works.

My observation is correct? I did all this trouble? or any workaround?

Thank you
Feng

Hi Feng,

It's pretty sad that EL is not taken care of, however, nothing prevents you to use boost in demand strategy:

Let's say you have the following items in the region: activity1--> parentActionActivity (outcome)
And in the parent: viewActivity--> somethingOnOutcome (outcome)

Replace it with the following text

Activity1--> pushDynamicOutcomeInRequest--> parentActionActivity ("dynamicParentAction");
where pushDynamicOutcomeInRequest is methodCall activity calling requestScope.put (Object, Object) with the parameters ("dynamicParentOutcome", yourOutcome)

and in the parent:

viewActivity--> methodCallOnOutcome (outcome)--> multiple transition dependent dynamic results
where methodCallOnOutcome (outcome) is methodCall activity calling requestScope.get (Object) with the settings ("dynamicParentOutcome") and by using toString in its results. You can add as many rules as you wish, from this method call activity, one for each possible dynamic result that was pushed into the region.

Kind regards

~ Simon

Tags: Oracle

Similar Questions

  • How do you manage the quotes inside a string value?

    I use the

    infowindowoptions ranked in the google map api for flash and I want to have some html (link) within a string value. the html code has a pair of quotation marks within the string. How can I get the quotes inside the string without causing an error?

    Here are my actionscript

    import com.google.maps.LatLng;
    import com.google.maps.Map;
    import com.google.maps.MapEvent;
    import com.google.maps.MapType;
    import com.google.maps.InfoWindowOptions;

    var map: map = new Map();
    Map.Key = "ABQIAAAAN14ojD-qIiaujbXTJI-SnhQEt6AsiatPjWK1t6pg54rIwsH2LxSmsfrHffLAXxfpAdOU98D1MzDtVg";
    map.setSize (new Point (stage.stageWidth, stage.stageHeight));
    map.addEventListener (MapEvent.MAP_READY, onMapReady);
    this.addChild (map);

    function onMapReady(event:Event):void {}
    map.setCenter (new LatLng(36.863073,-76.028435), 14, MapType.HYBRID_MAP_TYPE);
    map.openInfoWindow (map.getCenter (), new InfoWindowOptions ({title: "associated with plastic surgery", content: "1037 first Colonial Road, Virginia Beach VA 23454 Get directions < a href ="http://maps.google.com/maps?hl=en & amp; rlz = 1T4GGLL_enUS308US308 & amp; um = 1 & amp; ie = UTF-8 & amp; c id = 0, 0, 10499807723319896793, & amp;})) FB = 1 & amp; AC = associates + in + plastic + surgery & amp; hnear = Virgin ia + Beach & amp; GL = us & amp; daddr = 1037 + 1 + Colonial + Road + Virginia + Beach + GOING + 23454 & amp; geocode = 7383190348801088740,36.863073-76.028435 & amp; EI = MeOGS9q2JoqXtgfys_ybDw & amp; her = X & amp; Oi = loc al_result & amp; CT = instructions - at & amp; resnum = 1 & amp; ved = 0CAwQngIwAA "" > here < /a>. '})); "
    }

    Thanks for the help

    You can also escape the quotes:

    var string: String = "my channel \' city\'; '"

  • How to manage the lines multiple region table OFA

    Hi gurus,

    I'm new to the development of new Pages of the OFA. Please help me how to manage multiple lines in the table region OAF.

    My requirement I'm not able to manage multiple lines in my area of Table.

    First row in my table area I am selected date_start and date_end when I select the end_date I need I need difference bet ween dates.

    My problem is I am able to manage the first Table line but I am not able to manage the table still ranks when I fire that time I first get the rank only.

    POS:

    14/08/12 07:59:40 1

    14/08/12 07:59:40 inside

    14/08/12 07:59:40 date difference is 86400000

    14/08/12 07:59:40 date difference is 1

    14/08/12 07:59:40 date is less than 365

    14/08/12 07:59:57 1

    14/08/12 07:59:57 inside

    14/08/12 07:59:57 date difference is 86400000

    14/08/12 07:59:57 date difference is 1

    14/08/12 07:59:57 date is less than 365

    14/08/12 08:00:13 1

    14/08/12-08:00:13 inside

    14/08/12 08:00:13 date difference is 86400000

    14/08/12 08:00:13 date difference is 1

    14/08/12 08:00:13 date is less than 365

    My custom logic:

    If (DutDetSEndDat".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
    DateDiff (pageContext, webBean);
    //Am = XxDutyTravelAMImpl
    //(XxDutyTravelAMImpl) pageContext.getApplicationModule (webBean);
    OAViewObject = oaviewobject1
    (OAViewObject) am.findViewObject ("XxDutyTravelDuDetEOVO1");

    System.out.println("1");
    If (oaviewobject1! = null) {}
    System.out.println ("Inside");
    oaviewobject1. Reset(); New line added
    oaviewobject1. Next(); new line added
    Line OARow = (OARow) oaviewobject1.getCurrentRow ();

    Date sDate = (Date) row.getAttribute ("DutdetStartDate");

    Date = eDate (Date) row.getAttribute ("DutdetEndDate");
    java.util.Date VChangeDateTime =
    new java.util.Date (sDate.timestampValue () .getTime ());

    If (sDate! = null & & eDate! = null) {}
    long m1 = sDate.timestampValue () .getTime ();
    long m2 = eDate.timestampValue () .getTime ();

    long diff = m2 - m1;
    System.out.println ("difference in date is" + diff);
    int diffDays = Math.round (diff / (24 * 60 * 60 * 1000));
    System.out.println ("difference in date is" + diffDays);
    If {(diffDays > 365)
    System.out.println ("Date is greater than 365");
    } else {}
    System.out.println ("Date is less than 365");
    }
    }
    }
    }

    Kind regards

    Srinivas

    Hi Srini,

    To get the event line descriptor that shot please use code below.

    If (DutDetSEndDat".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
    DateDiff (pageContext, webBean);
    Am = XxDutyTravelAMImpl
    (XxDutyTravelAMImpl) pageContext.getApplicationModule (webBean);

    String rowRef = pageContext.getParameter (OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    OARow line = (OARow) am.findRowByRef (rowRef);

    Date sDate = (Date) row.getAttribute ("DutdetStartDate");

    Date = eDate (Date) row.getAttribute ("DutdetEndDate");
    java.util.Date VChangeDateTime =
    new java.util.Date (sDate.timestampValue () .getTime ());

    If (sDate! = null & eDate! = null) {}
    long m1 = sDate.timestampValue () .getTime ();
    long m2 = eDate.timestampValue () .getTime ();

    long diff = m2 - m1;
    System.out.println ("difference in date is" + diff);
    int diffDays = Math.round (diff / (24 * 60 * 60 * 1000));
    System.out.println ("difference in date is" + diffDays);
    If {(diffDays > 365)
    System.out.println ("Date is greater than 365");
    } else {}
    System.out.println ("Date is less than 365");
    }
    }
           
    }

    Thank you

    Vlaminck

  • call run params in the taskflow with the results of the previous run

    I have a requirement to call the executeParams on the object from a point of view after the execution of the executeparams on another display object in a taskflow. I'm able to pass the variable to the view object binding 1 of taskflow input parameters. But variables bind to the view of the second depends on the results (current line, it returns only one row) execution of view 1st in the taskflow.

    How to bind to the 2nd display performance variables in the taskflow according to the results of enforcement of 1 view. The second point of view expects 2 parameters of the current line of the 1st viewiterator.

    Taskflow definition:

    ----------------------

    executeWithParams1stView-> executeParams2ndView-> .jsff


    The page definition for the second executewithParams with links, I configured. But the following returns no results of the 2nd iterator. But if I pass values hardcoded for the NDValue I get the correct results.


    < action IterBinding = "AgencyPoliciesIterator" id = "ExecuteWithParams" RequiresUpdateModel = "true" Action = "executeWithParams" >
    < NamedData NDName = "bPolicyNum".
    NDValue = "${data.renewal_policyterm_taskflow_renewal_policyterm_taskflow_ExecuteWithParamsPageDef.PolicyNum.inputValue}" "
    NDType="oracle.jbo.domain.Number"/ >
    < NamedData NDName = "bAgencyNum".
    NDValue = "${data.renewal_policyterm_taskflow_renewal_policyterm_taskflow_ExecuteWithParamsPageDef.AgencyNum.inputValue}" "
    NDType="oracle.jbo.domain.Number"/ >
    < / action >


    Thank you and best regards,

    S R Prasad

    Published by: oumar s Prasad on November 10, 2010 13:36

    Hello

    I don't know exactly what the problem with your application, but maybe you could try to create a method in the application module impl.
    If I understand correctly, you must run the firstVO as soon as the taskFlow is called and based on the line returned by one, run the secondVO.

    You can do this with a method in the ApplicationModuleImpl. I created an example:

    public void executeViewObjects(Number managerId){
        if(managerId!=null){
          getDepartments1().setNamedWhereClauseParam("inManagerId", managerId);
          getDepartments1().executeQuery();
          Row dep=getDepartments1().first();
          if(dep!=null){
            Number departmentId=(Number)dep.getAttribute("DepartmentId");
            getEmployees1().setNamedWhereClauseParam("inDepartmentId", departmentId);
            getEmployees1().executeQuery();
          }
        }
      }
    

    If you expose this method and drop in your taskFlow you can map it is the input of the taskFlow parameter input parameter.

    Gabriel.

  • Profile Manager - failed to install the remote access profile in the domain environment &amp; multi-Active Network Directory

    Hi all

    I am a COMPUTER administrator for a college and I am trying to fix what seems to be the last hurdle in getting the Profile Manager works correctly.

    I worked for a while now trying to get the Profile Manager capable of pushing the device and profiles for Mac in our group network environment. I was able to operate intermittently, but not often. Most of the time I'm unable to install the remote management profile.

    When you try to install the remote management profile, I give myself one of the two errors-

    The first error is:

    The Installation of the profile failed.

    The «TeleManagement (com.apple.config. » profile (Server.FQDN.mdm:GUID) "could not be installed because of an unexpected error < MDMResponseStatus:500 >

    (Obviously server.fqdn and GUID are placeholders for their actual values)

    The second mistake is:

    The Installation of the profile failed.

    Failed to contact the Protocol SCEP server to ""http://server.fqdn: 1640/CEP / "."

    The server Mac OS X 10.11.4 works

    OS X Server is version 5.1

    Client Mac is for most running 10.10.4

    Here's a quick run down on the environment and the steps I have already taken to solve the problem.

    • The network is an Active Directory with several networks multi-domain environment. I mainly work with two different networks, each associated with one of the two areas.
    • The Mac server hosting the Profile Manager is a Mac Pro. The two network cards is used, each on one of the two networks. The Mac server is joined to the domain in the primary forest.
    • I opened all the ports and IP ranges for Apple's Push Notification service for two on our firewall and tested networks between the two networks to ensure that the AFN is accessible.
    • I created a static DNS entry for the server in the DNS zone for the main domain. I also have a separate DNS zone for the DNS record for the interface on the secondary network. I also confirmed that Macs see the correct IP address of the Mac server for their network.
    • I tried to change the settings for network access for the Profile Manager. The first error seems to happen when the Profile Manager are restricted to the network the Mac client is not connected. This same error also occurs if I open Manager profile access to "all networks".
    • I have experiemented with the different certificate types. In general, I use the self-signed certificates that are generated automatically. In this scenario, I install the profile Trust first (which works seamlessly regardless of network or domain). I also tried to use a certificate for Code signing signed with our own CA to sign the profile of remote management. The same errors will occur no matter what certificates are used.
    • The second error occurs when the access profile manager is limited to the same network that is connected to the Mac client
    • I ran Wireshark captures on several client computers, as well as on the Mac server interfaces and haven't seen any traffic blocked or rejected that seemed related to the Profile Manager
    • I've deleted and rebuilt my OD master
    • I also scoured newspapers for clues Profile Manager and haven't found much
    • In addition, I have also studied the problem and error codes/etc widely and have not found a lot of useful information
    • I don't know there are any other troubleshooting steps I took as well, but I've been question bout this for awhile and I don't remember everyone.

    That's a strange thing - I had it working for Mac on the main network and the domain. However, I discovered that the Mac on the secondary network and the field was unable to download the profile of remote management. This is when I started to change the Profile Manager, access network, which eventually introduce the problem on Macs connected to the primary/field of experimentation network. Change access return settings in Profile Manager does not restore functionality for pimps who worked.

    Another thing odd in this test scenario all - Mac on the network high school/area would not install remote profile unless management I temporarily moved it to the main network (I do not untie / reassign to one the main domain on these Macs) I could get the profile of remote management to install and then pushing profiles has worked. Even more strange, it's the Mac that I had to move temporarily secondary network to the main network to allow remote management profile install only works always as long as the Profile Manager are restricted to the secondary network and 'the Mac'. However, Macs in the same room, on the same network in the same field, using the exact image even get the errors described above.

    The only thing I have not yet done is delete/reconstruction Profile Manager. I would really like to avoid this if possible. Solutions that involve something like Casper or other software integration AD for Macs are also a non-starter.

    I'm happy to elaborate if necessary. I appreciate the help.

    Okay, I think I can find the root cause.

    Before this discovery, I had completely rebuilt Profile Manager. Now, I managed by pushing the management profile remote for Mac in the two fields/networks. However, many of them still refuse to install remote management profile.

    Macs who encounter the problem are all were imaged using NetRestore using an image captured from an another similar iMac. IMac even that was used to build the image has now been reassigned in a test of Mac. I found that when you attempt to register one of the Mac who had received this image it shows already as "registered" when you go to "mydevices" on my Mac server. I also noticed that they all have the serial number of the test Mac when viewing their "register". Among the issues of Macs, I activated the lock of the device from the page "mydevices" for the so-called problematic Mac registered (showing the serial number of the iMac used to create the image) and it locked the iMac used to create the image - not the Mac issue.

    This tells me that the CID (or Mac equivalent) is set on the Mac CID used to create the image for all of the Mac said image was deployed to. If it's a Windows box I have a sysprep prior to deployment or could perform a rearm after the fact. I am unaware of how to perform similar functions in OS X.

    I tested also since on some Macs that do not have this image, and they are able to register and install the profile of Managing remotely with success.

    If anyone has any suggestions on how to reset the CID (the computer ID) under OS X, I'd appreciate it. Thank you.

  • Manually manage the?

    Can someone explain this "manually manage music and videos" checkbox how? It's under 'Options '.

    Rather than use the synchronize option to manage the music from iTunes to iOS device, you can click and drag the pieces of music and video. In the beginning, it is a little heavy, but if you want only a small amount of music on a device, it may be advantageous. However, changing the sync to manage manually will make it the entire library to remove from the iOS device, and even if you change to manually manage to synchronize.

  • CLIQ: How to manage the files?

    Is there a way to manage the files of the phone? I want to be able to move the images from my camera to my memory card, etc.

    I need to download a file manager of the market?

    There is a little market.

    AndExplorer is good (and free).

  • How to manage the threads for TCP communication?

    Hello

    I have a project to control two separate applications (C++ and LabView) and two of them are implemented as server. Another client program (C++) is used to control applications. Communication between them are implemented using TCP socket. The client program sends the message to start or stop tasks on servers. The client program also sends time (HH) with the message start and end to determine when to start or stop.

    Application in C++ (server): Listening to the request for the connection and when gets one, it creates a thread of communication allowing to manage this and listen again to another connection. Communication wire crossing of handles and messages when it receives a start or a stop message, it creates a thread of timer with the received time to trigger a task at the time specified. And after that he expects the client message. So, here, when the thread (communication, timer) is necessary, it is created.

    In LabView (server): I tried to create the same as the C++ server. But, in manual of LabView and other discussions of the forum, I got that LabView is multithreaded and it can be done with the help of the loop independent. So, I had to create four loops in a diagram:

    1. wait the new connection

    2 manage the communication for the already received connection

    3. start the timer

    4 stop the timer

    and they are executed at the beginning of execution and communication between them are managed using local variables. But, 2, 3 and 4th loop can handle only one connection and it can handle another if the current is closed. The C++ application can handle multiple connections by creating the thread when it is necessary, but not at the beginning of the application.

    Is there a better way to implement this in LabView?

    Is it possible to manage multiple connections and create the diagram node/block (such as a wire) dynamically as C++?

    Thank you.

    There are several ways to do so in modern LabVIEW and you should probably seek the Finder example for TCP examples. The classic is to transfer the refnum of connecting the listening loop in a communications loop that adds to an array of login credentials and then constantly iterates through this array to make the communication. He works on LabVIEW 4.0 perfectly for me even for applications with basic HTTP communication protocol. But you must make sure that the communication for a connection is not delaying his work for reasons that would delay the handling of other connections too, because they are really of course worked on sequentially. If you encounter an error, the connection ID is closed and removed from the table.

    The other is that create you a VI that makes your entire communication and ends on an error or when the order quite. Make this reentrant VI and then launch it through VI server as the instance home, passing the refnum of newly received connection form the listening loop. Then use the method to Run let start and operate as an independent thread.

    For all these, you should be able to find an example in the example Finder when searching for TCP.

  • How to manage the runtime at the stage of PreUUT error when running in parallel mode

    I would like to run Test DUT in parallel mode, and some actions are made in PreUUT of this kind of reading serial number and control of the aircraft.
    The model of process don't goto PostUUT step when the runtime error occurs at the stage of PreUUT, so I would like to add a few things to check if error in the cleaning of the sequence and return to the configuration at PreUUT stage, but I think it's jumping all the actions of installation and the main stage?

    What should I do if I want to go back to run PreUUT again after the first run when the runtime error occurs?

    Or, is it a good way to handle this kind of error withour restart of the program?

    Bandaged,

    There is no decent way to do this. The reason is the following: TestStand assumes that failure in the facility to a unique testsocket mechanism, it is senseless to proceed with this testsocket at all. It is recommended to manage the routines of judgment in this case using the SequenceFilePostStepRuntimeError callback. You also can use this callback to execute a loop on the step that creates the error until the error is resolved.

    By default, TestStand does not support a tribute of the error but the proceedings concerning the execution of shots. You can just ignore the error (deletion of the error indicator) or you can implement your own features. For example, you can set a custom fault indicator which will be evaluated as a first step in your hand. If the flag is set, ignore you everything in your hand.

    I know that this suggestion seems not to be a good idea because it's 'hack mack', but it solves your problem. TestStand, as already the State evaluates the execution errors that occur in the PreUUT as to the deficiencies of the system and carry out any checks is not suggested.

    Norbert

  • I need manage the bandwidth used, PowerConnect 6224 traffic collision and packet traffic.

    I need manage the bandwidth used, PowerConnect 6224 traffic collision and packet traffic. I downloaded the MIB from the Dell support site and I saw thar there are about 105 MIB in the downloaded file. My question is: in what Mib, I can find the OID which allow me to monitor the above?

    Thanks in advance

    Rogerio

    Unfortunately, there is not a complete list of the different OID in different MIB. In order to find this info to simply browse through the different MIB seeking the OID, you need. We did some looking through the MIB and found these OIDs that can help you. Another thing to keep in mind is that the MIB downloaded are in general of a group of switches. So there are situations where a /OID MIB listed will work for a certain model of switch with certain level of firmware.

    RMON-MIB

    FastPath-cos-qos-mib

    Another method, some people have had success, done using a SNMP walk.

    http://www.snmpsoft.com/freetools/snmpwalk.html

    I hope this information helps. The method of importation for these MIBs can change based on the management/tracking software that you use.

    Thank you

  • Virtual Disk Manager "the device is not ready".

    I don't know about the format from outside, possibly MAC OS EXTENDED. He was not ejected a Mac and will not mount on an operating system MAC or PC (Windows 7 Professional) using Firewire (800 to 800 and 800 to 400), eSATA and USB 2.0. When I use disk management, disk will appear as not initialized and next to the "disk 33", there is a red arrow pointing down. Whenever I open the Disk Manager, the window to initialize the disk appears, but once I chose a style of partition and press OK, the virtual disk manager pops up saying "the device is not ready". I also tried to wipe the drive using CMD, (disc of DiskPart/list / select disk 33/clean), CMD said the drive was clean, but when I went to disk management, without change.

    I'm looking for a way to clean the drive so that it can be reformatted and reused.

    Hi Catherine,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the link below.

    http://social.technet.Microsoft.com/forums/Windows/en-us/7e214b16-E415-449a-8f25-4cace51e5106/Virtual-Disk-Manager-error

    Good day!

  • ASA Cisco IPSEC VPN tunnel has not managed the traffic

    Hi guys

    I am trying to set up a new connection IPSEC VPN between a Cisco ASA 5520 (verion 8.4 (4)) and Checkpoint Firewall. I managed to establish the phases IKE and IPSEC and I can see the tunnel is UP. But I can't see any traffic through the tunnel. I checked the cryptomap both ends and try to test with a contionuous ping from within the network of the SAA.

    I made a screenshot of ICMP packets but cannot see in ASA. I welcomed the icmp inside ASA interface.

    I did a package tracer and it ends with a fall of vpn - filter the packets. But can not see any configured filters...

    Your help is very appreciated...

    Thank you

    You probably need to add nat negate statements:-something like.

    object-group network OBJ-LOCAL
    Network 10.155.176.0 255.255.255.0
    object-group network OBJ / remote
    object-network 192.168.101.0 255.255.255.0
    NAT static OBJ-LOCALOBJ-LOCAL source destination (indoor, outdoor) static OBJ-REMOTE OBJ-REMOTE-no-proxy-arp

    You are running 8.4 nat 0 has been amortized

  • CAN´t manage the pix of the my next remote site

    Hello

    What should I do or better how can I configure a pix 501 to manage the pix remotely via telnet or pdm?

    can someone give me advice or an example of configuration '

    What I found on the web, has not helped me to.

    Concerning

    Kai

    PIX outside interface does not support telnet. the option is to configure ssh.

    for example

    hostname yourcompanypix

    yourcompany.com.au domain name

    CA generates the key rsa 1024

    CA save all

    SSH outdoors

    to establish an ssh session to the pix outside interface, a ssh client is required as sealant.

    PuTTY is a freeware and can be downloaded from:

    http://www.PuTTY.nl/download.html

  • How to manage the selection with the box in a table

    Hello


    JDev 11.1.2.4

    I have a table with an attribute of EO/VO, transitional to manage the selection. This attribute is displayed as a check box. The user makes a selection by clicking on the checkbox. Then, the user clicks on a button that displays a pop-up window. Inside of this pop-up window, that user can create, insert, delete, or update values in a table based on an other EO/VO.

    When the user clicks OK, the pop-up window is closed, then the data is committed.

    When the user clicks Cancel, the popup is closed and the changed data are ignored. To remove the data, I call a Rollback. It works fine, but all the transitory values are lost which is correct because of the discount after the cancellation.

    It's a problem because the user must be able to open the pop-up window several times with the same selection. This means that the restoration is not appropriate in this case.

    How to ignore data edited inside the pop-up window and keep the selection?

    Thank you

    You can try to put the popup in his own taskflow and define a backup point before entering the taskflow. When the user cancel the editing restore you to previous backup. This should dispel the changes.

    Or you save the selected rowkeys, call rollback and backward selection later.

    Timo

  • Manage the SQLCODE in Plsql procedure

    Hello

    can you tell me how I can manage the sqlcode for each sql statement and continue the treatment?

    For example, I read a table and write the data in another table.

    If I get an error of key double pears (IE already entered folders) I would write a log table and read the next record.

    The Exception Management stop the process and does not continue reading.


    Thank you

    -When you transform data between table1 and table2, duplicates will be captured in error_log table with the key that splits to, message error oracle error number, try to run the statements below and understand the process and let me know for any information.

    @@@@@@@

    create table table1 (tabl1_column number);  -primary table

    create table table2 (tabl2_column unique number); -Secondary table

    create table error_log (duplicate_key number, error_code varchar2 (100), error_message varchar2 (100)); -error log table

    Insert into table1 values (1);

    Insert into table1 values (1);

    Insert into table1 values (2);

    Insert into table1 values (3);

    script:

    ====

    create or replace procedure sp_sample

    as

    v_error_msg varchar2 (100): = null;

    v_error_code varchar2 (100): = null;

    Start

    for rec loop (select tabl1_column from table1)

    Start

    insert into table2 (tabl2_column) values (rec.tabl1_column);

    exception when others then

    v_error_msg: = sqlerrm;

    v_error_code: = sqlcode;

    Insert in error_log (duplicate_key, error_code, error_message) values(rec.tabl1_column,v_error_code,v_error_msg);

    commit;

    end;

    end loop;

    end;

    /

    Execute the statement:

    ===============

    Set serveroutput on;

    exec sp_sample;

    /

    Check the result:

    ==============

    Select * from table1;

    Select * from table2;

    Select * from error_log;

Maybe you are looking for