How to coordinate Load Plan Asynchronous Steps?

How does one start a subsequent sequential step depending on the successful completion of two or more prior asynchronous steps.
1. Wait for the posting of multiple 'successful' completion step variables?
2. Or does the [successful] completion of all asynchronous Child Steps "terminate successfully" a synchronous Parent Step, so a subsequent [to the Parent]sequential step can start?
Experience tells me once an asynchronous step starts, a subsequent synchronous step (in the same Parent) starts immediately thereafter.
What I want to do: asynchronously collect data from multiple sources and once successfully collected, synchronously start an update process.

You can do that in a package. You will have to use odiWaitForChild tool.
Scen1(async) -> Scen2(async) -> Scen3(async) -> odiWaitForChild -> startUpdateProcess
In Load Plans you can do the same.
Create a load plan with 2 serial steps on the root. Step 1 and Step 2.
Inside Step 1, create 3 parallel steps.
[email protected]
Making your ODI journey a success.

Similar Messages

  • Load Plan exception step variable

    Hi all,
    maybe you could be interested in.
    It is not possible refresh or overwrite a variable inside exception step. This is fantastic !
    http://docs.oracle.com/cd/E21764_01/relnotes.1111/e10133/odi.htm#CHDFFEFI
    So If I need to log an error I cannot use a parametric query. Great !

    Currently my packages have many steps, each step with a red failure arrow leading to this type of failure e-mail procedure -- lots of red arrows and many nearby copies of the failure e-mail procedure to eliminate the confusion.
    I had hoped that the Load Plan Exception feature would let me take all these red arrows out of my packages and move the e-mail failure reporting to the Exception step.

  • Load Plan Exception Finds no PrevStepLog Value

    import smtplib
    server = smtplib.SMTP('XXXmail')
    From = 'XXX'
    To = '#ERROR_RECIPIENT'
    Subject = ' '.join(['#Platform'
    ,'<%=snpRef.getSession("CONTEXT_NAME")%>'
    ,'<%=snpRef.getSession( "SESS_NAME" )%>'
    ,'<%=odiRef.getPrevStepLog("STEP_NAME")%>'
    ,'Failed'])
    MessageString = """<%=odiRef.getPrevStepLog("MESSAGE")%>"""
    MessageString = MessageString[:MessageString.find('\tat')]
    Message="From: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n%s" % (From,To,Subject,MessageString)
    server.sendmail(From,To,Message)
    sends "No previous step log message" for a failing Load Plan step.
    How can I get the PrevStepLog value in a Load Plan Exception step?

    Currently my packages have many steps, each step with a red failure arrow leading to this type of failure e-mail procedure -- lots of red arrows and many nearby copies of the failure e-mail procedure to eliminate the confusion.
    I had hoped that the Load Plan Exception feature would let me take all these red arrows out of my packages and move the e-mail failure reporting to the Exception step.

  • How Do You Restart a Failing Load Plan

    If a Load Plan step fails, say because of some bad data or a bad join, I know how to correct the error and restart the failing step or the failing task in the Operator.
    How do you restart the failing Load Plan or any higher level step in the Operator?
    Right now my Load Plan steps all say 'Restart from failed task'.
    I can't see the Load Plan itself in the Operator, so I can't restart it directly.

    In the Operator, there is an accordion section labeled "Load Plan Executions". You can restart from there.
    Regards,
    Michael Rainey

  • ODI 11g, Issue with Load plan variable in CASE WHEN STEP

    Hi,
    I am trying to retrieve value of the current context using the following code in refreshing variable:
    Variable name: Context
    Refreshing Code: select  '<%=odiRef.getContext( "CTX_Name" )%>'  from dual
    The variable is returning correct results when I refresh / Call it as part of Run Scenario step.
    Requirement: I want to use the variable Context in CASE step, depending on the value it results I want to execute a selective set of scenarios. I have defined case when steps per the requirements.
    Issue: The behavior of the variable is not as expected when used in CASE WHEN step. Load plan execution always triggers only ELSE part of CASE WHEN step.
    I have tried force refresh option in CASE STEP on the variable Context.
    Need your help and advice on how to fix the issue.
    Thank you,
    Bharani

    HI Bharani,
    Below link may helps you about load plan in ODI
    Help on Load Plan Execution
    Regards,
    Phanikanth

  • How to Load Planning Adapter for SAP R/3 into DIM

    I'm sucessfully instaled Oracle-Hyperion Data Integration Managenet v.11.1.1.1, now i need to extract data from SAP R/3 and load it into a Planning application. I understand that i must use an adaptaer for Planning, i already have HyperionPlanning.reg file and other .reg and .jar files. At this point I don't know what i must do with this files and how can load planning adapters into Data Integration Management.
    I appreciate any information, there is not a lot information abour DIM in the web, even in the Oracle EPM Documentation site.
    My best regards,
    Melvin.

    hi,
    not very nice but and not really satisfying:
    if the users of the remote-users for the logon from the BWs onto the one R/3 differ you could use sy-uname to check what bw is extracting ...
    everything else is a bit more complex
    hth
    cheers
    sven

  • How can I control del Target Load plan in a mapping?

    Hi,I have a mapping (attachment) that does inserts and updates to the same table in 3 different situations. It is a simple mapping that inserts new rows or update one that already exists, but also keeps the instance before update. If one record already exists it inserts a new instance of that record and updates the old one with the modification date.But i'm having an issue because of the order in wich each target is loaded. I know i can make 3 independent pipelines and then use the target load plan but y want to avoid reading the source more than one tiem.Regards, Matías.

    kglad, thank you very much for taking a look.
    Perhaps it would be better to view the entire site here:
    http://www.katodesignstudio.net/linda/index.html
    On the News page, I'd like to have a button that will load
    the Screening page (screening.swf) where the News page is loaded.
    At the link above, the button has been removed until I can find a
    solution but it would be located where the "see screening page for
    details" text is now.
    As you can see by going to any other page, all of the pages
    in the site load into a container clip. From what I can tell so
    far, I need the button to unload the News.swf from the container
    clip and load the Screening.swf into that same container clip,
    similar to what the top Nav menu is doing. The trick seems to be to
    get the button to unload the swf that the button is located in...
    How can this be done?
    thanks again for your help!

  • How is data loaded from Infocube to Planning area - need technical info

    I would like to find out how data is loaded from cube to planning area ,
    I know that CUBE has tables, but how does that get loaded to planning area , where is the mapping from which I can compare
    data in CUBE and the same data that reaches planning area.
    Say for example I have below values in the infocube
    Prod1 --> Loc1 -
    > available provisioning qty
    AAA        AB90             100
    Then where do i check in the planning area tables ( are there any tables mapped) after running the TSINPUT program, i know it can be checked in the planning book , but i want to check in planning area tables if they exi

    Hi ,
    The data is loaded from infocube to planning area using update rules. The issue you have mentioned seems to be two requests are having data for the same CVCs in the cube.
    Example: For the same CVC, two requests avilable in the infocube. When you copy the data using TSCUBE transaction, whatever data avilable in the cube for the CVC gets copied into Planning Area.
    CVC1 - cube - Old Request - 100
    CVC1 - cube - Actual Request - 200
    CVC1 - Planning Area = 300 ( The value is supposed to be 200, but since the old request also contains data in the cube for the cvc, it gets copied as 300)
    Issue : There might two request contains data for the same code
    Solution : 1. Check the data in the cube using transaction LISTCUBE  2.  Delete old request and check the data agian. 3. If it matches with your requirement, run the TSCUBE again.
    Please let me know if you need additional information.
    Thanks,
    Jeysraj

  • Loop in a Load Plan

    I'm sure this is doable, but I'm just too dense to see it...
    Load Plans are really cool -- I like the way it organizes steps (large Packages are cumbersome and while I have encapsulated with Scenarios it can get tricky for me) and I really like the way results get piped back to Operator. I will admit that the parallelism isn't a needed feature at this point but it's nice to have.
    So now that I'm full of Load Plan love, I have a proof of concept Package that loops the records in a table that I want to emulate in a Load Plan. The Package is very similar to this: http://blogs.oracle.com/dataintegration/entry/using_variables_in_odi_creatin
    Through blind stumbling, I have gotten all of the components of my proof-of-concept Package loop into a Load Plan but I can't figure out how to loop in a LP.
    Test for a value? Yes.
    Force a Refresh Variable to refresh? Yes.
    But how do I tell the LP to execute a series of steps and then jump right back to the beginning? I know that I could just list it out (it's 10 steps) but the whole point of a loop (I know everyone knows this but it helps me) is to repeat a process till a counter hits a value.
    I can certainly include my looping Package within an overall LP, but I wonder if I can do away with the Package altogether.
    What oh what am I missing?
    Thanks,
    Cameron Lackpour

    You're not missing anything I'm afraid, loops are not currently supported functionality in load plans.

  • Load Plan in oracle bi Applications Configurations Manager creating issues

    Hi All,
    I have installed oracle data integrator + BI Apps. I had created a load plans in Administer Execution Plans (ie. select payroll subject area ) to load payroll fact. Everything went will till this point.
    But when i start executing the package i am getting weird errors.The errors are as follows:
    In the SDE_ORA_TRANSACTION_TYPEDIMENSION_PO_LINES_TYPE package is failing in the step "Insert flow into I$ table" . When i checked the logs ===> "insert /*+ APPEND */ into TEMP_BIAPPS.I$17_W_XACT_TYPE_DS".. I can see that it is using "PO_LINE_TYPES_V.ORDER_TYPE_LOOKUP_CODE" directly.
    from     TEMP_BIAPPS.C$17_2W_XACT_TYPE_DS RIGHT JOIN (TEMP_BIAPPS.C$17_1W_XACT_TYPE_DS RIGHT JOIN TEMP_BIAPPS.C$17_0W_XACT_TYPE_DS ON LKP_XACT_TYPES.XACT_TYPE_CODE = PO_LINE_TYPES_V.ORDER_TYPE_LOOKUP_CODE) ON LKPTRANS.XACT_TYPE_CODE1 = PO_LINE_TYPES_V.PURCHASE_BASIS
    So its throwing invalid identifier as we are executing this in the data ware house and PO_LINE_TYPES_V is in EBS.
    When i do execute this directly from the ODI Designer by executing the package i am not getting this error. Instead of the "PO_LINE_TYPES_V.ORDER_TYPE_LOOKUP_CODE" i was getting the " C1_XACT_TYPE_CODE".
    FROM
    TEMP_BIAPPS.C$17_2W_XACT_TYPE_DS RIGHT JOIN (TEMP_BIAPPS.C$17_1W_XACT_TYPE_DS RIGHT JOIN TEMP_BIAPPS.C$17_0W_XACT_TYPE_DS ON C14_XACT_TYPE_CODE = C1_XACT_TYPE_CODE) ON C13_XACT_TYPE_CODE1 = C3_XACT_TYPE_CODE1
    Can any one let me know how i can resolve this issue ?

    Hi ,
    We are also facing same issue while using inline view IKM.
    BeanShell script error: Sourced file: inline evaluation of: ``out.print("\"\"\"\n") ; import oracle.di.biapps.*;out.print("\n\n") ; String t . . . '' : Attempt to resolve method: parseFromClause() on undefined variable or class name: InlineView : at Line: 5 : in file: inline evaluation of: ``out.print("\"\"\"\n") ; import oracle.di.biapps.*;out.print("\n\n") ; String t . . . '' : InlineView .parseFromClause ( snpRef .getFrom ( ) )
    BSF info: Build Java String at line: 0 column: columnNo
    out.print("\"\"\"\n") ;

  • BI Apps ODI Load Plan Execution Error and Question on Rerun

    I am following the technetwork Cookbook: Installing and Configuring Oracle BI Applications 11.1.1.7.1 to install and configure my first BIApps with ODI. Smooth until I execute the Load Plan.
    Following errors were found on first attempt of execution. Without doing any change, I re-executed the load plan, error again but this time the message is difference (2nd attempt)
    Question:
    - How shall I start to diagnostic the ODI error?
    - Apparently there are something left in the failure execution, how I can clean it up for reruning the Load Plan?
    Many thanks.
    ODI errors on first execution
    ODI-1519: Serial step "Start Load Plan (InternalID:1500)" failed because child step "Global Variable Refresh (InternalID:2500)" is in error.
    ODI-1519: Serial step "Global Variable Refresh (InternalID:2500)" failed because child step "1 Domain (InternalID:5500)" is in error.
    ODI-1519: Serial step "1 Domain (InternalID:5500)" failed because child step "2 Domain SDE (InternalID:35500)" is in error.
    ODI-1519: Serial step "2 Domain SDE (InternalID:35500)" failed because child step "Serial (InternalID:36500)" is in error.
    ODI-1519: Serial step "Serial (InternalID:36500)" failed because child step "3 SDE General Domain (InternalID:54500)" is in error.
    ODI-1519: Serial step "3 SDE General Domain (InternalID:54500)" failed because child step "Load Target Table (InternalID:55500)" is in error.
    ODI-1519: Serial step "Load Target Table (InternalID:55500)" failed because child step "EBS_12_1_1 - DSN 1000 (InternalID:56500)" is in error.
    ODI-1519: Serial step "EBS_12_1_1 - DSN 1000 (InternalID:56500)" failed because child step "DOMAIN (InternalID:57500)" is in error.
    ODI-1519: Serial step "DOMAIN (InternalID:57500)" failed because child step "Parallel (InternalID:58500)" is in error.
    ODI-1518: Parallel step "Parallel (InternalID:58500)" failed; 5 child step(s) in error, which is more than the maximum number of allowed errors (0) defined for the parallel step.  Failed child steps: COMMON (InternalID:59500), HUMAN_RES (InternalID:90500), FINANCIALS (InternalID:95500), SUPP_CHAIN (InternalID:122500), PROJECTS (InternalID:98500)
    ODI-1518: Parallel step "COMMON (InternalID:59500)" failed; 11 child step(s) in error, which is more than the maximum number of allowed errors (0) defined for the parallel step.  Failed child steps: SDE_ORA_DOMAINGENERAL_PRODUCT_CLASS (InternalID:69500), SDE_ORA_DOMAINGENERAL_FND_LOOKUPS PAY_GROUP (InternalID:88500), SDE_ORA_DOMAINGENERAL_FND_LOOKUPS MARITAL_STATUS (InternalID:85500), SDE_ORA_DOMAINGENERAL_PRODUCT_MASTERORG (InternalID:73500), SDE_ORA_DOMAINGENERAL_PRODUCT_CATEGORYNAME (InternalID:67500), SDE_ORA_DOMAINGENERAL_STATE (InternalID:61500), SDE_ORA_DOMAINGENERAL_FND_LOOKUPS CUSTOMER_CATEGORY (InternalID:83500), PRODCAT (InternalID:75500), SDE_ORA_DOMAINGENERAL_FLEXFIELD (InternalID:89500), SDE_ORA_DOMAINGENERAL_FND_LOOKUPS ORGANIZATION_SIZE (InternalID:82500), UOM - Serial (InternalID:78500)
    ODI-1217: Session SDE_ORAR1211_ADAPTOR_SDE_ORA_DOMAINGENERAL_PRODUCT_CLASS (38500) fails with return code 8000.
    ODI-1226: Step Run SDE_ORA_DomainGeneral_Product_Class fails after 1 attempt(s).
    ODI-1240: Flow Run SDE_ORA_DomainGeneral_Product_Class fails while performing a Integration operation. This flow loads target table W_DOMAIN_MEMBER_GS.
    ODI-1228: Task SDE_ORA_DomainGeneral_Product_Class (Integration) fails on the target ORACLE connection BIAPPS_DW.
    Caused By: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12516, TNS:listener could not find available handler with matching protocol stack...
    ODI errors on second execution
    ODI-1519: Serial step "Start Load Plan (InternalID:1500)" failed because child step "Global Variable Refresh (InternalID:2500)" is in error.
    ODI-1519: Serial step "Global Variable Refresh (InternalID:2500)" failed because child step "1 Domain (InternalID:5500)" is in error.
    ODI-1519: Serial step "1 Domain (InternalID:5500)" failed because child step "2 Domain SDE (InternalID:35500)" is in error.
    ODI-1519: Serial step "2 Domain SDE (InternalID:35500)" failed because child step "Serial (InternalID:36500)" is in error.
    ODI-1519: Serial step "Serial (InternalID:36500)" failed because child step "3 SDE General Flexfield (InternalID:37500)" is in error.
    ODI-1519: Serial step "3 SDE General Flexfield (InternalID:37500)" failed because child step "Finalize Flexfield (InternalID:50500)" is in error.
    ODI-1519: Serial step "Finalize Flexfield (InternalID:50500)" failed because child step "EXEC_TABLE_MAINT_PROC (InternalID:51500)" is in error.
    ODI-1217: Session EXEC_TABLE_MAINT_PROC (107500) fails with return code 20000.
    ODI-1226: Step TABLE_MAINT_PROC fails after 1 attempt(s).
    ODI-1232: Procedure TABLE_MAINT_PROC execution fails.
    ODI-1228: Task TABLE_MAINT_PROC (Procedure) fails on the target ORACLE connection BIAPPS_DW.
    Caused By: java.sql.SQLException: ORA-20000: Error creating Index/Constraint : W_FLEX_SQL_G_U1 => ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found

    Hi,
    The first error happened is
    ORA-12516, TNS:listener could not find available handler with matching protocol stack...
    The above is due to the listener been disconnected while the LP is executing. This can be solved by restarting the load.
    The second error happened is
    ORA-20000: Error creating Index/Constraint : W_FLEX_SQL_G_U1 => ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
    The above is due to the duplicate records found in the table w_flex_sql_g. You can solve this by deleting the duplicated records in that table like referred in the below link
    OBIEE, Endeca and ODI: BIApps and ODI 11.1.1.7.1 Full Load
    Regards,
    Saro

  • Load Plan issue

    Hi Experts,
    I have created 3 load plans as below:
    1. LP_Stag
    2. LP_DWH
    3. LP_Main
    The flow is as below:
    LP_Main - Serial steps
    Step 1: Set variables
    Step 2: Calling LP_Stag using odistartloadplan
    Step 3: Calling LP_DWH using odistartloadplan
    Step 4: A procedure updating error_log tables
    Everything in LP_Main is executing serially, the only issue is that step 4 is not considering the child process of LP_Stag and LP_DWH
    Step 3 and 4 is getting executed in seconds since it only has 1 step to start the load plan. This is treating LP_Stag and LP_DWH independently. Step 3 is not waiting for step 2 (Entire LP_Stage and its child) to get complete. Similarly, Step 4 is not waiting to complete (LP_DWH and its childs).
    How I want it to Happen:
    Step 3 should be started only if LP_Stag and its steps get complete. Similarly, Step 4, should be started once, LP_DWH and its steps are completed. The errog_log procedure is executed in parallel with LP_DWH and its steps.
    Pls help.
    I can create only single LP, however, I am looking solution to this issue.
    Thanks,
    Andy

    Hi
    have you check the constraint on table level in ODI studio>Designer>Model tab>Source table
    Regards,
    Phanikanth

  • Load Plan and variables

    Hi all,
    I cannot set value for variables inside load plan exceptions editor. Anyway I can inside Load Plan steps editor.
    Is it possible ?
    I need to set variable when exception is raised. How I can do it ?
    thanks

    thank you for the answer..
    but why I have to use a when case step?
    I just need to set a string in a variable before to execute a serial step within exception step.
    I do this in a normal load plan step. So Why I cannot do the same in the exception one ?

  • How to set up  Planning on Multiple Servers

    Hi,
    1) I am trying to install a Finance Planning application so that it runs on one Planning Web Server and the other operations Planning application on another Planning 9.3.1 web server. Is that possilbe?
    2) May be unrelated question:
    HP_Windows_Install.pdf has only a few lines explaining how to set up Planning on Multiple Servers. Is it as simple as that?
    Here are the "few lines" from install.pdf:
    Perform the same installation and configuration process on your secondary servers, making sure to choose
    Planning Web Server component for any secondary server.
    Make sure you select Reuse existing tables when prompted during the Configure a Database task
    in the Configuration utility.

    Tomcat.
    But it will be nice to know the steps for Weblogic too - as Weblogic will be bundled "free" with future releases of Planning.

  • [BIACM0085] Error executing load plan after reverting from LDAP to original security mechanism in BIA 11.1.1.7.1

    We have tried to change authenticaion of BI Apps 11.1.1.7.1 to LDAP, but reverted this due to some other issues. Now we are back with standard authentication, and all functionality seems to work fine, except execution of a load plan.
    When we select (any) plan that was executed earlier, we get an error:
    [BIACM0085] Error executing load plan. Action: Correct the properties selected or entered and retry.
    [BIACM0080] Cause: Application error: MustUnderstand headers:[{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security] are not understood Action: Contact your help desk or system administrator.
    According to one of our WLS gurus there is a mismatch between consumer and provider of a web service with a security policy, but we cannot find any difference between a working and this failing environment.
    We already started a trace in WLS, but this does not help us further.
    Any hints on troubleshooting steps or even better resolution are more than welcome, as this is blocking a new full load and further tests.
    Tx,
    Luc

    We have tried to change authenticaion of BI Apps 11.1.1.7.1 to LDAP, but reverted this due to some other issues. Now we are back with standard authentication, and all functionality seems to work fine, except execution of a load plan.
    When we select (any) plan that was executed earlier, we get an error:
    [BIACM0085] Error executing load plan. Action: Correct the properties selected or entered and retry.
    [BIACM0080] Cause: Application error: MustUnderstand headers:[{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security] are not understood Action: Contact your help desk or system administrator.
    According to one of our WLS gurus there is a mismatch between consumer and provider of a web service with a security policy, but we cannot find any difference between a working and this failing environment.
    We already started a trace in WLS, but this does not help us further.
    Any hints on troubleshooting steps or even better resolution are more than welcome, as this is blocking a new full load and further tests.
    Tx,
    Luc

Maybe you are looking for