Running two Process Flows

Hi All,
I have created two different process flows and configured them with one scheduler is it a gud idea to schedule to process flows using a single scheduler job.

You can always utilize Oracle resource for parallel processing.
This will surely work but again this has a lot to do with your hardware configuration.
By saying Hardware Configuration, I mean to say the server capabilities.
Once I tried out running 2 process flow with single scheduler, but due to lower end server, there was no significant change in processing time.
Rather I should say, it took more time..

Similar Messages

  • How to run a process flow in recovery mode

    Hi,
    I have 10 Mappings in a Process Flow. While executing that process flow, All of sudden It got errored out at 5th mapping.
    Please explain me how to run the process flow again from the 5th mapping( which got errored out in the previos run)....i.e I do not want to run the first 4 mappings in that process flow again, I want to run only the remaining mappings in the process flow.
    Please let me know in case you need more information / explaination.
    Thanks in advance...

    Hi
    On the question of process flows and resuming the following article gives some ideas, it has to be designed in the process flow basically;
    http://www.rittmanmead.com/2008/05/resuming-your-etl-process-in-owb/
    The article describes some ideas and techniques for tracking success/failure of flows and restarting.
    Cheers
    David

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

  • Selective run in process flow

    Hi all,
    Can i run the process flow selectively? For example i have 10 activities in a process flow. I want to run only 3 of them when the process flow execute. is it possible to do? if possible then how can i do this? plzz help.
    Thanks & Regards,
    Sumanta

    RE: have one doubt similar to this.
    I defined the processflow. It has lets say 10 activities.
    It ended up with error due to some error at 3rd activity. I would like to continue from 3rd activity withou doing the same process with the first 2 activities.
    Can we do this?
    Yes, you just need a way for a current run to be able to check to see if the previous run completed as part of the code mentioned above to test for a "need to run this time" condition.
    How to do that? Well, you could log to your own tables in standardized pre- and post-mapping procedures so you could check your own tables to see what ran successfully last time and not run them this time if the whole process flow did not complete.
    Or, you could write code to mine the Runtime Repository views such as all_rt_audit_executions, all_rt_audit_map_runs, etc. to do the same thing.
    The advantage over using your own tables is that you can engineer simplicity of logic, and also the runtime repository won't give you what you want if someone set the audit level to "none" for a given run.
    I would also recommend including a variable in the process flow that is referenced by your conditional code which allows you to force a total rerun in cases where you want to do a full rebuild regardless of how the last run went.
    That is how I do it, anyway. My process flows will restart automatically at point of failure on a subsequent run without any need for operator intervention besides calling to start it.
    Mike

  • What is the best way to run two process in one VI

    Hi all...
    I'm trying to run two process in the same VI at the same time, which do different operations.
    One loop collect data from COM port, the other loop collect data from sound card. And two process should work independently.
    So can I simply put two while loops in the VI?
    The attachments are my VIs. 
    Thank you!!
    Attachments:
    AC_Radar_Receive.vi ‏81 KB
    RadarAudioPlug.vi ‏435 KB

    You haven't said what your long term goal is, but putting two loops in the same VI that are doing different things is a poor design choice. The problem is that it limits your options for reusing or expanding your code. Queues, events and notifiers all work equally well whether the processes are in a single VI or spread across a dozen VIs.
    Mike.. 
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Running Two Process together!!.. second process does not execute!!

    Hello all,
    Am trying to run two process continously.. taking outputs.. from first process as input for second!! But second process should occur when first process is completed!!.. as it is moving files created by first process!!
    Process process1 = Runtime.getRuntime().exec(optimizer.exe);  //It creates some files in temp folder.. !!
    String another = System.getProperty("user.dir");
    String path = another + File.separator + "temp" + File.separator + "*.*"
    String script = "cmd /c move path d:/temp"
    Process process2 = Runtime.getRuntime().exec(script);process2 does not take place since process1 does not finished before executing that line.. so no files are there to move!!
    How to make stop my program for a while until first process is finished??
    Thanks!!
    gervini

    How can you figure out when optimizer is finished?
    Do you know how many files it will create? Will it
    t create all of them at once? Yes optimizer.exe creates 3 files at once..!!
    Then I have to move these files to different location..
    You're going to have
    to either be notified or do some polling to find out
    when it's ready for the second process. A simple
    example of this is a loop that checks the temp
    directory for files and proceeds once there are some
    with a sleep() in there some place so it doesn't kill
    the machine.How to keep checking for files then!! .. smething like this!!
    boolean exists = (new File("filename")).exists();
        if (exists) {
            // File or directory exists
        } else {
            // File or directory does not exist
        }

  • OMB Script - Run a process flow (OMBSTART) with input parameters.

    I have a process flow with one input parameter : PF_SCHEMA_NAME. This is a string, literal value = false.
    While running this from the OWB Control center UI, it prompts for value of parameter.
    I need to execute this process flow using OMB script.
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN '$OWFLOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('ADVIEWPROD')
    This gives following error:
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN 'OWF_LOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('ADVIEWPROD')
    Starting Execution WMREPORT_INCR_DAILY_FCT_SIMP
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER :
    ORA-06550: line 1, column 668:
    PLS-00201: identifier 'ADVIEWPROD' must be declared
    ORA-06550: line 1, column 626:
    PL/SQL: Statement ignored
    Completing Execution WMREPORT_INCR_DAILY_FCT_SIMP

    Thanks David for your reply.
    But your suggestion did not work. I am still getting the same error.
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN '$OWFLOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('"ADVIEWPROD"')
    Starting Execution WMREPORT_INCR_DAILY_FCT_SIMP
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER :
    ORA-06550: line 1, column 651:
    PLS-00201: identifier 'ADVIEWPROD' must be declared
    ORA-06550: line 1, column 608:
    PL/SQL: Statement ignored
    Completing Execution WMREPORT_INCR_DAILY_FCT_SIMP
    Can you please help?

  • Integrating process flows

    Hi All,
    I had different projects in my OWB and each process has its process flow which has several mappings in it.
    I want to integrate all of these process flows from different projects into a single process flow where I can either run two process flows parallel or one after another and should also be able to decide whether to continue or not if one process flow fails.
    Can you please help me, Is it possible if not is their any work around for it.
    Many Thanks,
    Danish

    For example, you have
    Project P1
       Processflow module OWF1 with location name LOC_OWF1
       Processflow for this application P_PROJ1
    Project P2
       Processflow module OWF2 with location name LOC_OWF2
       Processflow for this application P_PROJ2Under OWB (runtime) repository owner create procedure
    create or replace procedure P_MASTER_PROCESS as
      return_result1 NUMBER(10);
      return_result2 NUMBER(10);
    begin
      return_result1 := WB_RT_API_EXEC.RUN_TASK(location=>'LOC_OWF1', task_type=>'PROCESSFLOW', task_name=>'P_PROJ1',
          system_params=>',', custom_params=>',', oem_friendly=>0, background=>0);
      return_result2 := WB_RT_API_EXEC.RUN_TASK(location=>'LOC_OWF2', task_type=>'PROCESSFLOW', task_name=>'P_PROJ2',
          system_params=>',', custom_params=>',', oem_friendly=>0, background=>0);
    end;Oleg
    Message was edited by:
    tsiboleg

  • User Defined Activity "hangs" Process Flow if it runs for more than 10mins

    I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before.
    However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete. If I run the process flow with a parameter that generates a shell command that executes in two or three minutes, the process flow continues past the sucessfully executed user defined activity to the next activity.
    BUT
    If I run the same process flow (without modification or even redeployment) with a different parameter , the user defined acivity sucessfully executes (after about 11 minutes or so) but the process flow , doesnt seem to know that it is finished and just says it is still executing.
    my "user defined" activity has
    COMMAND: /usr/bin/ksh
    PARAMETER_LIST bound to a variable which is set earlier in the process flow.
    RESULT_CODE:
    SCRIPT :
    SUCESS_THRESHOLD : 0
    by examining (RUNTIME CONTROL CENTER SCHEMA).all_rt_audit_execution_params
    I can see that the variable contents assigned to RESULT_CODE look like this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_SHORT'
    or this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_LONG'
    I put the -n in because I thought that may have been the problem, but I think its more likely that there is come sort of ".properties" in a runtime file that needs to be set to control the "timeout" of user defined activities.
    (like in Runtime.properties
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    except maybe
    .........Nativeexecution.timeout = .....?????
    Has anybody had a problem like this? Found a document describing available configuration properties for PF activites?
    Can anyone help?

    I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before.
    However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete. If I run the process flow with a parameter that generates a shell command that executes in two or three minutes, the process flow continues past the sucessfully executed user defined activity to the next activity.
    BUT
    If I run the same process flow (without modification or even redeployment) with a different parameter , the user defined acivity sucessfully executes (after about 11 minutes or so) but the process flow , doesnt seem to know that it is finished and just says it is still executing.
    my "user defined" activity has
    COMMAND: /usr/bin/ksh
    PARAMETER_LIST bound to a variable which is set earlier in the process flow.
    RESULT_CODE:
    SCRIPT :
    SUCESS_THRESHOLD : 0
    by examining (RUNTIME CONTROL CENTER SCHEMA).all_rt_audit_execution_params
    I can see that the variable contents assigned to RESULT_CODE look like this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_SHORT'
    or this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_LONG'
    I put the -n in because I thought that may have been the problem, but I think its more likely that there is come sort of ".properties" in a runtime file that needs to be set to control the "timeout" of user defined activities.
    (like in Runtime.properties
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    except maybe
    .........Nativeexecution.timeout = .....?????
    Has anybody had a problem like this? Found a document describing available configuration properties for PF activites?
    Can anyone help?

  • OWB 11g Problem in running Process flow

    I’ve build a process flow as described in “Getting Started with Oracle Warehouse Builder 11g”. But if I run the process flow I get a warning message “You have to deploy this object before running” followed by the error RTC-5170: The selected objects do not require deployment as they are all up to date in the Control Center.
    Therefore I’m not able to run the process flow. What’s wrong? It looks so easy in Getting Started but it doesn’t work.
    I’ve found two threads regarding this error from last year in this forum. But there is no solution for OWB 11g.
    Has anyone an advice for me?

    I've successfully installed OWF as described in Installation guide (all components are on the sam server).
    But when I deploy a workflow in OWB I get some errors. In the job details
    I find ORA-00942 and RPE-02053. It seems that the workflow repository is missing.
    Are there additional steps for creating a workflow repository?
    Or what is wrong? All installation logs (wf.log and workflow.log) are without errors and with success messages.
    Any idea?

  • How to run process flow outside owner project?

    Hi,
    I have two process flows (process_flow_A and process_flow_B) in two different projects (projectA, projectB). Process_flow_A has to be run after process_flow_B is finished. So what I am thinking now is either put process_flow_A in Project B or put process_flow_B in project A. But how to see process flows which are not in it's owner project? Or is there any other ways to do this task?
    thanks.

    It can be done - in a round about way.
    You can call a SQLPlus operator. The operator will call sqlplus_exec_template.sql. You can use this script to call your other process flow in the other project.
    ..owb_home/owb/rtp/sql/sqlplus_exec_template.sql
    If you open up the .sql file, you will see examples of how to use it to call mappings, process flows, etc.
    Hope this helps..

  • Problem in running Process flow

    Hi,
    I’m bit new to OWB. I made mapping which I deployed successfully. I can run through control center and it works fine (it just fills a table). However when I made the process through process flow and after its validation , tries to start it gives me error RTC-5170: The selected objects do not require deployment as they are all up to date in the Control Center, which is followed by RTC-5006 and obviously no data generated in the table. How can I pass this error? Secondly I tried to schedule this, firstly it doesnot ask for the process flow during schedule, secondly even from schedule the map doesnot run.
    Appreciate any help to run the process flow.
    Regards
    Yasir

    In the process flow validate and generate the process flow. then go back to design center and go one step above to process flow package module and right click and deploy the process flow package. once the deployment is successfull then go back to the process flow and right click and start the process flow.
    This should work.

  • What code do process flows run?

    Hi there
    Running a process flow but seems to be hanging - unfortunately can't use the repository browser to get an execution report as it is slow - don't know why?
    Anyway when run mappings I know it is running packages on the database.
    With process flows I understand it is using oracle workflow but I'm not very familiar with this - do process flows have some code on the database you can look at and run hands on in the same way you could run a mapping/transformation.
    This would help identify the error until such time as the repository browser issue is fixed. All i can see is the arrow in the control center and when right-click says error count 1.
    Any ideas?
    Many Thanks

    Hi,
    for monitoring process flows you can use Workflow Monitor.
    Regards,
    Oleg

  • Mapping is not run after adding to existing Process Flow

    I am about to scream.
    I have a process flow that has been running fine.
    I added a mapping to the existing process flow, deployed the process flow, and now when I run the process flow it will not run the new added mapping.
    What gives? I am going to recreate the process flow, but I will not recreate a new process flow everytime I add a mapping to it.
    What am I doing wrong.
    thanks for any help.
    greG

    Oleg,
    Thanks so much for all the help. I read the other posts and checked my mapping but nothing helped.
    I had to put a transition line directly from the fork to my new process and it worked.
    I think it was kind of a logic error on my part.
    I forgot had all my maps that were called from the Fork just going straight to either Error Warning or Success endpoints.
    I tried to add another process after one of the mappings.
    I forgot that to do that I would have to "OR" up all the transitions coming from the forked maps.
    Then proceed from there.

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

Maybe you are looking for