Best practices to design OWB Process Flows

Hi All,
I am using OWB to develop historical data warehouse. For this I have created few mappings that load data from source tables to staging tables and then from staging to target tables.
Now I am designing process flows to execute these mappings. Can someone suggest me what are the best practices to design process flows?
I have few questions in my mind that I am looking answers for:
1) Should I keep the mapping to load staging and target tables in different process flows or in one?
2) Do I need to include an email activity for each mapping failure or in other words how can I integrate all mapping errors in one email?
3) I am using two outgoing transitions from each mapping; one for success and another unconditional, is that right method or I should use three transitions one for success, one for warning and one for error?
4) I have created some email activity templates that I am using in process flows. For development environment I have used test from_address and to_address. But when I actually deploy these process flows in production, these addresses will need to be changed. Will I need to change these address individually in each process flow or in other words what is the best way to deploy process flows?
I am using 10gR2 database and OWB.
Any help will be appreciated.
Thanks,
VKumar

Any help will be appreciated.
Thanks.

Similar Messages

  • OWB Process Flow - How is the best  version control tool ??

    HI all,
    I just start work with OWB and I have a question to know how is the best way to do something.
    Imagine the scenario below:
    If I have 2 or more requests for example:
    Request 1: Create a Dimension City.
    Request 2: Create a Dimension Products.
    I Have ONE process flow and i need put my changes inside. This is my problem.
    In my scenario I don't know what Request goes to Prod First.
    If I put the Request 1 and Request 2 in my PROCESS FLOW, maybe I need change is someone decide change MY REQUEST PRIORITY.
    There is something in OWB to "control the version or changes" ?? For a mapping I export the MDL and commit on SVN, but I dont know haw can i do with the process flow.
    Something to agree multiples peoples work in different mappings and a SAME PROCESS FLOW ??
    What is best way to work with process flow and version control.
    What are the best practices when it comes to version control?
    Thanks.

    Amit,
    Are you really doing this in 10.1.3.x and not 11g?
    At any rate, I don't see how #2 and #3 relate whatsoever to your choice of a version control system. OK, maybe in #2 if there is some "maintenance" activity to be done against the version control server. Subversion is the open source alternative that you listed there and is pretty commonly used. If your company is already using one of the mentioned tools, why change? About the only thing I'd mention is to advise you NOT to use CVS for well documented reasons (JDev does support it) - if you would have picked CVS otherwise, choose Subversion. As far as question #1 - I've only used Subversion (well, I did use CVS for a while) with JDeveloper, so I can say it was "effective enough for me." In 10.1.3.x, I also used the external svn tools for doing lots of things like merging and so forth; in 11g, the support is much much better.
    Best,
    John

  • Design for process flow in OWB

    Hi Experts
    I want to design my process flow. Please send the processflow design template/Document.
    Regards
    frnd

    You define an Oracle Workflow location to specify where you want to deploy your process flows. The Oracle Workflow location points to a workflow schema that runs in the target database. Warehouse Builder process flows comply with the XML Process Definition Language (XPDL). When you generate a process flow, Warehouse Builder generates an XML file in the XPDL format. You can plug the generated XML file into any workflow engine that follows the XPDL standard.
    Process Flow Modules include Process Flow Packages that include Process Flows. The Process Flow Package is a grouping mechanism that determines which process flows you can interrelate. At run time, you can launch one process flow that launches other Process Flows that exist in the same process flow package.
    The Process Flow Module acts as a container by which you can validate, generate, and deploy a group of Process Flows.
    So, it concludes that there is no standard design for process flows, it all depends to your datawarehouse and your ETL process(extracting, transformning. loading)

  • Owb Process Flow getting hanged/stuck .

    Hi,
    Problem description  :-  We have designed a Process Flow in OWB our project. The Process Flow is scheduled to run at 12.00 AM daily Dutch timings.
    We have been facing a problem for around 3 months wherein the process gets hanged/stuck in between without giving any specific error message.
    There isn't any kind of locking happening in the background as well. The OWB log gives the message "Forcibly deactivating execution with audit ID 1660235 ",
    During the time at which the process hangs  The process gets hanged in different timings in different sub processes(not in a particular process, so no specific pattern has been observed.)
    To complete the process flow, we need to kill the process and rerun it again. When reran, it runs perfectly without any error.
    The above error message appears in the log only when a process hangs. There is no such kind of logging during a successful execution.
    Can you please let us know when and why does this message appear in the OWB log file.
    Is there any specific kind of settings or configuration parameters that needs to be set to resolve this.
    Regards,
    Rosy Mukherjee

    You might want to check to see if you have anything "parallel" running
    We recently had an issue with one of our mappings where one day it decided to just stop working and "freeze"
    Our DBA found that we had a Oracle hint for "Parallel" in the code and removed it. After that the mapping ran fine.
    Best of luck

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

  • How to stop OWB Process Flow job

    I have a problem.
    For scheduling OWB Process Flows I use EM (create Job - SQL Script) in which I schedule jobs with script @/home/oracle/scripts/oem_exec_template.sql.
    Sometimes it happens, that the job doesn't finish and I also can't expedite it through Workflow manager because it is not listed there. So next executions for this job doesn't fire, because it is still active (it is shown in EM as Running …..and also I can't stop it there).
    I also can't find the session for this job and also in dictionary I can't find the job, I went through these views, but nowhere I can't find any of my scheduled jobs, and of course also not the ones that are still running.
    DBA_SCHEDULER_JOBS
    DBA_SCHEDULER_RUNNING_JOBS
    DBA_SCHEDULER_JOB_RUN_DETAILS
    Where in dictionary can I find my jobs?
    How can I kill my running jobs?
    OS: Red Hat Linux 3
    DB: 10.1.0.3.0
    OWB: 10.1.0.2.0
    I'm quite desperate about this isue,
    Thank you,
    Gorazd

    Gorazd,
    the best way to identify problem with processflow execution - using OWB Runtime Audit Browser.
    Other variant - using public OWB runtime view, for example for reporting executions of you process run this select under OWB repository owner or any OWB user:
    select created_on,elapse_time,return_result from all_rt_audit_executions
    where object_name='<your processflow name in uppercase>' order by created_on;
    RETURN_RESULT must be equal 'OK' and ELAPSE_TIME (in seconds) greater then 0.
    If this query returns rows with null RETURN_RESULT or RETURN_RESULT<>'OK' or with zero elapse_time and this cases match (by date) with EM problems then you need analyze process executions in more detail with Runtime Audit Browser.
    Alternatively use select from view ALL_RT_AUDIT_EXEC_MESSAGES / ALL_RT_AUDIT_MAP_RUN_ERRORS / ALL_RT_AUDIT_PROC_RUN_ERRORS.
    Oleg

  • Best Practice for Designing Database Tables?

    Hi,
    I work at a company for tracking devices (GPS Devices). Our SQL Server database is designed to have a table for each device we sell, currently there is 2500 tables in our database and they all have the same columns they only differ in table name. Each device
    sends about 4K records per day.
    currently each table hold from 10K records to 300K records
    What is the best practice to design a database in this situation? 
    When accessing database from a C# application, which is better to use, direct SQL commands or views? 
    a detailed description about what is best to do in such scenario would be great. 
    Thanks in advance.
    Edit:
    Tables columns are:
    [MessageID]
          ,[MessageUnit]
          ,[MessageLong]
          ,[MessageLat]
          ,[MessageSpeed]
          ,[MessageTime]
          ,[MessageDate]
          ,[MessageHeading]
          ,[MessageSatNumber]
          ,[MessageInput]
          ,[MessageCreationDate]
          ,[MessageInput2]
          ,[MessageInput3]
          ,[MessageIO]

    Hello Louis, thank you so much for your informative post. I'll describe in detail what situations I came through my 9 months of work in the company (working as a software engineer, but I am planning to take over database maintenance since no one is maintaining
    it right now and I cannot do anything else in the code to make it faster)
    At every end of the month our clients generate report for the previous month for all their cars, some clients have 100+ cars, and some have few. This is when real issue start, they are calling their data from our server through internet while having 2000
    unit sending data to our server, they keep on getting read time out since SQL Server gives priority to insert and hold all select commands. I solved it temporary in the code using "Read Uncommitted" once I initialize a connection through C#. 
    The other issue is generating reports for a month or two takes lots of time when selecting 100+ units. Thats what I want to solve, the problem is the one who wrote the C# app used hard coded SQL Statements
    AND
    the company is refusing to upgrade from SQL Server 2003 and Windows Server 2003. 
    Now talking about reports, there are summary reports, stops reports, zone reports ..etc most of them depend usually on at least MessageTime, MessageDate, MessageSpeed, MessageIO and MessageSatNumber.
    So from your post I conclude that for now I need to set snapshots so that select statements don't get kicked out in favor for insert commands, but does SQL Server automatically select from the snapshots or do I have to tell it to do so? 
    Other than proper indexing what else I need? Tom
    Phillips suggested Table partitioning but I don't think it is needed in my case since our database size is 78GB
    When I run code analysis on the app, Visual Studio tells me I better use stored procedures, views than using hard coded Select Statements, what difference will this bring me when talking about performance?
    Thanks in advance. 

  • 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

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

  • What are the best practice to design Dashboard?

    Hi Friends,
    What are the best practice to design Dashboard?
    Thanks

    1) Use section name instead of Title View to name your report. This way sections can be collapsed and user can still see report name.
    2) Enable alternate coloring in tables and pivots for easy readablity and set table and pivot widths to 100% (for reports in dashboards) to reduce white space and achieve a more "professional look."
    3) Use column selectors and view selectors to reduce the width of reports and reduce the amount of columns user sees to a "practical minimum."

  • What is the best practice in order to create flow in a single maintenance plan?

    Hi All,
    What is the best practice in order to create flow in a single maintenance plan.
    1st Check Database Integrity (Check DB)
    2nd Rebuild Index 
    or 
    1st Rebuild Index
    2nd Check Database Integrity (Check DB)
    Grateful to your time and support. Regards, Shiva

    Use the Maintenance Plan Wizard to create a maintenance plan:
    "This topic describes how to create a single server or multiserver maintenance plan using the Maintenance Plan Wizard in SQL Server 2012. The Maintenance Plan Wizard creates a maintenance plan that Microsoft SQL Server Agent can run on a regular
    basis. This allows you to perform various database administration tasks, including backups, database integrity checks, or database statistics updates, at specified intervals."
    LINK: http://technet.microsoft.com/en-us/library/ms191002.aspx
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Execute Shell Script from OWB Process Flow

    I am trying to execute a Shell Script from a User Defined activity of OWB Process Flow. As I have not done such things earlier
    I need to know:
    1. Where I will put the Shell Script (move_file.sh)?
    2. What are the values in need to enter in the external process parameters (such as Command, Script, Result Code, Parameter List, Sucess Threshold etc)
    Please reply this thread. It would be a big help for me and probably for others as well.
    Kind Regards
    Zakir
    Message was edited by:
    Zakir

    Check this out,.
    http://download-uk.oracle.com/docs/cd/B31080_01/doc/owb.102/b28223/ref_processflows.htm#i1173362
    And answer to your question1, the shell script should be on the unix server.
    Regards

  • How to call OWB Process Flow from APEX?

    Hello.
    I was wondering if there is a way that I can have a OWB process flow kick off from a button in APEX? I know you can have APEX perform PL/SQL upon being clicked, so I am wondering if there is a way that I can do the same for a process flow? We are looking to have a manual kick off for a job and we are trying to use APEX for this. Any information would be great!
    Thank you

    Hi,
    Using SOAP ?if there is a way ... please provide some examples.
    I finished my EDQ process, and now i am trying to find how to call it from APEX
    My web service WSDL is
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Header/>
      <soap:Body>
        <dn:request xmlns:dn="http://www.datanomic.com/ws" id="?">
          <dn:record>
            <dn:ID>?</dn:ID>
          </dn:record>
        </dn:request>
      </soap:Body>
    </soap:Envelope>You did not state your Apex version. If you are on 4.x then see
    Creating a Web Service Reference Based on a WSDL
    Cheers,

  • OWB Process flow deployment into auto sys

    Can some one tell us the steps to be followed for deploying the owb PROCESS FLOW into Auto sys.
    Thanks

    Hi
    There was some work a few years ago, but not sure it was ever productized. You can integrate with any 3rd party scheduler (in a course manner), see the post here;
    http://blogs.oracle.com/warehousebuilder/2008/11/using_3rd_party_schedulers_with_owb_1.html
    Cheers
    David

  • 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!

Maybe you are looking for