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.

Similar Messages

  • 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

  • Business Process Flows Question

    In BPF's is it possible to stop a user from moving on to another step in the BPF's process? 
    The idea we had in mind was creating a stat account to capture a variance between two accounts.  If the variance was greater than 1 for instance, it won't allow a user to continue or move past a particular BPF step.
    I'm not aware of any way to force this, but I'm hoping someone has a solution or can confirm this for me.
    Thanks,
    Mike

    Yes, completion criteria can be set for any BPF step (and not sub-step).
    The criteria must then tie in with the work status (unlocked / submitted / approved / etc) that you've set up for an application. In order to complete the BPF step, the user must first change the work status to the level you indicate in the BPF.
    BPF Admin console -> Define steps and sub-steps -> after you create a step, then modify it. One of the properties is completion criteria.

  • One process flow question

    hi
    How to abort the running processes using pl/sql or another tools except use workflow minitor?
    thx

    thx igor
    When i exec list_requests.sql,it reports:
    AUDIT ID STATUS NAME DATE OWNER
    12743 READY Deployment Fri Jun 18-6ÔÂ -04 10:40:3 RTU
    17812 READY Deployment Sat Jun 19-6ÔÂ -04 10:45:2 RTU
    2 rows selected
    AUDIT ID STATUS NAME DATE OWNER
    12744 READY Unit0 18-6ÔÂ -04 10:40:3 RTU
    17813 READY Unit0 19-6ÔÂ -04 10:45:2 RTU
    2 rows selected
    AUDIT ID STATUS NAME DATE OWNER
    20039 BUSY PROCESS_FLOW:MAP_D 19-6ÔÂ -04 03:14:2 RTU
    1 row selected
    Then i exec abort_exec_request.sql ,and import the parameter value '20039'.
    It reports PL/SQL procedure successfully completed.
    But exec list_requests.sql again ,it reports the same as previous.

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

  • 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

  • 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

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

  • How can I pass parameters from one process flow to another process flow?

    How can I pass parameters from one process flow to another process flow (sub process) in warehouse builder? let me know the steps I have to do in warehouse builder.
    Thanks in advance,
    Kishan

    Hi Kishan,
    Please post this question to the Warehouse Builder forum:
    Warehouse Builder
    Thanks, Mark

  • 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

  • Reg: SQL select Query in BPEL process flow

    <p>
    Hi,
    I am suppose to execute a SQL select query (in BPEL Process flow) as mention below in JDeveloper using Database adapter.
    </p>
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE ITEM= &lt;xyz&gt;
    </p>
    <p>
    AND OBJECT= (SELECT CASE_NAME FROM CUBE_SUPPLIER WHERE ITEM=&lt;xyz&gt; AND SUPP_IND = &lsquo;Y')
    <strong>Now my question is:
    1.</strong> What does this "*" refer to in the query and how can I retrieve the value of LENGTH*WIDTH* HEIGHT from the query where LENGTH,WIDTH and HEIGHT are the individual field in the table.
    2.What does this " AS" refer to? If " ITEM_CUBE " is the alies for the table name "ITEM" to retrieve the value, then query shoud be evaluated as
    </p>
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE <strong>ITEM_CUBE.ITEM</strong>= &lt;xyz&gt;
    </p>
    <p>
    AND <strong>ITEM_CUBE.OBJECT</strong>= (SELECT CASE_NAME FROM CUBE_SUPPLIER WHERE ITEM=&lt;xyz&gt; AND SUPP_IND = &lsquo;Y')
    Is my assumption correct?
    Please suggest asap.
    Thanks...
    </p>
    <p>
    </p>

    Hi
    Thank for your reply!
    I have a nested select query which performs on two different table as shown below:
    <p>
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    </p>
    <p>
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    </p>
    <p>
    FROM CUBE
    </p>
    <p>
    WHERE ITEM= &lt;abc&gt;
    </p>
    <p>
    AND OBJECT= (SELECT NAME FROM SUPPLIER WHERE ITEM=&lt;Item&gt; AND SUPP_IND = &lsquo;Y')
    I am using DB adapter of Oracle JDeveloper in BPEL process flow, where I can able to select only one master table in DB adapter say SUPPLIER and its attributes at a time.But as per my requirment I need to select both the table (CUBE and SUPPLIER) in a single adapter to execute my query.
    It can be achievable by using two DB adapter , One to execute the nested query and another to execute the main qyery considering value of nested query as a parameter.But I want to achieve it by using a single one.
    Am I correct with my concept?
    Please suggest how to get it ?
    </p>
    Edited by: user10259700 on Oct 23, 2008 12:17 AM

  • Process flows without Oracle Workflow?

    I am using OWB 10.2, running with a 10.2 database. I want to create a new workflow module, package, and flow, and execute it the process flow using the OWB scheduler. The documentation implies that this configuration is possible, but when I create the workflow module it wants an Oracle Workflow connection for the location. I get the feeling that I'm overlooking something basic in the documentation.
    QUESTION:
    1) Is Oracle Workflow REQUIRED to create, deploy, and execute a process flow?

    Hi,
    Oracle Workflow is required for deploying processflow.
    Where did you read in documentation about possibilities of running processflows without OWF? OWB instalation guide tells:
    "If you plan to use Warehouse Builder process flows, you need to install Oracle Workflow to enable deployment."
    Regards,
    Oleg

  • 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

  • How to set the parameter selection *optional* for each subreport?

    Hi, I am using Crystal Reprots 11. I create 10 subreports, and each subreport contains a Parameters Field. The 10 subreports are put in 10 footer sections in increasing order, i.e. subreport1, subreport2, subreport3, ..., subreport10. When I use "Pri

  • One step at the time with DNS

    Anyone who would be so kind and guide me trough the setup of dns on my LAN? on my 5.th install now

  • Acrobat x 10.1.0 and pitstop pro 10 u 2 makes opening pdfs slow

    As we know pistop is a must plugin for those who reorginase pdf files. I was trying this program and found it works very well before ver acrobat 10.1.0. But when I updated to acrobat 10.1.0, Openning pdf file becomes a hard thing,taking 30 seconds or

  • Is it possible to turn off audio in safari?

    I keep getting these annoying audio ads ... no way I can find to turn them off, except to possibly silence the audio for the entire browser ... if any of the major browsers (Safair, Firefox, or Chrome) can do this, I'd be much obliged! will

  • FI Invoices correction to send via IDoc vs OSS Note 114814

    Hi All, I would like to send Financial Invoice Corrections via IDoc and I am looking for some guidelines and technical explanation on how I should proceed. I found some explanations in OSS Note 114814 and on other forum threads but I am kind of confu