Process flow run success but underline mapping sql still running

We have mapping A and B in process flow. We configured Enumerated Condition (success) in mapping A to kick off mapping B after A is success. But the underline SQL in A took long time to finish therefore mapping B starts before data loading is finished in A. We need to finish mapping A loading data first (not submit the job),  What could be the best approach for this condition.
Thanks,
frank

Here is the actual scenario. In my process flow I have mapping A and B, both loading data from source to target. I put Enumerated Condition (success) in mapping A so that B start only if A is done. When the job is in completed status in control center, I open job details I notice the mapping A is still running even B is finished. I guess my questions:
1. how to run mappings in order?
2. how do we really know the process flow job is completed?
Thanks for help!

Similar Messages

  • Process flow completed successfully but flagged as BUSY in OWB ?

    Hi, I have several process flow jobs that are scheduled to run each night.
    All steps of the process flows completes successfully (checked in Workflow Manager and Warehouse Builder Browser), but the overall status is always set to BUSY in OWB Browser.
    I have seen earlier related threads in this forum regarding the termination of jobs left in a BUSY state (through problems with the process flow etc), but why are my jobs being flagged as busy ?
    Seems like the completed successful status is not getting through to OWB Browser.
    Any ideas ?
    Thanks
    Paul

    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

  • Error in Process flow running in SQL owb_run_own.wb_rt_api_exec.run_task

    Hi all
    We are having issue with owb_run_own.wb_rt_api_exec.run_task using Sql Plus
    When i try to run through Warehouse Builder Process flow ran Successfully
    When i try to run through SQL Plus using owb_run_own.wb_rt_api_exec.run_task We are getting error
    ORA-20099: ORA-20003: Process Flow FailedSerious <PROCEDURE_NAME >unknown error
    RPE-02018: Oracle Workflow schema OWF_MGR on host OWD2HOST cannot be accessed using service OWDX.XXXX.XXXX through port 1523. Please check the location details and try again.
    Can any one help please
    Thanks in Advance
    Edited by: user1849 on May 5, 2009 9:56 AM

    Hi all
    We are having issue with owb_run_own.wb_rt_api_exec.run_task using Sql Plus
    When i try to run through Warehouse Builder Process flow ran Successfully
    When i try to run through SQL Plus using owb_run_own.wb_rt_api_exec.run_task We are getting error
    ORA-20099: ORA-20003: Process Flow FailedSerious <PROCEDURE_NAME >unknown error
    RPE-02018: Oracle Workflow schema OWF_MGR on host OWD2HOST cannot be accessed using service OWDX.XXXX.XXXX through port 1523. Please check the location details and try again.
    Can any one help please
    Thanks in Advance
    Edited by: user1849 on May 5, 2009 9:56 AM

  • 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

  • Process flow failes when executing a mapping by error ......

    hi all,
    When we executes a mapping through owb normally it works fine.
    But the same when executes throgh a process flow it get falies with the f/w error.
    *"Set based mode not supported ORA-06512"*
    The operating mode is "set based fali over to row based"
    In the mapping we are doing some transforamtion and putting the data in a flat file.
    Please help in this reagrd.
    Regards
    ashok

    Hi,
    change in processflow configuration property OPERATING_MODE for this mapping to ROW_BASED or ROW_BASED_TARGET_ONLY
    Hope this helps!

  • Triggering process flows (run it whenever source changes)

    Hello everyone,
    I have created several process flows which includes many mappings. Now i want to run the process flow automatically whenever there is new data inserted in the source tables of those mappings. Is there a way to do this in OWB. i am using OWB R2 and Oracle 10g. Any help would be greatly appreciated.
    Thank You

    Hi,
    one way is to create (outside OWB) an update/insert/delete-trigger on the table and start the mapping in a begin-end-block of the trigger after an insert or update.
    Look at the oracle library for triggers and you get it.
    CREATE OR REPLACE TRIGGER test_trigger
    AFTER INSERT OR UPDATE OR DELETE
    ON table_test
    DECLARE
    result_num number;
    BEGIN
    <call mapping or process flow here>
    result_num :=WB_RT_API_EXEC.RUN_TASK(p_location_name
    , p_task_type
    , p_task_name
    , p_custom_params
    , p_system_params
    , p_oem_friendly
    , p_background);
    <some code to analyze the result code>
    <exception handler>
    END;
    Regards,
    Detlef

  • Create user successful but the resource is still in provisioning status

    Hi Friends,
    I have installed AD cnnector in OIM 11g successfully. And tried to provision it.
    Create user was successful and there are no errors in the log. But still the resource status is showing as provisioning instead of provisioned. Please let me know, how to resolve this issue.

    Go to Create User task in AD Process Definition and then go to Task to Object Status Mapping tab, set the status as Provisioned for Completed (C as Status) and try again.

  • Itunes 7.0 install successful, but it never launches / still have 4.0

    Please help!!! My G4 has the Tiger operating system in it... I currently have Itunes version 4 point something and it works just fine except that I can no longer download music from the itunes website because it says that i need to get 7.0 point something...
    Heres where the fiasco starts..
    I have repeatedly downloaded and installed 7.0 point something ( i think it's 7.0.2 not for sure right now because im not at the computer in question ) anyway after the download I install it and it allways comes off as a successful install... no error codes or skull and crossbones prompts on the screen. Now, just as soon as I get done ( thinking that i had yet another good install ) ... I will usually re-start the computer and then immediately open up itunes with the big hope that I will have finally and actually installed 7.0 ONLY to find out that it's STILL 4.0 WHAT THE HECK IS WRONG!!!!
    I have the latest version of quicktime.
    I have went into the library then reciepts folder and trashed the itunes DMX folder ( or whatever that folder is called... the one with the orange/gold box )
    Can someone please throw me a bone..help a brudda out!
    Grapefruit model G4   Mac OS X (10.4.1)   most recent version of quicktime...if that helps forensic wise.

    I have had a similar problem after being forced to upgrade to iTunes 7.0.2.. I did a "successful upgrade" on my G4 running Panther - but have never been avble to run iTunes 7 - whenever I try and open it, I just get the spinning wheel of frustration. Now I have a newer computer (iMac G5 running Tiger 10.4.7) and IU just tried to upgrade to 7.0.2 and hey presto - after telling me the upgrade was successful, it doesn't work! The spinning wheel again. Dies anybody know what causes this? I'm starting to feel lie Appple are getting so obsessed with makinbg iTunes work for Windows (and thius increasing their market share) that they are forgetting about us Mac users.
    What is going on Apple?
    ps Kronk - sorry I can't help you, but it seemed llike a related topic and a good place to vent my frustration!

  • Mapping runs through Deployment Manager but hangs in Process Flow

    Hi,
    I have a Mapping bound in a simple Process Flow.
    The mapping deploys through Deployment Manager and runs. It currently processes no rows and takes a couple of seconds to do that. It completes with a Success message.
    However, when I wrap it into a simple Process Flow...
    --- w ---> END_WARNING
    START ---> MY_MAPPING ---- s ---> END_SUCCESS
    --- e ---> END_ERROR
    .., deploy this and run it through the Deployment Manager, it hangs. I get the 'Execution in progress...' window with the moving graphic forever.
    The Runtime Repository Browser Execution Report tells me that it is 'Busy', and if I drill down to the Process Flow Run Execution Report, I see an identical Start and End Time, an Elapsed Time of 0 seconds, and no other details (Execution Parameters, Activity Details or Error Messages).
    Looking under 'Find Processes' on the Workflow Home Page, my workflow has no status in the Process List. Drilling down to the Diagram, I have a green line from the 'Start' element to my Mapping but the Mapping itself has no special colour.
    I go back to the Deployment Manager and cancel the job - which it does and reports that it 'Completed with errors'.
    The Runtime Repository Browser Execution Report now tells me that it is 'Busy' (with an information bubble), and if I drill down to the Process Flow Run Execution Report, I see different Start and End Times, and Elapsed Time of n seconds, a single Error Message 'RPE-01002: The operation was aborted at user request.', and no other details (Execution Parameters, Activity Details).
    Looking under 'Find Processes' on the Workflow Home Page, my workflow has a status of 'Complete' in the Process LIst. Drilling down to the Diagram, I still have a green line from the 'Start' element to my Mapping and the Mapping itself still has no colour and no indication that it has stopped.
    I'm running:
    Oracle9i EE 9.2.0.5.0
    Oracle10g OWB Client 10.2.0.1.0
    Oracle10g OWB Repository 10.1.0.1.0
    Anybody know how I can go about tracking down why this Process Flow is hanging - and, of course, getting it unhung :-)
    Regards
    Steve

    Hello Steve,
    It's a little difficult to read the exact flow from your ASCII graphics.
    However, from your description it seems your workflow task only has an outgoing success connector, and your execution was not a success. This will stop the execution of that branch of your process flow, since there are no valid routes to take. If you only have a single branch in your workflow, the process flow is stuck.
    To expedite your hung process you just click on the task icon in the Workflow Monitor graph window that does not have a green outgoing connector, press the Expedite button and select skip.
    Corollary: If you use conditional connectors, always use all 3 from a task. I not using all 3, have a very good understanding of why you don't.
    Regards, Hans Henrik

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

  • Process flow/map performance issues

    We have some issues with our OWB-based application and we're looking to find out if there are different ways we could be using the tool, or features/options we've missed.
    We are trying to maintain a near real time feed of data from a front end system into our warehouse which was built using OWB 10.2.0.3 over a 10.2.0.4 database. The bulk of the application consists of OWB maps with a few hand-written PL/SQL objects, all executed in a series of hierachical OWB process flows. Maps/transformations are executed either sequentially or in parallel where the referential integrity of the model allows.
    The problem is that we have around 150 tables in the datamart which could potentially require updating on each refresh cycle, although in practice only a few tables have any activity on a typical refresh cycle. The cycle consists of loading data into a set of staging tables, and from there the data is transformed into the main schema, often with multiple maps per target table.
    On every cycle we run hundreds of maps, the vast majority of which process zero rows. Each map runs quickly and efficiently in its own right but collectively they add up to a 5 - 10 min cycle even if there is no data to process.
    There are 2 avenues which we'd like to explore and would be grateful if anyone could provide any pointers/suggestions :-
    1) It appears that each map opens and closes its own database session when it executes. I presume this was done because a single process flow could be constructed with maps executing in different target schemas, but we know that's not the case for us. We'd like to know if there is anyway to configure the database connection at a higher level (eg. process flow) so it opens a connection once and executes each of the maps (database packages) in that one session.
    Our DBAs are experimenting with 'shared server' settings at a database level which may help to some degree but won't be the whole story.
    2) Another option is simply to run less maps eg. load the staging area as now, collate stats on which staging tables contain new data, and then apply some logic such that subsequent maps only execute if the relevant staging table(s) contain(s) some new data, otherwise bypass that map.
    We tried experimenting with the 'Pre Mapping Process' operator, but essentially that just generates another function call from the map package, so we still have the overhead of opening a database session for each map to run the package. Minimal gain.
    We thought about adding a function call in the process flow before each map and then branching to either execute/bypass the map as approriate, but the function call still requires opening/closing of a database session each time so, once again, minimal gain.
    What we really want is some way for a map or process flow to check without logging onto the database repeatedly.
    Any ideas on the above, or other potential solutions anyone could suggest, would be greatly appreciated.

    Hi,
    Please see if these documents help.
    Note: 554635.1 - Create Accounting Process Performs Poorly When 100K + Distributions are Passed for an Event
    Note: 954273.1 - Multiple Create Accounting Requests Result In Poor Performance For Online Accruals
    Note: 763500.1 - R12: Performance Issue with Create Accounting
    Note: 733637.1 - R12:Performance Issue When Running Accounting Program Xlaaccup
    Note: 781311.1 - Create Accounting Process Taking A Long Time To Complete After Appying Critical Patches
    Note: 557869.1 - EBS: R12 Oracle Financials Critical Patches
    Regards,
    Hussein

  • OWB 10gR2 map returning status = Complete and Result = Null in Process Flow

    Hi,
    I have an OWB process flow which invokes an OWB map. There are 2 outgoing transitions attached to the OWB map. 1st transition is a conditinal one (on SUCCESS) and the 2nd one is unconditional transition.
    I am monitoring the status of process flow execution in Oracle Workflow monitor. After the process flow is initiated, sometimes the OWB map within shows status = complete and result = OK in workflow monitor (in tab - status). But sometimes it shows status = Complete and Result = Null. In this situation the execution is following the unconditional transition path.
    Can anyone tell me what causes the OWB map to return a Result = NULL? Also sometimes I am getting the map returning a Result = Force (with the same status = Complete).
    The configuration that I am working with is as below ---
    OWB client version : 10.2.0.1.31
    OWB repository version : 10.2.0.1.0
    Oracle Workflow Version : 2.6.4.0.0
    Database version : 10g Enterprise edition release 10.2.0.1.0
    Regards,
    Swagata

    Hi Manohar,
    1. You need to install Oracle HTTP server in a separate Oracle home.
    2.Look for the dads.conf file in the installation. Edit the file, copy the sample code and paste it below and edit the pasted part as under ----
    <Location /pls/<SID>>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseConnectString <server name>:<port>:<SID >
    PlsqlAuthenticationMode Basic
    PlsqlDefaultPage wfa_html.home
    PlsqlNLSLanguage "AMERICAN_AMERICA.WE8ISO8859P1"
    </Location>
    3. STOP and START OPMN (Oracle Process Manager & Notification Server)
    4. Use the URL in your internet browser like --- <HTTP server URL>/pls/<SID>/wfa_html.home
    5. When prompted for user id and password, give the schema user id and password where the workflow engine is installed.
    Hope this helps,
    Swagata

  • Process flow hangs when mapping execution fails

    Hi,
    Has anyone faced the 'process flow hanging' problem after upgrading to OWB 9.2.0.4? Don't know why this is happening again after the upgrade. The audit browser clearly indicates one of the mappings has failed and workflow tables indicate there was a notification upon failure. The process flow runs several sub process flows each containing 5-6 mappings.
    Also, the mapping that failed (due to unique key violations on the target table) executed the post mapping stored procedure although the post mapping run condition was set to 'ON SUCCESS'. Is this the expected behaviour for the post mapping operator when there are database related failures?
    Our environment is OWB 9.2.0.4 on AIX 5.2.
    Database version is 9.2.0.5. We recently upgraded the database from 9.2.0.4 to 9.2.0.5 and OWB from 9.2.0.2.8 to 9.2.0.4. Process flows are executed using sqlplus.
    Thanks,
    Chethan

    Hi,
    I would expect you to have less issues with 9204 as there were some fixes applied. So I have not seen this before.
    To get into the mapping a little bit more, is this a row based mapping that is under the tresshold? In any case, if you specify "on success" I would expect it to only work on success... A database related error will also cause it to get an error, so this is interesting as well.
    Does the error repeat at any case if there is a failure?
    Jean-Pierre

  • 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

  • Process Flow branches to Error, displays success in RAB

    Hello,
    I am calling a custom function from within a process flow in OWB. This function is performing some basic, customized validations after the mappings execute within the process flow. Depending on the result of the validation function, I want the process flow to branch to either Success, Warning, or Failure. The process flow is branching correctly based on the return code from the function. I can verify this from WorkFlow Manager. However, when I look at the execution of the process flow in the Runtime Audit Browser (RAB) it shows that the process flow completed successfully, regardless of what state it branched to. I would like for the process flow to be marked as either a warning or error in RAB, so that I can quickly identify what process flows failed the validation check perfomed by my function. How can I make RAB display these indicators? I'm running OWB repository version 9.2.02.0.
    Thanks,
    Justin

    Mark,
    Thanks for the reply.
    In my process flow I have included all three ending activities. I have also checked that the correct condition is placed on the transition to the activity (i.e. on Error condition, branch to End Error) The process flow is following the correct branch depending on the code returned from my function. (Workflow Manager confirmed this for me) Regardless of the End condition, RAB indicates that the process flow completed successfully. When it ended in an error, I would have expected RAB to display the usual red 'X' by the process flow but it is not.
    Thanks,
    Justin

Maybe you are looking for