Process Flow Restart Logic OWB 11gr2

Hi,
I know OWB 11gr2 doesn't provide PF restart logic and one has to come up with his/er PFRL deisgn and implementation logic. Just wondering if any one has done it sucessfully and can refer me to a proper documentation or design.
Thanks

Read about error handling in Oracle Workflow:
http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15853/T361836T362426.htm
You can use ideas of Workflow default error processing for designing custom system for notifcation administrator about fails in OWB processflow and to provide tools to restart failed activities (it is impossible dirrectly use default Workflow features becuase - restart is possible at whole process where error occured and OWB mapping errors is not produce error events in Workflow).
I guess you need design (I am not a big Workflow expert so maybe better to follow Workflow develoepr guide or ask question at {forum:id=72} forum):
1) procedure for generating "OWB mapping error" event (this procedure should be run periodically, say every 10 minutes)
2) Workflow processflow (and maybe addirional procedures) for processing "OWB mapping error" event
3) suscribe designed processflow to "OWB mapping error" event
Regards,
Oleg

Similar Messages

  • OWB Process flow restart??

    OWB Process flow restart??
    Set up:
    OWB repository 10.2.0.2.0
    OWB client 10.2.0.2.8.
    Oracle version 10G (10.2.0.3.0).
    I have created a process flow(PF1) that has say 5 maps and on'SUCCESS' or FAILURE sends an email.
    I would like to restart the PF1 (after data fix) from the point of failure.
    Did any one has any idea for such a scenario ?
    Thank you!

    So, if you have a process flow package with 2 processes, process1 and process2, create a third process called RunAll.
    In process RunAll you will first run process1, then connect it to process2 with an transition arrow having the conditon set to Success.
    You could also have 2 other transition arrows going from process1 having conditions of Error and Warning (these would go somewhere else besides process2.).
    Then, you would merely run process RunAll. If process1 fails, then process2 never runs, since the transition arrows define the path of success, error, and warning.
    Hope this helps!

  • Error while importing process flow mdls in OWB 11.2.0.3

    Hi All,
    I am facing below error while importing process flow mdls in OWB 11.2.0.3:
      ERROR
      Informational: MDL1328: PROJECT MTH not imported since the object in MDL file
      is the same as the object in the workspace.
      Error at line 11: MDL1261: Error importing PROCESS_FLOW_MODULE MTH.MTH_PF.
      Detailed Error Message:
      MDL1409: Cannot import PROCESS_FLOW_MODULE with physical name <MTH_PF>
      because a PROCESS_FLOW_MODULE <MTH_PF> with the same physical name already
      exists.
    Can someone please let me know on how this can be resolved.
    Thanks in Advance.

    the first information warning message is ok, the 2nd ones should be gone if you use the replace mode
    OMBIMPORT FROM MDL_FILE 'pfm_mod.mdl' USE REPLACE_MODE  MATCH_BY NAMES
    let me know if that fix it

  • How to implement checkpoint restart in OWB 11gR2?

    How to implement checkpoint restart in OWB 11gR2?
    Which will enable us to restart the OWB mapping from the last successfully inserted checkpoint onwards.
    Edited by: user4593813 on Jul 6, 2010 10:23 AM

    Hi Borkur,
    Thanks for reply.
    Actually I want to implement it in OWB. But after I got the answer from you, I decided to do in some othere way.
    The way you mentioned is right when we are performing the operations directly on a table.
    But in my scenario, an intermediate data is generating. I want to perform lag over operation on those records. Its possible by view.
    So for performing operations for intermediate result, Oracle is providing Table Function concept. I can pass the result to it.
    But the problem again is, how to implement the lag over operation there.
    Any idea.?
    Thanks and regards
    Gowtham sen.

  • Process Flow Warning in OWB.

    Hi All,
    OWB Config Details is as follows:
    Oracle 9i Warehouse Builder Client: 9.2.0.2.8
    Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
    1> Following Warning is displayed when Process Flow is validated in Process Editor in OWB.
    VLD-10005: The following path in the process flow is a loop and may cause the process to loop infinitely,
    START->EXT_SHELL_SCRIPT->M_STG_GRADE_OF_SERVICE->EMAIL_ERROR->UPDATE_MAP_PROCESS_ERROR->
    2> A mapping is developed in OWB with some default configuration parameters e.g. In a mapping involves Source Text File as Source and Staging Table as Target.
    Readsize and Bindsize config parameters are set to 5000 respectively. I included the same mapping in process flow as mapping. The above mentioned Config Parameters are modified to 5242880. I committed the changes & synchornized in the process flow editor. I was expecting the modified config parameter will be displayed in the process flow editor. However I found that it still displays old config parameters and not modified config parameters. Is this expected or Did i miss some steps ?
    Can someone please let me know more on these issues?
    Regards,
    Vidyanand

    Re your first question, you are probably hitting a bug (3035080) that makes OWB generate false warnings. Please ignore the warnings and try to deploy and run the process flow.
    As for your second question - I cannot reproduce this on 9.2.0.2.8. The configuration properties are updated corectly in the SQLLOADER map and I get the same values in the process flow. By the way, why are you not using external tables instead of the SQLLoader maps?
    Regards:
    Igor

  • Can we run process-flow from outside OWB

    Hi All,
    I am scheduling my process-flows daily in night. If any process-flow fails, they will rectify the problems and they want to run the process flow manually, outside own, like SQL.
    Regards,
    Kumar.

    Hi Detlef,
    I tried to execute the following, I dint get any response and the sqlplus closed automatically. When I saw the execution details no executing had taken palce. And even I tried to execute the command by commenting the exit in the script.
    sqlplus RA_OWB1/RA_OWB1@RADEV1 @C:\OraHome_1\owb\rtp\sql\sqlplus_exec_template.sql RA_OWB1 PlatformSchema ProcessFlow SAI_PF "," ","
    Is there any external (oracle function), so that I can pass any number of Process-flows as parameters for execution. Client will create a form with a list of check boxes and execute button. when the user selects the check boxes according to his rerquirements and click execute. then all the process-flows should run.
    Regards,
    Kumar.

  • Process flow hanging in owb 11.2.0.2

    Hello All,
    My process flow keeps on running and never completes but in the design center I see that my maps have all completed, I checked my tables and the data has been loaded.
    There is this process running in the background. I don't know what this is trying to do.
    How could i solve this problem.
    select /*+ FIRST_ROWS(1) */ tab.rowid, tab.msgid, tab.corrid, tab.priority, tab.delay, tab.expiration ,tab.retry_count, tab.exception_qschema, tab.exception_queue, tab.chain_no, tab.local_order_no, tab.enq_time, tab.time_manager_info, tab.state, tab.enq_tid, tab.step_no, tab.sender_name, tab.sender_address, tab.sender_protocol, tab.dequeue_msgid, tab.user_prop, tab.user_data
    from "OWBSYS"."WB_RT_NOTIFY_QUEUE_TAB" tab
    where q_name = :1 and corrid = :2 and (state = :3 ) for update skip locked
    SELECT MIN(MSGID)
    FROM WB_RT_NOTIFY_QUEUE_TAB N1
    WHERE PRIORITY = (
    SELECT MIN(N2.MSG_PRIORITY)
    FROM AQ$WB_RT_NOTIFY_QUEUE_TAB N2
    WHERE N2.CORR_ID = :B1 AND MSG_STATE = 'READY') AND N1.CORRID = :B1
    BEGIN wb_rt_notification.wait( :1 , :2 ,
    :3 , :4 , :5 )
    ; END;

    Hi,
    We are dealing with the same issue. Is this solved yet at your site?
    I also note there are lots of records in WB_RT_NOTIFY_QUEUE_TAB. A lot of the AQ$_WB_RT_NOTIFY_QUEUE_TAB_E records are pretty old
    Can I just delete them?
    SQL> select count(*), Q_NAME from owbsys.WB_RT_NOTIFY_QUEUE_TAB group by Q_NAME;
    COUNT(*) Q_NAME
    80223 WB_RT_NOTIFY_QUEUE
    751129 AQ$_WB_RT_NOTIFY_QUEUE_TAB_E
    best regards, Hans

  • Error While Importing Process Flow in OWB Repository.

    Hi All,
    OWB Config Details is as follows:
    Oracle 9i Warehouse Builder Client: 9.2.0.2.8
    Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
    Following Error Message is displayed when i tried to import process flow from one OWB Repositoty to another OWB Repository.
    Warning at line 23: MDL1312: Referenced logical location with name <PF_STG_INC_LOC> and UOID <F3940F1D5EB84985E0340003BA0AF737> not found for PROCESSMODULE <SALES_INC>. Logical location not set for this module.
    Warning at line 28: MDL1320: PROCESS PF_C_C_CALLS_INC in STG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
    FLSTG.PROC_GET_ETL_DATA_DATE does not exist.
    Warning at line 28: MDL1320: PROCESS PF_STG_CALL_CENTER_CALLS_INC in FLSTG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
    FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL does not exist.
    Informational: MDL1134: COMMIT issued at end of import data file.

    Hello, all the errors you've been given are related to missing objects.
    You should re-create/import the location for you process flows before importing the process flows themselves.
    Also verify that you have imported the procedures FLSTG.PROC_GET_ETL_DATA_DATE and FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL because you use them in your process flows so you need them: OWB refuses to import a process flows if some objects are missing because it would break some links.
    In general process flows should be imported where you have all the other objects in the repository because they are the final step and they reference many other objects.
    Hope this helps - Antonio

  • Error While Improting Process Flow in OWB Repository.

    Hi All,
    OWB Config Details is as follows:
    Oracle 9i Warehouse Builder Client: 9.2.0.2.8
    Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
    Following Error Message is displayed when i tried to import process flow from one OWB Repositoty to another OWB Repository.
    Warning at line 23: MDL1312: Referenced logical location with name &lt;PF_STG_INC_LOC&gt; and UOID &lt;F3940F1D5EB84985E0340003BA0AF737&gt; not found for PROCESSMODULE &lt;SALES_INC&gt;. Logical location not set for this module.
    Warning at line 28: MDL1320: PROCESS PF_C_C_CALLS_INC in STG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
    FLSTG.PROC_GET_ETL_DATA_DATE does not exist.
    Warning at line 28: MDL1320: PROCESS PF_STG_CALL_CENTER_CALLS_INC in FLSTG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
    FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL does not exist.
    Informational: MDL1134: COMMIT issued at end of import data file.

    Hello, all the errors you've been given are related to missing objects.
    You should re-create/import the location for you process flows before importing the process flows themselves.
    Also verify that you have imported the procedures FLSTG.PROC_GET_ETL_DATA_DATE and FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL because you use them in your process flows so you need them: OWB refuses to import a process flows if some objects are missing because it would break some links.
    In general process flows should be imported where you have all the other objects in the repository because they are the final step and they reference many other objects.
    Hope this helps - Antonio

  • (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.

  • WFT to OWB Process Flow migration

    We have a workflow process defined with Oracle Workflow Builder 2.6. We keep workflow in a wft file and deploy it to Oracle 9 and 10 databases with wfload utility.
    The process basically calls some OWB mappings and stored procedures.
    Now we want to migrate to 11G.
    Is there any way to upgrade it to Process Flow in Oracle Warehouse Builder ?
    Do we need a seprate license to run the Process Flow in Oracle 11G using Worklfow Engine ?
    Thanks

    Oleg2 wrote:
    No, you don't need sepparate license for Oracle Workflow on 11g database.
    Workflow already installed with 11g - look at ORACLE_HOME\owb\wf
    OK, thanks, I was able to install workflow from the folder above, I was not sure about licensing.
    Is there any way to upgrade it to Process Flow in Oracle Warehouse Builder ?It depends on how will you migrate to 11g database, including workflow/OWB migration.
    What OWB release did you use for mapping design ?
    I already migrated the mappings from OWB 2.6 to newest OWB using metadata export/import.
    But the workflow process was maintained in Oracle Workflow Builder 2.6, is there any automated migration from Workflow to Process Flow in new OWB.
    and what whas the reason for avoiding deployment processflow via OWB?
    I do not know the reason, I was not involved in the project from the beginning. Probably because it was easy to call wfload from bat/sh script in installation script.
    Regards,
    Thanks

  • 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

  • Problem Running Process Flow When Database Objects Deployed Outside of OWB

    Hi
    I am having a few problems running process flows that I'm deploying through OMB.
    My set up is as follows:
    All database updates are done outside of OWB (for version control purposes).
    Each object within OWB is exported to an MDL file, which is then imported into the production repository using an OMB Script.
    Once everything has been imported into my production version, I'm then deploying the process flows from within the OMB script.
    When I then go to run the process flow, I get the following error ...
    RPE-02075: Oracle Workflow failed to process the execution request for Activity LOAD_COUNTRY_PF:LOAD_COUNTRY. This may be because dependent objects have not yet been deployed.
    I can see through the Control Center, that the status of all the objects that the process flow is going to use are set to having a Design Status of 'New'. So obviously OWB doesn't realize that these objects already exist in the database, which is why the process flow errors.
    Is there any way around this? Can I somehow set the Design Status of all the objects to 'Unchanged' through OMB? Is there a way to fool the process flow into thinking that the objects do exist? Can I run the process flow outside of OWB?
    Any help would be appreciated.
    Thanks
    Liffey

    Hi Liffey,
    Is there any way around this?
    Can I somehow set the Design Status of all the objects to 'Unchanged' through OMB?
    Is there a way to fool the process flow into thinking that the objects do exist?of course you must deploy mappings before deploying processflow
    and as I know there is no legal method for avoiding this.
    Regards,
    Oleg
    PS. Look at this thread [Deploying without Deploy|http://forums.oracle.com/forums/thread.jspa?messageID=2655726&#2655726]
    It seems for OWB10gR1 exists method for manual modification OWB runtime repository tables for mark mappings as deployed

  • Modify process flows using Oracle Workflow

    Hi,
    I'd like to use Oracle Workflow to enhance the process flows created using Warehouse Builder, as some features are missing if compared with the full-blown Workflow Builder, and it is desired to integrate OWB processes in larger ones. I have successfully applied changes on the Workflow processes generated from OWB but it's not clear how far I can go, especially because I don't want to lose too much of the benefits of the original Workflows:all mapping results should continue to show in the Runtime Audit Browser, and it shouldn't be impossible to deploy the processes in a new environment.
    I am worried that when I change the processes manually in Workflow, I lose the possibility to re-deploy automatically from OWB, but this is tolerable as long as the final Workflow processes are maintainable and deployable.
    Has anyone tried a similar approach? How much can it be feasible/supported??
    regards, Antonio

    Jean-Pierre, thank you very much for your reply.
    I'm still evaluating what will be done through OWB and what through OWF. However my first attempts were oriented along the lines you suggest, that is to keep the process flows generated by OWB untouched, and use them as building blocks for larger processes. At the moment I am trying to realize what balance gives the best result. One extreme would be to use OMB scripting to wrap mappings in very simple generated processes, deploy them and build all the workflow logic in OWF. The other extreme would be to implement complete workflows through OWB and modify them through Workflow, but I'm sure this would certainly not be supported (as the Workflow developer manual states).
    My intent is to use OWF to add some flow logic I find difficult to introduce using OWB, especially for recovery actions, eg I added a join operator to the standard AND and OR, which purpose is to wait that all joining processes complete and than to branch depending on a failure in any process. I don't want the following recovery/logging actions to start unless processing has stopped.
    I built such logic very easily throw OWF but it's very involved using OWB, unless I'm missing something...
    Antonio

  • Process flows without Oracle Workflow?

    I am using OWB 10.2, running with a 10.2 database. I want to create a new workflow module, package, and flow, and execute it the process flow using the OWB scheduler. The documentation implies that this configuration is possible, but when I create the workflow module it wants an Oracle Workflow connection for the location. I get the feeling that I'm overlooking something basic in the documentation.
    QUESTION:
    1) Is Oracle Workflow REQUIRED to create, deploy, and execute a process flow?

    Hi,
    Oracle Workflow is required for deploying processflow.
    Where did you read in documentation about possibilities of running processflows without OWF? OWB instalation guide tells:
    "If you plan to use Warehouse Builder process flows, you need to install Oracle Workflow to enable deployment."
    Regards,
    Oleg

Maybe you are looking for

  • Troubleshoot Main Image for spry photo gallery

    Hello, I am modifying some spry files to see if I can get the hang of it using my images. I have taken the photo gallery files gallery.js SpryData.js SpryEffects.js xpath.js The folder structure contains images and thumbnails on the root folder as we

  • Adobe Photoshop Starter Edition 3.2

    i HAVE ALL MY PHOTOS IN STARTER EDITION 3.2, WHAT HAPPENS TO THESE PHOTOS IF I DONT WANT TO UPGRADE TO ANOTHER EDITION, I ONLY USE THEM TO VIEW AND PRINT, MY HUSBAND IS AN ARTIST AND I OFTEN PRINT PHOTOS FOR HIM AS A REFERENCE.

  • Query on iphone 5 service in India

    Hi All, I am planning to buy unlocked version of iphone 5 from US through authorized store and will be using the same in India. However, since Apple talks about providing the 1 year warranty, would like to know if anything happens to my iphone, will

  • Buzz when using 1/4 inch cables?

    Hi there, This isn't a question about Logic per se but I figure this would be the best place to get an answer. So I've found using many different setups that I consistently get a low-level buzzing when monitoring or recording from a 1/4 inch cable. I

  • Adobe Flash + Firefox + Nexus 7 Tablet = Disaster or Rocket science?

    Adobe Flash + Firefox browser + Nexus 7 Tablet android This is next to impossible to get working for me. Is this even a good idea to search for a solution? How much time should be allotted to this exercise?