URGENT: Oracle Workflow Error: API-10020 on Creation of OWB Process Flows

I am trying to use Oracle Workflow to create Process Flows, in order to link together various mappings and components in Oracle Warehouse Builder. However, in the process flow editor window when I attempt to drag an object such as a mapping onto the editor panel, I get an error message stating the below:
API-10020: Unable to determine if the map is a PLSQL or SQLLDR map, please correct the map or choose another map.
All my maps are in PLSQL, and the language setting is set to this. I have tried modifying the langauge settings to see if it makes a difference but with no luck. My colleague believes this is a known bug in Oracle Workflow and there is a patch available to correct it.
Can anyone help with this query please? Thank you for your time.

In some versions of OWB (10.1, 10.2) The mapping property will display PL/SQL, but will actually be set to NULL in the repository (which will cause PL/SQL to be displayed as default).
The fix is easy enough: in the developer navigator, right-click on the mapping and go to configure and set the generation language first to something other then PL/SQL (you should get an error) and then place it back to PL/SQL. This should force the GUI to reset the parameter.
Alternatively, use OMB*Plus:
OMBALTER MAPPING 'MAPPINGNAME' SET PROPERTIES \
(GENERATION_LANGUAGE) VALUES ('PLSQL');
Good Luck,
Robbert

Similar Messages

  • OWB process flow & Oracle Workflow

    Hi,
    In order to deploy the OWB process flow packages, is it necessary to have Oracle workflow installed on the Target server? When I tried to deploy a process flow package to the target database (10gR2 db), it required a user called owf_mgr. As far I know, owf_mgr is the admin user for workflow. Can this feature work without OWF being installed?
    Thanks for your help
    regards

    You also might be interested in this thread...
    OWB and Work Flow (being dessuported)
    Just in case you are starting an implementation.

  • Start OWB Process Flow Schedule Job in Workflow Manager

    I am trying to get the Oracle Workflow Schedule to execute my Oracle Warehouse Builder (OWB) Process Flow. Please note that execute Process Flow from the OWB deployment manager works fine. I did the following but nothing being executed:
    Info:
    OWB: 10g
    Oracle DB: 10g
    Oracle Workflow: 2.6.3
    OracelAS: NONE
    1. From the Oracle Workflow Manager browser, click the Background Engines->Submit New
    2. Insert the following parameter:
    Work Item Type: LD_STG
    Run Date and Time: 10/18/2004 17:40:00
    Run Every: 0 days, 00 hours, 01 minutes, 00 seconds
    3. Click ok and system showed "Successfully submitted Background Engine with job number 107"
    However, after the specificied schedule time, nothing happened. No error shown in the Work Item.
    Any help are greatly appreciated. Thanks.

    This is a Oracle Workflow client problem. Can you post this to the workflow forum (Workflow
    Regards:
    Igor

  • Oracle 10G Database Control and Scheduling OWB Process Flow

    Does anyone know how to go about scheduling an OWB Process Flow from
    Oracle 10G Data Base Control. I knew how to do this with Oracle Enterprise Manager 9.2 but we recently upgraded to Oracle Db 10G and the interface has changed significantly.
    Now the interface seems to require a PL/SQL stored procedure to be executed.
    Is there a template procedure that is installed with 10G Data Base Control as there was for 9.2 i.e. oem_exec_template.sql?
    Thanks! Deadline approaching fast...
    Marion

    I've used the oem_exec_template.sql successfully with OWB 10.1 and Oracle 10G Database Control, with a little trial and error at first.
    I'm assuming that your job execution environment is set up correctly, ie. that you can properly execute jobs via the host agent.
    1. Log on to Database Control as SYSTEM, select Jobs from the links at the bottom of the page
    2. In the Results section, Create Job, select "SQL Script" and press Go
    3. In the General section, enter Job Name, and as SQL Script enter e.g.:
    @/u01/app/oracle/owb_oracle_home/owb/rtp/sql/oem_exec_template.sql owb_runtime WF_LOC PROCESS MY_PROCESS , ,
    4. In the Databases section, add your target database
    5. In the Credentials section, I select "Override Preferred Credentials" and use the agent account (oracle on my Linux system) and db user owb_access (OWB Runtime Access user)
    6. Review Schedule tab and submit
    Comments on step 3:
    - the oem_exec_template.sql script must be installed according to the path specified in step 3, on the database host where the OWB Runtime Repository is located
    - owb_runtime is the owner of my OWB Runtime Repository
    - WF_LOC is the name of my Workflow Location as seen in OWB Deployment Manager
    - MY_PROCESS is the name of a deployed Workflow Process
    - the commas indicate that I don't supply any system or custom parameters.
    - step 3 is actually a shell command line that is interpreted by eg. /bin/sh on Unix or cmd on Windows, and must obey proper quoting rules. On windows, I had to specify the empty commas as "\," (including dblquotes)
    Regards, Hans Henrik

  • (urgent)how to run the sqlldr script in owb process flow?

    dear all:
    In my oracle warehouse ,i have to load much *.dat file
    into database with sqlldr in owb process flow. In owb process flow, I use the external process to run the sqlldr file with following configuration:
    1:======external process==========
    command : /app/ftpfile/sqlldr2.sh
    parameter list:
    success_threshold:0
    script:
    ================================
    2:create a file location in FILE LOCATION node:
    =============
    ODS_LOCAL_LOC
    =============
    3: in the runtime repository i register the location
    ============
    user name: oracle (for the sqlldr should run in oracle user)
    password : oracle
    host name: localhost
    root path: /app/ftpfile/
    ============
    4:configure the process flow
    ============
    path settings
    working locations:ods_local_loc
    ============
    after deploy them success in runtime repository,
    i run it ,it show me error following:
    ==========
    SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12545: Connect failed because target host or object does not exist
    ===========
    please help me!
    with best regard!

    Hello,
    our developers were getting this error code just the other day. They are using "sqlplus_exec_template" script to initiate these things. In our case, I had to do two thing:
    1) Modify their "initiator" script (the one that connects to runtime access user, and then calls "template") - it has to use tns connectivity "user/passwd@service_name"
    2) Create TNS entry (server side) for the "service_name" above.
    Now these SQL*LOADER mappings run successfully.
    Alex.

  • Oracle Workflow Erroring on Function/Shell Script

    We are in the process of upgrading databases and reimported all the OWB code into the new database.
    Currently our OWB mappings all seem to run ok, but when I try to run a process flow I am hitting the following error
    RPE--2075: Oracle Workflow failed to process the execution request for activity LD_EDW_MAIN:F_GET_DB_NAME. This may be because dependant objects have not yet been deployed. ORA-20010
    F_GET_DB_NAME is a function and I checked and I see that the function executes properly
    I also hit a similar error when trying to execute a shell script.
    How would I go about deploying a function or a shell script?
    Im relatively new to OWB and am being "force fed" learning since we lost our main OWB colleague.
    Thank you

    Thanks! for your reply.
    I am using this API outside the workflow.I am using this API for iExpense to approve an Expense Report. In Expenses Workflow below are the processes:
    1. AP_MANAGER_APPROVALPROCESS whihc is using NON_AME_APPROVAL_PROCESS and this is using REQUEST_APPROVAL_PROCESS and under this process there is a notification APPROVAL_REQUES. Now, I am completing this ACTIVITY as Approve and I am able to do that but problem is that REQUEST_APPROVAL__PROCESS is itself not getting completed and stuck here.
    Please let me know how can I achieve that.
    Thansks!
    Sandy

  • Oracle Workflow Error

    Hi,
    When I enter the username and password in the Oracle Workflow builder, I get the following error. Im able to login correctly from SQL*Plus, my tnsnames has the service name and other details. I can also execute the process flow in OWB. The only problem is in Oracle Workflow builder. Pls suggest how I can go about.
    1700: Could not connect with username/password 'owf_mgr/owf_mgr@radardev' ('ORA-12154: TNS:could not resolve service name
    Thanks in Advance,
    Regards
    Kishan

    Hi
    If you have more than one oracle homes in your system than it is possible that not in every tnsnames.ora files are configured the radardev server. Check it.
    Have you installed the workflow repository?
    Ott Karesz
    http://www.trendo-kft.hu

  • Oracle Workflow Java API

    Hi everyone,
    some questions to that API (maybe only Oracle can answer):
    1) in the "Oracle Workflow and Java Technical White Paper" an API-Function called "setItemOwner" ist described but you cannot find this method inside any class of the wf*.jar files. Where is it ?
    As i understnd, the owner of a workflow-item(process) is needed to watch the processes with workflow-monitor.
    Do we have to implement this function/method ?
    2) I found out, that the Java API is, compared with the PL/SQL packages, slightly incomplete?
    Several functions/methods are not implemented and other functions/methods are not of the same functionality as their PL/SQL counterparts.
    An Example: CreateProcess
    The Java method "createProcess" has two parameters fewer (user_key and owner_role). API methods to set the user key or to set the owner (see Question 1) are not implemented.
    Is there a special reason for that ?
    Thanks
    Ralf

    Ralf,
    1) setItemOwner should be in the WFEngineAPI class in the package oracle.apps.fnd.wf.engine.
    2) It is true that the Java and PL/SQL implementations are not exactly the same - some APIs are available only in PL/SQL, others only
    in Java. The Workflow Guide lists which ones are currently available where. If there is functionality you would like to see added, I
    think the best thing to do is log an enhancement request.
    Regards,
    Clara
    Hi everyone,
    some questions to that API (maybe only Oracle can answer):
    1) in the "Oracle Workflow and Java Technical White Paper" an API-Function called "setItemOwner" ist described but you cannot find this method inside any class of the wf*.jar files. Where is it ?
    As i understnd, the owner of a workflow-item(process) is needed to watch the processes with workflow-monitor.
    Do we have to implement this function/method ?
    2) I found out, that the Java API is, compared with the PL/SQL packages, slightly incomplete?
    Several functions/methods are not implemented and other functions/methods are not of the same functionality as their PL/SQL counterparts.
    An Example: CreateProcess
    The Java method "createProcess" has two parameters fewer (user_key and owner_role). API methods to set the user key or to set the owner (see Question 1) are not implemented.
    Is there a special reason for that ?
    Thanks
    Ralf

  • Oracle Workflow error RPE-02229

    Hi All,
    We are using OWB 10gR2 (10.2.0.1) and OWF 2.6.4 on unix box. I am getting error when running a process flow which is calling a shell script. The process flow has a simple user defined activity and the parameters are set up this way
    COMMAND: /bin/ksh
    Parameter List:
    Result code:
    Script: /tmp/test/testsh.sh
    Success Threshold: 0
    The process flow is throwing out the following error
    RPE-02229: The following debug information was collected:
    RPE-02230: Debug Information: os.name = Windows XP
    RPE-02230: Debug Information: os.version = 5.1
    RPE-02230: Debug Information: os.arch = x86
    RPE-02230: Debug Information: user.name = C999999
    RPE-02230: Debug Information: user.dir = C:\OraHome_1\owb\bin\win32
    RPE-02230: Debug Information: argv.arg0 = /bin/ksh
    RPE-02230: Debug Information: argv.stdin = /tmp/test/testsh.sh
    RPE-02230: Debug Information: HOMEDRIVE = U:
    RPE-02230: Debug Information: SERVICE = POND
    RPE-02230: Debug Information: USERDNSDOMAIN = T11.PROD
    RPE-02230: Debug Information: TMP = C:\DOCUME~1\C999999\LOCALS~1\Temp
    RPE-02230: Debug Information: MODE = -startup
    RPE-02230: Debug Information: SystemDrive = C:
    RPE-02230: Debug Information: RTHOME = C:\OraHome_1
    RPE-02230: Debug Information: PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    RPE-02230: Debug Information: CommonProgramFiles = C:\Program Files\Common Files
    RPE-02230: Debug Information: OWB_HOME = C:\OraHome_1
    RPE-02230: Debug Information: ALLUSERSPROFILE = C:\Documents and Settings\All Users
    RPE-02230: Debug Information: USERDOMAIN = AD2
    RPE-02230: Debug Information: ORA_HOME = C:\OraHome_1
    RPE-02230: Debug Information: RTUSER = OWBOWN
    RPE-02230: Debug Information: SystemRoot = C:\WINDOWS
    RPE-02230: Debug Information: APPDATA = C:\Documents and Settings\C999999\Application Data
    RPE-02230: Debug Information: PROMPT = $P$G
    RPE-02230: Debug Information: Path = C:\OraHome_1\bin;C:\OraHome_1\jre\1.4.2\bin\client;C:\OraHome_1\jre\1.4.2\bin;C:\OraHome_1\owb\bin\admin
    RPE-02230: Debug Information: FP_NO_HOST_CHECK = NO
    RPE-02230: Debug Information: HOST = UMNDAPP54
    RPE-02230: Debug Information: HOMESHARE = \\ad2wbynas003\C999999
    RPE-02230: Debug Information: PROCESSOR_ARCHITECTURE = x86
    RPE-02230: Debug Information: LOGONSERVER = \\AD2MPGDOM001
    RPE-02230: Debug Information: CLASSPATH_LAUNCHER = -classpath Personalities.jar;;;..\admin\;..\admin\launcher.jar -DOWB_HOME=C:\OraHome_1 -DJDK_HOME=..\..\..\jdk -DORA_HOME=C:\OraHome_1 -DOEM_HOME=C:\OraHome_1 -DIAS_HOME=C:\OraHome_1 -Doracle.net.tns_admin=C:\OraHome_1\network\admin Launcher ..\admin\owb.classpath
    RPE-02230: Debug Information: TNS_ADMIN = \\T11.PROD\wwl01\sharedata2\tns
    RPE-02230: Debug Information: JAVAPATH = C:\OraHome_1\jdk
    RPE-02230: Debug Information: PORT = 1521
    RPE-02230: Debug Information: SESSIONNAME = Console
    RPE-02230: Debug Information: HOMEPATH = \
    RPE-02230: Debug Information: OCM_HOME = C:\OraHome_1
    RPE-02230: Debug Information: CLASSPATH = Personalities.jar;;
    RPE-02230: Debug Information: PROCESSOR_IDENTIFIER = x86 Family 6 Model 13 Stepping 8, GenuineIntel
    RPE-02230: Debug Information: USERPROFILE = C:\Documents and Settings\C999999
    RPE-02230: Debug Information: ORACLE_HOME = C:\OraHome_1
    RPE-02230: Debug Information: NUMBER_OF_PROCESSORS = 1
    RPE-02230: Debug Information: ComSpec = C:\WINDOWS\system32\cmd.exe
    RPE-02230: Debug Information: COMPUTERNAME = ABCERODER
    RPE-02230: Debug Information: OS = Windows_NT
    RPE-02230: Debug Information: IAS_HOME = C:\OraHome_1
    RPE-02230: Debug Information: OEM_HOME = C:\OraHome_1
    RPE-02230: Debug Information: CLIENTNAME = Console
    RPE-02230: Debug Information: USERNAME = C999999
    RPE-02230: Debug Information: TEMP = C:\DOCUME~1\C999999\LOCALS~1\Temp
    RPE-02230: Debug Information: PROCESSOR_LEVEL = 6
    RPE-02230: Debug Information: OCM_ORACLE_HOME = C:\OraHome_1
    RPE-02230: Debug Information: JDK_HOME = C:\OraHome_1\jdk
    RPE-02230: Debug Information: PROCESSOR_REVISION = 0d08
    RPE-02230: Debug Information: ProgramFiles = C:\Program Files
    RPE-02235: The operating system has reported that it cannot execute the requested command. This may be because the command or the parameters are invalid, or that the command is shell command. Any result code return is specific to the operating system. Debug information has been produced.
    CreateProcess: /bin/ksh error=3
    Did anybody faced this problem before??
    Thanks,
    Sam.

    Its two years old . Looking at the error .. I think there are two parts to it..as far as i remember
    1) I was trying to run unix script using PF and if you look carefully at the error there is reference to "C:\OraHome_1"
    This was because due the OWB_HOME was not set correctly in the repository.
    You can check by running service_doctor.sql in your <owb_home>/owb/rtp/sql
    if you are path is not set correctly then run the set_ccs_home.sql from the same directory to set it to right path.
    2) I was running it from local control center locally ..I still don't rember how i deployed it and don't have that version of OWB to test it.
    But again fixing the Control Center home and starting the service on server (db target where OWB repository was installed) fixed it.
    All the best :-)

  • Owb Process flow Deployment Errors.

    Hi ,
    I am getting the following error when deploying a process flow.
    RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link ORCL@WB_LK_PK_PKG. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
    - ORA-04052: error occurred when looking up remote object RT_REP.WB_RTI_WORKFLOW_UTIL@ORCL@WB_LK_PK_PKG
    ORA-12545: Connect failed because target host or object does not exist
    I had verified the privileges ,everything seems to be fine , Please suggest
    Suresh

    Robert ,,
    Thanks for your reply,
    I re verified the privileges , i can see that EXECUTE ANY PRIVILEGE on OWF_MGR but i am not seeing any db links , I re created the runtime , re deployed mappings and other stuff everything is fine except the process flow deployment

  • Error when running the OWB process flow from the shell script

    Hi,
    I am able to deploy the process flow succesfully but when I execute the process flow from the shell script,I am getting the following error.Previously it worked fine.
    I had to make some chnage in the IP address,so i had to deploy again.
    Connected.
    SQL> @/oracle/product/owb92028/owb/rtp/sql/oem_exec_template.sql OWB_RTR LOC_P_REL PROCESS P_W_SOURCE "," ","
    Elapsed: 00:00:00.00
    Elapsed: 00:00:00.01
    Stage 1: Decoding Parameters
    | location_name=LOC_P_REL
    | task_type=ProcessFlow
    | task_name=P_W_SOURCE
    Stage 2: Opening Task
    declare
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 17
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 137
    ORA-06512: at "OWB_RTR.WB_RT_API_EXEC", line 164
    ORA-06512: at line 205
    Thanks in advance.
    Vinay

    Hi Kamal and kanakam kolla,
    This is just to let you know that,I solved my problem little differently by creating a new location and deployed the process flow.Now my process flow is working fine when i call from the shell script.What i see is that, it does not update properly when we update and redeploy the process flow.So far this is the work arround i could think off and i succesfully tested this.
    Thank you Kamal and kanakam kolla,for giving a thought towards my problem.
    Thanks
    Vinay

  • Owb process flow error handling

    Hi,
    I am using OWB 10gR2.
    I have 2 process flows that each call a series of mappings. Then I have one "master" process flow that calls the two aforementioned proecess flows. When a mapping errors, I want my whole master process flow to abort. I put error handling in, but it doesn't seem to work. For example, if I get an error in the first process flow, I get my email notification that something is wrong. The process ends. However, the master process flow continues to go. I want it to stop. It continues to go because there wasn't an error in the first process flow. The error was handled, and the process flow ended successfully. Does anyone have any tips or tricks on how to handle this type of situation? I'm not doing anything revolutionary. I'm just new to these process flows.
    Thanks,
    Tim

    hmm ok this sounds a bit weird to me.
    I've created similar processflows with customers and never had similar problems like you describe.
    Just to verify your design, here is how I would solve your master1 processflow.
    _______________________END_WARNING
    w w
    start----PF1----------s---------------PF2------s---- END_SUCCESS
    e e
    \___________________\____END_WARNING
    where the conditions for the transitions is indicated with w for warning, s for success and e for error.
    Some poorly made ascii art there but hopefully you get the idea...:p
    This also sounds like what you've done already and with extra email functionality.
    Are you sure that pf2 starts after pf1? Or can it actually run in parallel with pf1 but just finishes after pf1 so it seems like it its done afterwards? The reason I ask is that I experienced that in one of my processflows with around 30+ mappings, one of the mappings that was supposed to be executed almost at the end, executed before everything else and messed everything up. It was quite the annoying little bug and took a long time for me to discover. If you have noticed on the transitions, there is a little number next to the line on the canvas, indicating in which order the operators are to be executed. In my case, two transitions had the same number and that caused one of the mappings to just start as soon as the processflow was told to start. If this is the case there is a way to set these, but I don't remember right now. Delete and recreate the transitions also do the trick I think.
    Hope you figure it out!
    Ragnar
    edit: seems like my ascii art got a bit messed up... :(
    Message was edited by:
    rhaug

  • OWB Process Flow Execution in Workflow

    Hi!
    I hope somebody can help me with this one... I have a process flow designed to load data from a flat file to a db staging table then do some transformation on the data and load the data to the data warehouse. I am using OWB 9.2.0.2.8, 9i DB (9.2.0.5) and OWF 2.6.2. I have successfully validated and deployed the process flow but during execution, the process failed on the mapping that loads data from the flat file to the staging table. The message log of the deployment manager reports: /u01/oracle/product/owb/temp/STAGING_MAP.ctl (No such file or directory). Do I have to set the source location for the flat file again? You see we have already executed this mapping alone and it worked fine, using the source location in the server as defined in the mapping, which is /u01/files/.
    Thank you.
    Shiela

    hi,
    well,jus check whether u created locations and connecter and check u deployed every thing and try once again.
    naren

  • OWB Process Flow - Transition Warinig OR Error - Question

    Hi all,
    I have a question. In a Simple Process Flow I have:
    Start -> Mapping -> Warning -> Email
    -> Erro -> Email
    ->Sucess - End
    Is necessary use 3 Transition ?
    Can I do only 2 Transition like
    Start -> Mapping -> Warning OR Error -> Email
    ->Sucess - End
    How can I do "Warning OR Error" on a Transition?
    If i put any condition on the Transition:
    Start -> Mapping -> Email
    ->Sucess - End
    It means
    Start -> Mapping -> Warning OR Error -> Email
    ->Sucess - End
    Thanks

    If i put any condition on the Transition:
    Start -> Mapping -> Email
    ->Sucess - End
    It means
    Start -> Mapping -> Warning OR Error -> Email
    ->Sucess - End
    it exactly what you need
    Edited by: hungsao on Oct 17, 2012 9:10 PM

  • Urgent: Oracle Text error: DRG-10001: can not access result table

    Hi,
    I am getting the "DRG-10001:can not access result table" error when trying to run the oracle text procedure ctx_cls.train within HTMLDB. The schema i used for parsing is granted with the necessary privileges, and i can run the procedure manually using the same schema in sqlplus. Following is the script I am trying to run:
    1. begin
    2. ctx_cls.train(
    3. index_name => 'MyDocindex',
    4. docid => 'MyDoc_id',
    5. cattab => 'MyDocTab_categories',
    6. catdocid => 'cat_MyDoc_id',
    7. catid => 'cat_id',
    8. restab => 'rules',
    9. rescatid => 'rule_cat_id',
    10. resquery => 'rule_text',
    11. resconfid => 'rule_confidence'
    12. );
    13. end;
    Please help urgently!
    Thanks
    RG

    I seem to have hit a similar problem.
    Did you eventually resolve this problem?
    Rgds
    Z

Maybe you are looking for

  • How to reject ACK/NACK from other Send Ports to Orchestration

    Hi Everyone, I have a below scenario, Please let me your ideas how can we avoid ACK from other send ports (If there is any failures), in my current scenario getting issues or conflicts because of this AckRequired. Key points in my scenarios SendPort_

  • Playstation 3

    Yesterday I got my AirPort Extreme 802.11N. Hooked it up to the computer and PS3 and got wireless internet on both with no problem. What I'm having a problem with is being able to access the computer or external hard drive (connected to the AirPort)

  • I want to use my i tunes card to buy game credit.

    I brought an I-tunes card so i can buy game credit. When i click to buy it asks for credit details and my itunes card isn't there. I can download games from my pc from itunes to my ipod but that is not the reason i brought. please help me thanks heap

  • Chnages in order type dependent parameters for various production senarios

    Hello PP experts, Order type dependent parameters are are very important for configuration of order type. OPL8 is the tcode used for the same.There are three screens like planning, implementation and controlling in OPL8. Please let me know what will

  • Optimisation in iWeb

    How easy is it to optimise site made in iWeb? easily add alt and title tags, change page titles, descriptions etc? Does anyone experienced with making a few sites think that it is just a blog simple tool for people to make personal home pages or can