Process Flow Fork Question/Help

I'm hoping someone can help me as I've searched and searched but can't find anything that addresses this.
According to the 2nd post in the below thread, at least from how I am interpretting it. Whenenever the first path from a fork reaches an end activity no new activities will be started on other forks.
Re: Work flow process problem
Is that correct as it explains the problem I am having with the below map that sometimes one of the MAP#POST processes will not be run and if so can someone give me some insight as to how they would handle the below situation or recommend a better course of action. FYI the process maps are all very similiar operations on similiar tables but the amount of records they deal with can varry considerably so there is a distinct time difference for completion.
Start --->
Fork
------>MAP1---> MAP1POST--->----\
------>MAP2---> MAP2POST--->----END_SUCESSS
------>MAP3---> MAP3POST--->---//
------>MAP4---> MAP4POST--->---/
Due to my inability to draw decent ascii process flows I have removed the end_error condition but I do want it included as I have previously so please try keep that in mind.
Thanks,
Rich

Oleg,
Thanks for the help I really appreciate it, I am familiar with the and activity but part of my problem was figuring out how to use "and" while allowing each path to error out on the first step, while allowing each other path to run its full course. So in the case that map1 fails I don't want to run map1post, but I want to make sure that map2post runs if map2 succeeds.
One idea I had was using an unconditional transition (assuming a success transition goes to the post process) from map1, map2, map3, map4 to an Or Activity along with the And you suggested, but I am still concerned that if map1 errors out and gets to the "or" and then then to the end_error/end_warning that map2post will not be run if it has not started by that time? I hope I'm making sense and thanks again.

Similar Messages

  • Process Flow - basic question

    Hi
    I have a very basic question about Process Flows, that will help me decide to go for process flows or custom scheduling.
    I create a process flow with complex dependencies, say MapA, mapB mapC start parallely and map1 starts as soon as mapA and mapB finish, and map2 starts when all mapA, mapB and mapC finish. When both map1 and map2 finish the pflow ends. The question is
    1> Is it correct to use AND activity to define combined dependencies?
    2> What happens when any two mappings are running parallely and one returns in failure? Will the whole process flow finish immediately? or, the other ones will keep running? Am asking this because I would be sending the failure transition to End Error, and as per my understanding, as soon as one pflow finishes with error, the transition will take the flow to End Error and other running will be aborted in between itself.
    Please correct me if am wrong
    Thanks in advance
    Goga

    Hi,
    I think the others will remain running and will complete (e.g. they will not be aborted). However the logical AND will stop the process flow (it is stopped in a result of error). Since one transition never got to the AND the others will not continue.
    You may want to use some other activities to verify what is going on. You may have all mappings always go to AND, then based on what the error is (you can get that from the runtime) decide whether to abort, or to just ignore the error and run the others.
    JP

  • Process flow variable question

    I have created a variable in process flow and want that variable to have a variable of
    TO_CHAR(SYSDATE,'YYYYMMDD')
    I put the above line in the value but it does not work. If I put the hard code value in the variable as 20090724 it works. I am using this variable in a while loop condition.
    Any ideas.
    Thanks

    For the variable, do you have the Literal property set to false when you define the initial value?
    Also is the OWF schema you are deploying the process flow to a target OWB user? It has to be in order for the variable expression to be evaluated correctly.
    Cheers
    David

  • OWB Process Flow!!

    HI
    We have a situation like we have to run the mapping paralelly, Also we want to process mapping in the batch by batch. What I mean here is that, depending on the data volume we allocate the data into different batches and we run certain number of batches paralelly.
    My first question is that we have Fork option in Process flow, can we dynamically control that, which means I should be able to Fork as many processes as I want.
    My Second question is that Can I Iterate the process in Process flow.
    Any help on the above questions would be greatly appreciated
    Thanks
    Balaji

    Balaji,
    You can fork as many parallel processes as you want, although, in reality you will be constrained by your computing resources.
    As for your second question - currently there is no way to cycle (iterate) in OWB's process flow.
    Regards:
    Igor

  • Oracle Warehouse Builder Question about Process Flow

    Oracle 11.1.0.7:
    We currently have various mappings and what we want is in process flow to fork and merge back and only if all those mappings are successfully completed then go further in the process flow. I see that it allows fork for parallel processing but there is no merge. So how do I merge them all back and go to the next step in process flow. Next step of process flow is dependent on successful completion of all the previous mappings. And we want all the previous mappings to be executed in parallel for performance reasons.

    Could someone help answer my question?

  • Process Flow Question

    Oracle 11.1.0.7:
    We currently have various mappings and what we want is in process flow to fork and merge back and only if all those mappings are successfully completed then go further in the process flow. I see that it allows fork for parallel processing but there is no merge. So how do I merge them all back and go to the next step in process flow. Next step of process flow is dependent on successful completion of all the previous mappings. And we want all the previous mappings to be executed in parallel for performance reasons.
    I earlier posted this question on Database General.

    Hi ,
    Just use the "AND" operator in the process flow. Take the success transition from all your mappings to a SINGLE "AND" operator.
    Make the successful transition of all the mappings to go into AND operator. AND operator will make sure that all the mappings are executed and then it will be move ahead processing other activities in your process flow.
    After AND operator you can put a FORK or other mappings or any other objects in your process flow.
    Thanks,
    Sam.

  • Help with scheduling Process Flows in Workflow in 10gR2

    Dear All
    I am after some help with the scheduling of process flows (PF) in Workflow in OWB 10gR2. I am trying to set up some PF’s to handle the refresh of some staging tables from various source systems. I have created a separate Process Flow Module for each source systems, mainly just to keep them separate and organised. I have a number of mappings which all run fine if execute manually or linked directly to a schedule/job. The problem I am encountering is when I try to run process flows from schedules. I have created process flows ok and have run them manually and they complete fine so I know that the content of the PF is ok. After linking and deploying the jobs I can never get all the process flows to run from the various schedules. What appears to happen is that the first PF works ok and any other PF that are within the same Process Flow Module/packages also runs ok even if its running off as different schedules. However PF’s under the other Process Flow Module fail with the following error
    CC_DAILY_0400
    Description :
    Runtime User : OWBRT_USER
    Started : 2006-08-31 04:00:00.0
    Status      Log
    Error      ORA-20002: 3114: Activity 'PACK_1/CC_DAILY_0400' is not a process.
    ORA-06512: at "OWF_MGR.WF_ENGINE", line 3920
    ORA-06512: at line 1
    Following this error the PF will not even run manually! If I then stop the schedule and either drop or replace this failed PF thus redeploying, the PF then runs fine manually and if the restart the schedule it runs ok the next evening. My problem is that this then appears to impact on the other PF’s which all though have not been touched and ran ok the previous evening they then fail the following evening with the same error
    WS_DAILY_2400
    Description :
    Runtime User : OWBRT_USER
    Started : 2006-09-01 00:00:01.0
    Status      Log
    Error      ORA-20002: 3114: Activity 'PACK_1/WS_DAILY_2400' is not a process.
    ORA-06512: at "OWF_MGR.WF_ENGINE", line 3920
    ORA-06512: at line 1
    ORA-20002: 3114: Activity is not a process.
    I basically can not get both sets to run even though they are on separate modules and separate schedules.Has anyone any idea as to what could be wrong or if I am setting something up in a strange way which would cause these symptoms.
    All help or advice greatly appreciated
    Regards Kevin

    Dear All
    I am after some help with the scheduling of process flows (PF) in Workflow in OWB 10gR2. I am trying to set up some PF’s to handle the refresh of some staging tables from various source systems. I have created a separate Process Flow Module for each source systems, mainly just to keep them separate and organised. I have a number of mappings which all run fine if execute manually or linked directly to a schedule/job. The problem I am encountering is when I try to run process flows from schedules. I have created process flows ok and have run them manually and they complete fine so I know that the content of the PF is ok. After linking and deploying the jobs I can never get all the process flows to run from the various schedules. What appears to happen is that the first PF works ok and any other PF that are within the same Process Flow Module/packages also runs ok even if its running off as different schedules. However PF’s under the other Process Flow Module fail with the following error
    CC_DAILY_0400
    Description :
    Runtime User : OWBRT_USER
    Started : 2006-08-31 04:00:00.0
    Status      Log
    Error      ORA-20002: 3114: Activity 'PACK_1/CC_DAILY_0400' is not a process.
    ORA-06512: at "OWF_MGR.WF_ENGINE", line 3920
    ORA-06512: at line 1
    Following this error the PF will not even run manually! If I then stop the schedule and either drop or replace this failed PF thus redeploying, the PF then runs fine manually and if the restart the schedule it runs ok the next evening. My problem is that this then appears to impact on the other PF’s which all though have not been touched and ran ok the previous evening they then fail the following evening with the same error
    WS_DAILY_2400
    Description :
    Runtime User : OWBRT_USER
    Started : 2006-09-01 00:00:01.0
    Status      Log
    Error      ORA-20002: 3114: Activity 'PACK_1/WS_DAILY_2400' is not a process.
    ORA-06512: at "OWF_MGR.WF_ENGINE", line 3920
    ORA-06512: at line 1
    ORA-20002: 3114: Activity is not a process.
    I basically can not get both sets to run even though they are on separate modules and separate schedules.Has anyone any idea as to what could be wrong or if I am setting something up in a strange way which would cause these symptoms.
    All help or advice greatly appreciated
    Regards Kevin

  • Process flow stuck while execution - Fork being used

    Hi,
    We are using fork feature in the process flow. Three mappings are being forked; if all the 3 are successfully completed, then the 'END_SUCCESS' needs to be reached. This is done by routing the success transition from 3 mappings to the 'AND' process and then from 'AND' to 'END_SUCCESS'. If any one of the mapping fails, the 'END_FAILURE' needs to be reached. This is done by routing the success transition from 3 mappings to the 'OR' process and then from 'OR' to 'END_FAILURE'.
    When this process flow is executed, 2 mappings are successfully completed; the third one is completed with errors. While viewing from workflow monitor, the success routes are clearly shown but the failure route is not shown. In the runtime audit browser, the mapping details are correctly shown (2 mappings with success and the third one with failure). The process flow is shown having a status of 'BUSY'. The process flow keeps on waiting and does not get completed/aborted automatically.
    Is there something which I have missed in the process flow?
    Thanks in advance,

    Reposting as there was a mistake in my previous posting:
    Hi,
    We are using fork feature in the process flow. Three mappings are being forked; if all the 3 are successfully completed, then the 'END_SUCCESS' needs to be reached. This is done by routing the success transition from 3 mappings to the 'AND' process and then from 'AND' to 'END_SUCCESS'. If any one of the mapping fails, the 'END_FAILURE' needs to be reached. This is done by routing the failure transition from 3 mappings to the 'OR' process and then from 'OR' to 'END_FAILURE'.
    When this process flow is executed, 2 mappings are successfully completed; the third one is completed with errors. While viewing from workflow monitor, the success routes are clearly shown but the failure route is not shown. In the runtime audit browser, the mapping details are correctly shown (2 mappings with success and the third one with failure). The process flow is shown having a status of 'BUSY'. The process flow keeps on waiting and does not get completed/aborted automatically.
    Is there something which I have missed in the process flow?
    Thanks in advance,

  • Execute process flow question?

    Hello,everybody!
    I design a process flow to load OLAP,but everytime I excute it ,there are errors(for each mapping)as follows:
    starting the task LD_MXCASE:LD_T_TIME
    ora-06550:line 1 colum 40
    PLS-00201: 'AW_MXCASE'must be declared
    ORA-06550: line 1 colum 22
    PL/SQL: Item ignored
    ORA-06550:line 1, colum 83 :
    PLS-00201:'CAROLAP'must be declared
    ORA-06550:line 1, column 65 :
    PL/SQL: Item ignored
    ORA-06550: line 1,column 130:
    PLS-00357: Table,View Or Sequence reference
    'T_TIME' not allowed in this context
    ORA-06550: line 1,column 228 :
    PLS-00201: 'AW_T_TIME'must be declared
    ORA-06550:line 1,column 416 :
    PL/SQL: Statement ignored
    finshing the task:LD_MXCASE:LD_T_TIME.
    Please help me how to resovle this prolem!
    Thank you very much.

    If the data is loaded successfully, it should be visible eiher from EOM or from other tools. It is not easy to debug this problem from here, so all I can give you are some hints:
    1. It might be an EOM problem - have you tried viewing the data by using other tools (BI beans, for example)?
    2. It is possible that, even though the load was technically successful, causing no database errors (and no error logs either in RAB or runtime service logs), the loading procedure was incorrect. For example, it is possible that there was a logical error in the loading procedure that loaded 0 rows in the cube (by having a filter condition that erroneously filters out all the rows or an unsuccessful join). Can you check for this? Are the data loaded successfully in your relational cube in the first place?
    Regards:
    Igor

  • Question on process flow

    hi guys,
    i need some input here. hope u guys can give me some. i've created some process flows. when i'm trying to deploy my process flows, i got an error saying that i don have a workflow repository in my target database. so i can't do my deployment. fine coz i understand that.
    i've actually installed the oracle workflow from the 9i database cd coz i found there's an option i can choose from. and i've checked it thru universal installer, it has been installed. so my questions are
    1. Can i use the oracle workflow from the 9i Database cd?
    2. If yes, where can i setup the workflow rep? coz i didn't find anything that i can use to do the setup. i'm actually running my db on a NT machine.
    3. If no, does that mean i have to install the oracle workflow from it's own cd?
    hope to get some responses. thanks in advance
    regards,
    ykl

    hi guys,
    any idea what error is this?
    RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link ADMINX.US.ORACLE.COM@WB_LK_TEST_PF. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
    - ORA-06550: line 1, column 7:
    PLS-00201: identifier '[email protected]@WB_LK_TEST_PF' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    i've register my location for the workflow. but when i try to deploy my process flows, it gives me this error. do i need to set any privileges?? please advice.
    regards,
    ykl

  • OWB Process Flow - Transition Warinig OR Error - Question

    Hi all,
    I have a question. In a Simple Process Flow I have:
    Start -> Mapping -> Warning -> Email
    -> Erro -> Email
    ->Sucess - End
    Is necessary use 3 Transition ?
    Can I do only 2 Transition like
    Start -> Mapping -> Warning OR Error -> Email
    ->Sucess - End
    How can I do "Warning OR Error" on a Transition?
    If i put any condition on the Transition:
    Start -> Mapping -> Email
    ->Sucess - End
    It means
    Start -> Mapping -> Warning OR Error -> Email
    ->Sucess - End
    Thanks

    If i put any condition on the Transition:
    Start -> Mapping -> Email
    ->Sucess - End
    It means
    Start -> Mapping -> Warning OR Error -> Email
    ->Sucess - End
    it exactly what you need
    Edited by: hungsao on Oct 17, 2012 9:10 PM

  • User Defined Activity Process Flow Help

    Hello,
    I'm trying to create a process flow that will rename a file. I'm using the User Defined Activity, but I've ran into a couple problems. First some background info, Oracle 10G is the DB, and it's ran on a Unix system, the Oracle user account does have read/write access to the directories used.
    For the Activity Parameters I've set
    Command > I've tried everything here
    Parameter > Blank
    Script >
    filefullname=ip_xref.dat
    filename=${filefullname%.*}
    fileext=${filefullname##*.}
    DATE=`date +%Y%m%d`
    newfilename="${filename}_${DATE}.${fileext}"
    mv $filefullname $newfilename
    mv $newfilename backup/
    in the command section, I've tried every possible thing I can think of from : /usr/bin/ksh, /bin/ksh, ksh, /bin/bash, made a script outside owb with the same thing, and pointed it at that and still all I get is "/bin/bash: not found" or "/usr/bin/ksh: not found"
    Ideas/suggestions, I'm open to anything.
    As a side note I tried to do it with UTL_FILE, but I was informed by our DBA that it was disabled for security, so that's out.

    What type of execution is configured for user defined activity (this type is defined in file Runtime.properties on server side, available types for UDA - SCHEDULER or NATIVE_JAVA)?
    For SCHEDULER type ask your DBA about Uinux user used for executing external jobs (usually nobody user used with very limited rights - maybe this user doesn't have rights for executing any program/scripts).
    Regards,
    Oleg

  • Process flow Condition Help

    Thanks in Advance
    I have a process flow like below
    I have Function(out parameter) --> Returning 0 and 1
    I have 2 mappings
    1) Map1
    2) Map2
    What i need is
    If function returns 0 i want to run MAP1
    If function returns 1 i want to run MAP2
    I my process flow what i did is
    Start--> function --> Map1 --> Success
    --> Map2 --> Success
    After Function I added the complex condition(RTN_CODE = 0) for Map1
    I added the complex condition(RTN_CODE = 1) for Map2
    I am getting error VLD-10028: An activity having an outgoing transition with a complex condition must have another unconditional outgoing transition
    If function returns 0 i want to run MAP1

    Hi,
    if you use conditional transitions you need one conditional transitions for each possible condition outcome or one transition without any condition that is used when none of the other conditions is met.
    So you have to handle the case that the return value of your function is neither 0 or 1. Just add a transition without condition an connect it to the "end with errors" operator. This path will never be used if you make sure your function only returns 0 or 1. It is just required to validate the process flow.
    Regards,
    Carsten.

  • 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

  • OWB-OWF - Process Flow Deployment - Database Link

    Hello there,
    This post is basically related to my problem with Process Flow deployment.
    Could someone please shed some light on the following:
    When we create a Process Flow, during this process OWF creates a Database Link. For some reason, this link is not functional unless I remove the part after "." in that defines the "HOST" in the DB Link definition. How do I know it is not functional - I know because following query does not work:
    select * from [email protected]@WB_LK_WF_PKG
    Here is the link definition:
    ORIGINAL:
    create database link OWB92TRG.US.ORACLE.COM@WB_LK_WF_PKG
    connect to RR
    identified by "<pwd>"
    using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=CENTENNI-2077E4.CENTENNIALCOLLEGE.CA)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=OWB92TRG)))'
    MODIFIED (it works - above query runs OK):
    create database link OWB92TRG.US.ORACLE.COM@WB_LK_WF_PKG
    connect to RR
    identified by "<pwd>"
    using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=CENTENNI-2077E4)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=OWB92TRG)))'
    My second question is "using what userid/pwd should this link should have been created? Should it use "Runtime Repository Owner" or "OWB Repository Owner" or "Runtime Access User" or "OWF_MGR"?
    No matter what userid I use, it works when I run the query but I always get following error when I try to deploy the "Process Flows" in OWB:
    RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link OWB92TRG.US.ORACLE.COM@WB_LK_WF_PKG2. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
    - ORA-04052: error occurred when looking up remote object [email protected]@WB_LK_WF_PKG2
    ORA-12545: Connect failed because target host or object does not exist
    I have already granted the "EXECUTE ANY PROCEDURE" to OWF_MGR. I am not sure, though, what is meant by the "and that the OWB Runtime is available" part of the error message above.
    I have also tried to fix this by running the "catrpc.sql" script but it did not help either.
    I am stuck on this step for past few days. I would highly appreciate help in fixing this problem. Here is the configuration I am using:
    o Source database : Oracle 9i (9.2) on my local PC
    o Target database : Oracle 9i (9.2) on my local PC
    o OWB 9i
    o OWF 2.6.2
    o OWB and OWF repositories are on the TARGET database
    I am able to successfully deploy and run my MAPPINGs.
    TIA,
    Amer

    Hello Oracle support,
    Should I open a TAR to get this problem resolved?
    Regards,
    Amer

Maybe you are looking for

  • 1st Gen iPod touch not working correctly?

    I have a 1st generation 8GB iPod Touch. It's not working correctly. My biggest problem is that, unexplaiably, certain areas of the screen don't seem to register touch anymore. There is a sort of "L" shape on the left and bottom edges of the screen th

  • After update 7.1.2 i get no wifi.

    After I updated my iPhone 5 i get no internet connection on my apps.(for example snapchat will not load the snaps i get) I tried backing up my phone but that did not work.

  • How to create business card in the contact list

    I would like to create a buisness card to share with other people. What the best way to do that in the contact list.

  • KA92 plat - kingston hyper X pc8500 - memory voltage and freq

    I just installed a pair of kingston hyper X 2 x 2GB pc 8500 (1066Mhz) memory sicks into my KA9A plat mobo. Kingston's voltage recommendation is 2V, I left  the board on auto. HWmonitor reads 2.18V yet it is runing at 400Mhz each bank,  400x2 =800 Can

  • Problem in Technical System Creation Wizard in Portal SLD

    Hi When I am trying to Create New Technical System for  WEB AS ABAP, I am getting the following error at the Installed Production phase in the Portal SLD *CIM_ERR_FAILED: Unable to execute createInstance() request, exclusive write mode is enabled* Pl