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

Similar Messages

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

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

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

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

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

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

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

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

  • How to run shell script using External Process in Process Flow?

    Hi,
    We can run external process using Process flow.
    I would like to run shell script as external process in Process flow.
    Could any one please explain it?
    Thanks and regards
    Gowtham Sen.

    HI,
    As you said I tried this case. I got the following error. The script is running successfully while I tested at unix command prompt.
    The error is as follows..
    tarting Execution PFPS_SMPL_RUNSHELL
    Starting Task PFPS_SMPL_RUNSHELL
    Starting Task PFPS_SMPL_RUNSHELL:EXTERNALPROCESS
    /SOURCE_FILES/CollectFiles.sh: line 1: ls: command not found
    /SOURCE_FILES/CollectFiles.sh: line 1: wc: command not found
    /SOURCE_FILES/CollectFiles.sh: line 1: ls: command not found
    Completing Task PFPS_SMPL_RUNSHELL:EXTERNALPROCESS
    Starting Task PFPS_SMPL_RUNSHELL:EXTERNALPROCESS_1
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Sep 29 22:57:39 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    Enter user-name: SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    Enter user-name: SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    Completing Task PFPS_SMPL_RUNSHELL:EXTERNALPROCESS_1
    Completing Task PFPS_SMPL_RUNSHELL
    Completing Execution PFPS_SMPL_RUNSHELL
    My scenario is---
    I am trying to return a file name from one shell script. I created a external process for that. After completion of this process, I am running another script which takes that file name and trying to create a external table. The both scripts are runnning successfully. But while I am trying to run using process flow, its not coming.
    And I am not getting the way to catch the output of external process and pass it as parameter as another external process.
    Any suggestions are welcome.
    Thanks and regards
    Gowtham Sen.

  • Getting error when running process flows in oem

    Hi all,
    I'm trying to run a process flow in oem (using oem_exec_template.sql script), but it keeps failing with error "nms-1013: sqlplus does not exist". I tried running a map too and it failed with same message.
    Any idea anyone?
    Thanks!
    Yanet

    Hi,
     Looks like you have an obvious code error, invalid cast operation in your code. Do you get this error when running in local emulator.
     You can try the following article on how to debug published cloud service, assuming you have VS ultimate.
     https://msdn.microsoft.com/en-us/library/azure/ff683671.aspx
    Regards,
    Nithin Rathnakar

  • 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

  • Re-Run Partially Completed Process Flow

    OWB Version:10.2.0.2.8
    All,
    Is there a way to re-run a process flow from a point of failure i.e. if Process Flow A has 10 steps and failed on step 3, after doing some remedial work, I want to re-run the process flow from step 3 to completion. Any help with this would be much appreciated.

    Login to SQL PLUS as Workflow owner and run
    call wf_purge.Move_To_History(null,null)
    Search this forum for posts from Oleg from Kiev. He knows what he is doing and his posts helped me a lot. I have seen few posts from him related to this subject.
    Vladimir

Maybe you are looking for

  • 10g Release 2 (10.2.0.4) Patch Set 3 for HP-UX Itanium installation failed

    hi everyone after i installed the oracle10g 10.2.0.1,and tried to install the patch set (10.2.0.4) Prerequisite check failed! My OS platform is  HP-UX B.11.23 IA64 the error info as follow : Checking the Components installed in Oracle Home Actual Res

  • Windows 8.1 64bit. Webcam works with "Camera" app but not with Skype.

    I've spent a few hours googling and trying out various things - all listed below. I give up - any ideas??? OS: Windows 8.1 64bitMemory: 32GBWebCam: Microsoft VX-7000. As per subject - the webcam works with the "Camera" app but not with Skype for desk

  • IPod nano 6th generation doesn´t work

    I´ve got a new iPod nano 6th as an exchange unit. It works fine till i connected it with iTunes under Win7. First, the iPod appears in iTunes and a window was opened, i think, to accept the license rules. Unfortunetly i was distracted for about 5 min

  • Output ignored (u2018002 requirement not met)

    Hello Guys' Can any one help to answer the below query 1. In output determination,  for SO, for given output type, if we get as Message 502   Output ignored (u2018002 requirement not fulfilled)  I understand that,  Ideally we should not be able to Pr

  • App download buttons not working.

    iPhone 3GS. Whenever I go into a specific app in the app store, none of the buttons work properly. 1) clicking on the price no longer downloads the app, 2) the ratings button does nothing, 3) the 'tell a friend' and 'git this app' buttons jump back t