Process Flow Design

I'm looking for some guidance on a Process Flow Design.
Background -
I'm trying to develop a process, using OWB, to load 400+ tables into an ODS (external tables -> DB tables).
Can this be achieved in one process flow or do I need to create multiple process flows (smaller chuncks) or 400+ process flows?
Does any good documentation exist on this subject?
Thanks
Mike

Hi,
The .bat file looks something like this:
rem echo OFF
set ORACLE_HOME=c:\Oracle\ora10G1.0
set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
sqlplus.exe owbrt9204/owbrt9204@db @F:\BI_FlowScripts\run_process1.sql
There is one .sql flie associated with eac .bat file:
spool c:\BI_FlowScripts\Log\run_process1.log
variable ret_stat number;
DECLARE
REPOS_SCHEMA VARCHAR2(200);
LOCATION_NAME VARCHAR2(200);
TASK_TYPE VARCHAR2(200);
TASK_NAME VARCHAR2(200);
SYSTEM_PARAMS VARCHAR2(200);
CUSTOM_PARAMS VARCHAR2(200);
OEM_FRIENDLY NUMBER;
BEGIN
REPOS_SCHEMA := 'OWBRT9204';
LOCATION_NAME := 'BI_LOC_WORKFLOWS';
TASK_TYPE := 'PROCESS';
TASK_NAME := 'PROCESS1';
SYSTEM_PARAMS := ',';
CUSTOM_PARAMS := ',';
OEM_FRIENDLY := 0;
:ret_stat := PKG_RUN_REMOTE.RUN_JOB ( REPOS_SCHEMA, LOCATION_NAME, TASK_TYPE, TASK_NAME, SYSTEM_PARAMS, CUSTOM_PARAMS, OEM_FRIENDLY );
COMMIT;
END;
print :ret_stat;
exit :ret_stat;
The function RUN_JOB in the package PKG_RUN_REMOTE is the sqlplus_exec_template rewritten as a function which returns the job status (resides in the runtime schema).
We implemented this for OWB 9.0.4, and haven't really looked at it since, so there may be an easier way to do this in the latest version that I'm not aware of.
Roald

Similar Messages

  • How to integrate the Process flow design into Workflow?

    Hi Guys,
    I created a process flow design in OWB. Now I need to integrate this design into Oracle workflow. How can I implement it? Process flow design is saved as an Jpeg or SVG file. Pls suggest the steps how can I do this? Im new to workflow and owb. Im using OWB 10g.
    Regards
    Kishan

    If you deployed the packages to the same location then the second deployment replaced the result of the first one (actually a new version of the process flow was created). You can execute only the latest version...
    Regards,
    Robert

  • 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

  • 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

  • BPC 7.0 - how to design business process flow type Planning process?

    Hi All
    BPC 5.1 system has Business Process Flow, to design synchronized activity plans for a set of user.
    Like we designed user planning in two step BPF -Step1 and Step2, where Step2 was activated only after user completed Step1.
    How to design such requirements in BPC NW 7.0 version?
    Thanks in advance.
    Regrads
    Abhishek
    Edited by: ABHISHEK JAIN on Mar 21, 2009 8:05 AM

    Indeed, if by chance you have not seen the related How-to-Guide, there is an [Article|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f085dd92-a40c-2c10-dcb1-a7c24476b23a] on How to Create a Custom Menu in BPC NW here on the BPX community.
    There is also a lot of explanation on using EVMNU on the SAP Service Marketplace in the [Documentation Addendum|https://service.sap.com/~sapidb/012003146900000031772009E/7NW_SP02_Doc_Addend.pdf] to BPC 7.0 SP02 NW Central Note 1306898
    Best regards,
    [Jeffrey Holdeman|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/jeffrey+holdeman]
    Enterprise Performance Management
    Regional Implementation Group
    Edited by: Jeffrey Holdeman on May 28, 2009 8:40 PM

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

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

  • Experts VS Process Flows on OWB 10g Release 2 (Paris)

    I was looking at the the new features list for OWB 10g Release 2 (Paris), and I notices the new feature called Experts. Does anyone have any insight into when an Expert would be used instead of a Process Flow? It doesn't look like Process Flows are going away, so I was trying to get a grasp of the use for Experts.
    From Here:
    http://www.oracle.com/technology/products/warehouse/htdocs/owb10gr2%20new%20features.htm
    Experts. Experts are solutions that enable advanced users to design solutions that simplify routine or complex tasks that end users perform in Warehouse Builder. You can design these solutions in the Expert Editor which resembles the Process Flow Editor and shares many of the same commands and navigational tools.

    Hi,
    Just to start with the Experts capabilities, they can be used for designing schema objects.......I tried with an expert for sampling the source files, creating External Tables on top of it....validating and deploying..........itz very interesting to work with.........I am unable to see the practical use of this for end users.....
    where as we all know, the PF can only be for executing the deployed objects.....
    Mahesh

  • Error Deploying a Process Flow

    Hi All,
    Each time I try to deploy a process flow I created, I get the error "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor". The Oracle workflow engine is on a separate machine and all connection parameters are correct. A tnsping of the workflow server works as required and I can even connect to the server (sql prompt) from the command prompt.
    Also, I will appreciate any direction to a site where the steps of creating a process flow is detailed.
    Cheers!!!

    Have you installed the workflow server into the database?
    Have you configured the workflow with the configuration assistant?
    Have you linked the workflow in the design center?
    Is the workflow packaged configured with the location?
    !!! Note for Oracle Workflow 2.6.4:
    When you run the Workflow Configuration Assistant, you need to specify the database connect string in the TNS Connect Descriptor box.
    Enter the following values:
    Accept the default for Install Option
    Workflow Account: (Accept the default ) owf_mgr           
    Workflow Password: owf_mgr                    
    Password : <Enter the SYS account password>          
    TNS Connect Descriptor: localhost:1521:orcl          
    Click Submit.

  • Data Type for Process Flow... PB with Date?

    I've got a problem by passing parameters in process flow.
    I have a mapping with a parameter DATE_EXEC (data type : DATE) and a default value that is TO_DATE('20/01/2007' , 'dd/mm/yyyy') . My mapping is working good when i launch it.
    I have a process flow which contains the mapping. This process has a parameter DATE_EXEC (data type : DATE). I bind the 2 DATE_EXEC. But when i launch my mapping the value is not recognized, I try with :
    - TO_DATE('20/01/2007' , 'dd/mm/yyyy')
    - 20/01/2007
    - 2007.01.20
    - 2007-01-20
    My question is what are the data type in process flow? They are not ORACLE TYPE.
    For example , a parameter in a mapping which is a VARCHAR2 must be input between quotes but if you bind it to a parameter of a process flow which is a STRING (not ORACLE Data type) , you must input it without quotes?
    Anybody has some rules about that?
    I apologize for my english, i'm a french people.

    Here is some information on the literal quote or not quote query and what I think you need to do at the end, hope it helps. Not exactly intuitive...since the flow designer (you) have to know what is a PLSQL object and what is not.
    1. Literal = FALSE
    When Literal = FALSE is set then the value entered must be a valid PL/SQL expression which is evaluated at the Control Center e.g.
    'Hello World!'
    22 / 7
    2. Literal = TRUE
    When Literal = TRUE then the value is dependent on the the type of Activity. If the activity is a PL/SQL object i.e. Mapping or Transformation, then the value is PL/SQL snippet. The critical difference here is that the value is macro substituted into the call for the object. The format of the value is identical to that entered as default value in the Mapping editor. e.g.
    'Hello World!'
    sysdate()
    If the activity type is not a PL/SQL object then the value is language independent. e.g.
    Hello World
    3.1427571
    What you should try......
    Check the map activity parameter in your process flow to see if literal is false (an expression), set it to false and then try using your TO_DATE('20/01/2007' , 'dd/mm/yyyy') expression, deploy your flow and execute. Alternatively the user guide defines the DATE type for flow with the format YYYY-MM-DD so you can have the parameter value as '2007-01-20' use literal equal to true and remember and quote your value.
    Cheers
    David

  • 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

  • Process Flow fails to import

    Hi,
    I am trying to import a process flow from one design repository to another and am failing misrably! I have saved an mdl export of the process flow from the repository where it was created and am simply importing the same mdl into the new rep. I do not get any errors during the import however do get a number of warnings like the one below:
    Warning at line 23: MDL1312: Referenced logical location with name <LOC_X> and UOID <109A0BEE09814D6DE04400306EF40E82> not found for PROCESSMODULE <WAREHOUSE_x>. Logical location not set for this module.
    The result of the import is that the process flow is not imported at all.
    what does it mean by Logical Location?
    Any help on this would be most appreciated.
    Thanks
    Mitesh

    Perfect..thats what I was missing. This has soved my original issue but I'm hitting a new one...in my project export there is an invalid process flow (a process flow is making a call to a function that returns a incorrect datatype) and this is causing my import to error. My question now is; is it possible to import an invalid process flow?
    thanks for your help on this.

  • Regarding Performance Tunning of Mapping & Process Flow

    Hi,
    i have around 60-70 GB data in Target database.
    i need do improve the performance of Mapping and Process flow.
    i have used lookup transformation in mapping.
    Plz give me some tips for improving performance of Process.
    Thanks,

    Please go through a Performance Tuning Book for Oracle 10gR2.
    Most importantly remember that in Oracle 10g, your performace of mappings can be increased manifold by following these steps:
    1. Do not design a mapping wherein you load a table and then select from that table to load another table and so on. This is a bad design.
    2. Keep mappings as simple as possible. In other words if a mapping is complicated in terms of joins or other operators then split the mapping into more than one parts.
    3. Also check that all your source tables should be analyzed using DBMS_STATS. Ensuring this one single step can make your work very easy.
    4. Put indexes where you find your predicate has a very high selectivity. Also keep in mind the column ordering of the index.
    5. Use Set Based operation, since it is always a good idea to achieve the result by running one single query rather than a loop and multiple inserts.
    6. Use APPEND PARALLEL hint while loading the target tables. This will not generate wny redo and save time
    7. Please have a recheck while usng some performance intensive operators like UNION, DISTINCT and AGGREGATION
    8. When using a sequence operator to load a large table, check that the sequence should be cached with some values.
    9. When loading large data HASH JOINS are the most appropriate more often than not. So you can use USE_HASH as the hint for selecting from large tables.
    10. Filter out as much unrequired data from a table as soon as possible in the mapping before doing multiple joins.
    I am sure there are many more ... the above is just a random list that I could remember now. Please go through Oracle Performance Tuning Guide, Tom Kyte's Oracle Expert One on One. Knowledge of performance tuning will grow with experience. I am also learning each day !!!
    Regards
    AP

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

Maybe you are looking for

  • Photoshop elements 10 has never worked once. Everytime I open my photos in RAW it crashes!!!

    Can not use this junk pE10

  • Installing libproxy and connecting to a wpa2 wireless problems

    Hi everyone. For a very long time i have used ubuntu based distros. And yesterday i installed ArchLinux. My problem is when i tried to install gnome-shell. I come across with a problem about installing libproxy, the key signature (pgp) error. After m

  • Need info on using Kerberos classes

    Does anybody know, offhand, a decent site that maybe has a tutorial or some explanation about how to use the Kerberos authentication classes that come with the JDK? I haven't looked around yet, but I was wondering if somebody knew a good place. Thank

  • WEBDAV performance - Filr 1.1

    Hi, folks! I configured Webdav-Interface of Filr 1.1 with basic access authentification. The connection is secured by TLS 1.0 (Filr Poodle patches are active). Uploading a large amount of small files results in very low upload speed (maybe due to the

  • Skip ora-00001 and continue?

    Hi, I need to perform an update on a table like this: update myTable set myColumn = ltrim(myColumn, '0'); --trim all leading zeros I wnat this to perform on every row where it does not conflict with my unique constraint. I do not want to disable the