Executing 11g process flows

Hi everyone
I am working with OWB 11g and have successfuly created several hundreds of mapping and process flows to manage them. The process flows all work fine when run from within OWB.
What I want to do now is take this to the next level and manage the running of the process flows from outside of OWB. We have a mix of Linux on the server where presumably CRON jobs could be run. We also have Windows servers.
Does anyone have any documentation or website links that you point me in the dirction of to make this work?
Presumably Oracle Workflow would be one of the answers so if you could give me some pointers as to how to get this up and running, for example in a Windows environment, I would be grateful.
Best wishes
Michael

Michael,
several methods for executing processflow and mappings are described in OWB API and Scripting Reference (chapter "Using SQL*Plus to Schedule and Execute Jobs"):
http://download.oracle.com/docs/cd/B28359_01/owb.111/b31279/api_4sqlforjobs.htm#BABBHEHI
1) with using SQLPLUS_EXEC_TEMPLATE script
2) with using WB_RT_API_EXEC.RUN_TASK stored function
Regards,
Oleg

Similar Messages

  • Mapping failure when executed in process flow

    I am currently receiving the following error on one of my mappings when I executed a process flow:
    TEST_PF: NEW_MAP
    Error
    ORA-06550: line 1, column 1003:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 997:
    PL/SQL: Statement ignored
    When I execute the process flow using the control center manager, it runs normally and I only receive this error when it runs within the process flow.
    Any advice on what is causing this problem and how I can fix it? Is the process flow corrupted? If so, do I have to rebuild it?
    Thank you

    Hi,
    Have you added any parameters or anything like that to your mapping from the first time you put it into the processflow?
    In the processflow, select the mapping that fails and synchronize it, redeploy and try again. Or you can just delete the mapping from the process flow and add it again.
    At least based on the errormessage you describe it seems like the mapping has been changed and have parameters added or removed from the first time you added it to your processflow.
    Ragnar

  • Error RPE-01008 and RPE-01003 if i execute a process flow

    Hi,
    if i execute a process flow, once the process flow worked fine. If i execute at another time the process flow didn't work with the following error messages:
    RPE-01008: Wiederherstellung dieser Anforderung ist in Bearbeitung.
    RPE-01003: Die Anforderung konnte wegen einer Infrastructure-Bedingung nicht abgeschlossen werden.
    Any ideas?
    thanks a lot

    Have you tried any of previously reported errors on this forum to see if any of them relates to your case?

  • How to execute a process flow?

    I create a process flow that contains mappings, it generate an xml code
    I want to know how to execute a process flow an how to know it sucess or fails ?
    have you any idea?
    thank you

    Hi
    You can also use 3rd party tools or batch scripts there is a SQL script for executing any OWB executable (sqlplus_exec_template.sql in owb/rtp/sql) see the post here;
    http://blogs.oracle.com/warehousebuilder/2008/11/using_3rd_party_schedulers_with_owb_1.html
    Cheers
    David

  • Wrong map being executed in Process Flow

    I created a Process Flow that executes 3 maps and a PL/SQL procedure.
    The process flow functions to write data to a Unix file system.
    The first map when executed by itself writes the correct string as the first header within the file. But when I execute the same map, named HC_ENTHDR_TEMP_MAP, within the Process Flow the wrong header is written to the file.
    I've tried droppping the map and redeploying it. I've tried dropping the map within the Process Flow reinserting it and redeploying the Process Flow. These actions do not solve the problem. When the map is executed within the Process Flow, the wrong header is written. When the map is executed outside the process flow the correct header is written.
    Any help would be appreciated. It's as if the WorkFlow schema has the an invalid pointer to a map that I can't get rid of.

    Hi,
    Sorry for the late reply, but I was off for the Holidays. Anyway.
    I have tested your scenario step by step. and it works just the way you're saying.
    But, what's happening here is just as Steve have mentioned in his second post.
    <quote>All the codes are in the same "bucket"</quote>
    And as I mentioned in my first post the local unit precedes the library, and that's why you are seeing the message from the local unit.
    I changed the name of the local unit from MY_PRE_FROM to MY_PRE_FORM_LOCAL, and it worked just fine with me.
    I suggest you try it, it should work.
    So when we run formA we should see the following messages
    'in generic call'
    'in formA local'
    Here what you are seeing the the precedences of the local unit over the library unit whenever they share the same name.
    but logically you should see the library code MY_GENERIC_CALL being executed and showing a message of
    PROCEDURE MY_GENERIC_CALL IS
    BEGIN
         message('in generic call');
         my_pre_form;
    END;and in turn calling to MY_PRE_FORM and the latter shows the message
    PROCEDURE my_pre_form IS
    BEGIN
    message('in lib my pre-form');
    END;so you should see:
    in generic call
    in lib my pre-form
    and what's happening with you is the local unit is being preceded from forma over the library unit. As if you are calling the local unit from the library. or at least this is what seems to be happening.
    Changing the local unit's name is making the difference.
    Regards,
    Tony Garabedian

  • OWB 11g  Process Flow - How to see variables and how to create variables

    Dear All,
    I have recently migrated from 10g to 11g rel 2.
    In 10g when I open a proces flow I can see all the parameters and variables I created on each activities on "Explorer" window. this allows me to craete new parameters and variables as well.
    But ones after I migrated to 11g, I cant see explorer window and there is no place to enable it as well.
    How Can I create variables, parameters in processes flow on 11g?
    Thanks in advance.
    Alex

    Hi,
    In 11g "Explorer" window renamed as "Stucture" and same details as 10g shows in Structure window. This window can enable and dissable (Show and Hide) using Menu => View=> Stuture option.
    Thanks

  • 10GR2 - Cannot get wb_rt_api_exec to execute a Process Flow

    Hi,
    In version 10.1.3, I was able to use the wb_rt_api_exec procedure to execute process flows within a stored procedure (and called by an Enterprise Manager job).
    I have tried something similar in 10GR2, but when I run stored procedure, it says it has executed successfully, but the process flow has not run.
    My Stored procedure code is like:-
    CREATE OR REPLACE PROCEDURE PROC_TEST IS
    ret NUMBER;
    BEGIN
    ret:= rep_owner.wb_rt_api_exec.run_task('PROCESS_LOCATION','PROCESS','WF_TEST','','',1,1);
    END PROC_TEST;
    I have noticed there is an extra parameter p_background at the end of the run_task function and was not sure if I am setting it correctly. The procedure compiles ok, but does not run the process flow.
    Can anyone help please?
    Thanks
    GB

    To run workflow from SQLPLUS I used the following script:
    set serveroutput on
    variable exec_return_code number;
    begin
    -- Initialize Return Code
    :exec_return_code := rep_ISM_DEV2.wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    :exec_return_code := rep_ism_dev2.wb_rt_api_exec.run_task('OWF_LOCATION','PROCESS','ALL_MARTS_PF', ' ' );
    end;
    Prior to running this script I have
    1.     grant execute on rep_owner.WB_RT_API_EXEC to rep_user;
    2.     OWF_MGR is registered as Repository user.
    It is possible that you will get an error: PE-02018: Oracle Workflow schema OWF_MGR on host XXX.XX.XX.XX cannot be accessed using service ORCL through port 1521. Please check the location details and try again.
    To overcome this problem log in to OWB Control Center as the target User (Runtime user) and executed the PF package from there manually. You will get a message that OWF_MGR location was registered by other user and you will get asked to supply the OWF_MGR password. The manual execution should finish normally. After that I am able to run the PF from a command line without problems. It looks like running the PF from the control center stores the OWF_MGR login information somewhere (anybody knows where?) and you do not need to supply it any longer.
    Hope it helps.
    Vladimir

  • How to execute a process flow repeatedly?

    Hi All,
    I created a process flow, that has the following activities.
    Start --> External_To_Stg_Table_Map ---> Stg_To_Dim_Map ---> Dim_To_Fct_Map---> End.
    Here
    1) External_To_Stg_Table_Map -- is for loading data from external table to a staging table.
    2)Stg_To_Dim_Map -- is for loading data from staging table toa dimension.
    3)Dim_To_Fct_Map -- is for loading data from Dimensions
    Here External_To_STg_Table_Map extracts data from a file say Sample_File.txt.
    My requirement is I have to execute the same process flow for many files having the same structure.
    Could anyone suggest me the ways, we can implement?
    Thank you,
    Regards,
    Gowtham Sen.

    Try scheduling it, assuming it needs to be done on a regular basis. First you set up a schedule, then attach the schedule to the process flow. When you deploy the scheduled process flow the name will be altered as <process flow name>_JOB. Then you have to execute it the first time. After that the schedule will take over.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Process flow execute "complete" in Runtime Audit Browser but it hangs

    I create a process flow that contain 4 sub-process flow, each sub-process flow contains several mapping. Each mapping in the process flow will be executed one by one if previous mapping execute successfully. If any error or warning, it will be ended with "End_Error" or "End_Warning". And I deploy the process flow to the workflow server successfully.
    Sometimes the process will hang in some certain mapping when execute the process flow. After long time waiting, the status of process flow execution in Audit Browser will be "Complete", but in fact, the sub-porcess ended with that mapping and the next mappings will not be execute. This can be monitored in the Audit browser, as if the whole process "break" at that mapping.
    In workflow monitor, I found the workflow has not complete yet. The status of that mapping node is "Notified", not "complete". So I have to abort the workflow in the monitor.
    Sometimes when I try again it will be ok. If I deploy the process to another instance that in dw instance, it will also be ok. The dw instance use owb recommend parameters when we install db instance. All the mapping use the default parameters except "Default operation mode", here we use "row based".
    Can somebody give me some hint?
    Thanks.
    OWB 10g rel 1, db: 10g rel2, workflow: 2.6.4

    Hi Naidu
    Yes you are absolutely right. When you press the cancel button in the GUI, the runtime repository does not get the signal that he is been asked to stop and abort. The GUI cancels himself but the background oracle process is still on !!!. The only way to do is to kill the oracle session. Another way I tried to tackle is
    go to the directiry OWB/10.1/owb/rtp/sql and run the file @list_request.sql in sqlplus. Note that you have to login as runtime repositiry owner. After you get the audit id, run the file abort_exec_request.sql and supply the audit id that you obtained by running list_requests.sql. Sometimes it does not work also . Hence the best method is to kill the process

  • Execute Process Flow via command line

    How can I execute a Process flow from the command line?

    As far as I know once the job is setup in OEM it is submitted either through OEM UI or by scheduling, I don't think there is a command line interface. I would ask on OEM forum anyway Enterprise Manager
    But why such complexity? All OWB maps keep the execution audit history in one place already.
    Nikolai

  • Executing Process Flow from OWB Deployment Manager results in RPE-01008

    Hi,
    I'm using OWB 10.1.0.1.0 (10g) and just installed Oracle Workflow Server 2.6.3.
    I can build, validate and generate Process Flows just fine. But every time I try to execute a Process Flow using OWB Deployment Manager, I'm getting a "RPE-01008: Recovery of this request is in progress". Execution of deployed Process Flows using Oracle Workflow Interface works just fine.
    Anyone has an idea?
    Thanks and regards
    Andreas Kopp

    Hi Dirk-Jan,
    youÄre right, there are some ugly-looking NUllPOinterExceptions in that log file. However, I cannto interpret them:
    2005/05/02-13:30:04-CEST [97A560] AuditId=80916: Processing execute request
    2005/05/02-13:30:05-CEST [97A560] Free Memory(bytes)=49410200 Total Memory(bytes)=66715648 Used Memory(bytes)=17305448
    2005/05/02-13:30:05-CEST [F1DD49] Initializing execution for auditId= 80916 parentAuditId= null topLevelAuditId=80916 taskName=TEST
    2005/05/02-13:30:05-CEST [F1DD49] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    2005/05/02-13:30:05-CEST [F1DD49] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.ProcessFlow'
    2005/05/02-13:30:05-CEST [F1DD49] java.lang.NullPointerException
         at java.lang.String.<init>(String.java:166)
         at oracle.sql.CharacterSet.AL32UTF8ToString(CharacterSet.java:1378)
         at oracle.jdbc.driver.DBConversion.CharBytesToString(DBConversion.java:527)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:621)
         at oracle.jdbc.driver.T2CCallableStatement.execute_for_describe(T2CCallableStatement.java:846)
         at oracle.jdbc.driver.T2CCallableStatement.execute_for_rows(T2CCallableStatement.java:1007)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
         at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4124)
         at sqlj.runtime.ExecutionContext$OracleContext.oracleExecuteUpdate(ExecutionContext.java:1556)
         at oracle.wh.runtime.platform.operator.owf_process.NativeOWFProcessOperator.defineProcessFlow(NativeOWFProcessOperator.java:1029)
         at oracle.wh.runtime.platform.operator.owf_process.NativeOWFProcessOperator.executeDefault(NativeOWFProcessOperator.java:476)
         at oracle.wh.runtime.platform.operator.owf_process.NativeOWFProcessOperator.execute(NativeOWFProcessOperator.java:227)
         at oracle.wh.runtime.platform.adapter.rtp.NativeExecutionAdapter.execute(NativeExecutionAdapter.java:43)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:63)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:534)
    2005/05/02-13:30:05-CEST [F1DD49] Initializing execution for auditId= 80916 parentAuditId= null topLevelAuditId=80916 taskName=TEST
    2005/05/02-13:30:05-CEST [F1DD49] oracle.wh.runtime.platform.service.controller.RecoveryInProgress: RPE-01008: Recovery of this request is in progress.
         at oracle.wh.runtime.platform.service.controller.AdapterContextImpl.initialize(AdapterContextImpl.java:1307)
         at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:789)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:76)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:534)
    2005/05/02-13:30:05-CEST [F1DD49] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    2005/05/02-13:30:05-CEST [F1DD49] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.ProcessFlow'
    2005/05/02-13:30:05-CEST [F1DD49] Native execution operator initiating recovery by recoverable operator oracle.wh.runtime.platform.operator.owf_process.NativeOWFProcessOperator
    2005/05/02-13:30:05-CEST [F1DD49] report_execution_result auditId=80916
    2005/05/02-13:30:05-CEST [F1DD49] java.lang.NullPointerException
         at java.lang.String.<init>(String.java:166)
         at oracle.sql.CharacterSet.AL32UTF8ToString(CharacterSet.java:1378)
         at oracle.jdbc.driver.DBConversion.CharBytesToString(DBConversion.java:527)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:621)
         at oracle.jdbc.driver.T2CCallableStatement.execute_for_describe(T2CCallableStatement.java:846)
         at oracle.jdbc.driver.T2CCallableStatement.execute_for_rows(T2CCallableStatement.java:1007)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
         at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4124)
         at sqlj.runtime.ExecutionContext$OracleContext.oracleExecuteUpdate(ExecutionContext.java:1556)
         at oracle.wh.runtime.platform.operator.owf_process.NativeOWFProcessOperator.defineProcessFlow(NativeOWFProcessOperator.java:1029)
         at oracle.wh.runtime.platform.operator.owf_process.NativeOWFProcessOperator.executeDefault(NativeOWFProcessOperator.java:476)
         at oracle.wh.runtime.platform.operator.owf_process.NativeOWFProcessOperator.execute(NativeOWFProcessOperator.java:227)
         at oracle.wh.runtime.platform.adapter.rtp.NativeExecutionAdapter.execute(NativeExecutionAdapter.java:38)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:63)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:76)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:534)
    2005/05/02-13:30:06-CEST [97A560] Free Memory(bytes)=49283952 Total Memory(bytes)=66715648 Used Memory(bytes)=17431696
    2005/05/02-13:30:06-CEST [97A560] AuditId=80916: Request completed
    Any idea?
    Thanks an regards
    Andreas

  • Execute process flow with OMB*Plus

    Hello,
    somebody know how to execute a process flow designed with OWB 9.0.4.8.21 within OMB*Plus?
    Thanks,
    Pedro

    Currently it is not possible to execute Process Flows or Mappings from OMB. OMB is to be used mostly as a metadata manipulation and processing platform, not for run-time management.
    What you could do is to put OMB metadata operation commands and runtime execution commands one after the other in a shell script and then run everything from this shell script (if this is what you are trying to do).
    Regards:
    Igor

  • Running of process flow does not show any Active session in Database

    Hi Team,
    I am running a process flow in OWB 11g ( From Design Center ) which is having around 100 maps within it. However, from Control Center I can see the Process Flow is running ( i.e. Green check is visible beside the process flow) but when I run SQL query in backend database ; I am unable to see any running object ( i.e. OWB map name as package object) there corresponding to this Process Flow
    I am running the below query to check the availability of running session :-
    SELECT A.LOGON_TIME,A.SID,B.OBJECT_NAME,A.*
    FROM gv$session A, dba_objects B
    WHERE A.PLSQL_ENTRY_OBJECT_ID = B.OBJECT_ID
    AND A.STATUS = 'ACTIVE'
    Could you please suggest if this is something wrong in the development of the Process Flow or we can`t see any running map there in backend when we execute any process flow from OWB ?
    Thanks in advance
    Nilava Sen

    Try below query
    select sid,module,program,status,sql_id from gv$session where status='ACTIVE';
    select * from gv$access;

  • Unix Script in Process Flow

    Hi
    I have created Process flow which calls Unix Script and deployed the Process flow successfully. But it is giving error when i execute the process flow saying required scripts are not deployed.
    Do we need to deploy the unix scripts? if yes, could some one advise how do we do this, as i couldn't see modules to import the Unix Script.
    I am using OWB 11G R2.
    Thanks

    Hi
    I have created Process flow which calls Unix Script and deployed the Process flow successfully. But it is giving error when i execute the process flow saying required scripts are not deployed.
    Do we need to deploy the unix scripts? if yes, could some one advise how do we do this, as i couldn't see modules to import the Unix Script.
    I am using OWB 11G R2.
    Thanks

  • Load .csv file data with OWb Process flow using Web

    Hi,
    I Have a file in my local machine( Machines on multiple user's), need to load data through Web user interface.
    Let's say have a web page with multiple radio buttons respective to different sources, by clicking on each button will pass the path of .csv file to through Application, (API or Java programming interface) execute owb Process flow as a accepting file path as a input parameter to execute for loading purpose.
    Should facilitate view data, Update data through web based on user requests.
    Need your guidence how can i implement this with OWb 11g R2.
    Assuming with Web browser functionality. Please confirm it and if yes, please throw some light how could be the steps to implement.
    Thanks

    Hi David,
    Thanks for your reply.
    Undersatnd your proposed solution.But my requirement should be as follows.
    1. Currently under consideration using web page likely to be implement with Java, allowing users to load .csv file data into staging area.(Loading flat file into Data abse table)
    Case 1, Assuming OWB software is not installed on user machine. I think no.
    Is it possible through web page (this case Java page) to trigger java procedure/Pl/SQl procedure or integration of both to laod data into staging area.If yes, how it could effect performance of data load with 1 GB file.
    Case 2, OWb client software installed on User machine, while runtime passing parameters means passing manually?
    In case it is automated, how should i pass machine name & Path to owb runtime web browser.
    Could you please show me guidence how should I acheive this functionality with APEX customization part?
    Thanks agin for your support.
    Anil

Maybe you are looking for

  • Prompt used as view selector for multiple reports

    Hi All, Can a dashboard prompt be used as View Selector for multiple reports? If yes, please let me know how? Thanks Sumita

  • Kodo JDO 2.3.0 beta 5

    All, We have just released a new beta release of Kodo JDO 2.3.0. This beta includes functional managed transaction integration, WebSphere support, many bug fixes, documentation improvements, and more. We are planning on releasing Kodo JDO 2.3.0 RC1 o

  • How to specify a constant value in external tables??

    Create table cp_portfolio_ext rec_type                                                varchar2(1), acct_nbr                                                varchar2(23), acct_title                                              varchar2(50), prod_type_c

  • Duplicate notices

              When I enter Birthday dates in my iCal it works fine. Recently, i discovered if  I added the numerical date (11/11/1921)  in birthdays section of the Address Book. it would convert the date to "November 11, 1921"  and  calculate how old a p

  • Problem med Exprot pdf

    Jag är lärare i matematik. Beställde Adobe export för att kunna konvertera lärarhandledning till word, kopiera formler ur denna, redigera dem och skapa provuppgifter genom att klippa och klistra.Tyvärr blir formler och ekvationer mycket märkliga, går