How to execute a process flow repeatedly?

Hi All,
I created a process flow, that has the following activities.
Start --> External_To_Stg_Table_Map ---> Stg_To_Dim_Map ---> Dim_To_Fct_Map---> End.
Here
1) External_To_Stg_Table_Map -- is for loading data from external table to a staging table.
2)Stg_To_Dim_Map -- is for loading data from staging table toa dimension.
3)Dim_To_Fct_Map -- is for loading data from Dimensions
Here External_To_STg_Table_Map extracts data from a file say Sample_File.txt.
My requirement is I have to execute the same process flow for many files having the same structure.
Could anyone suggest me the ways, we can implement?
Thank you,
Regards,
Gowtham Sen.

Try scheduling it, assuming it needs to be done on a regular basis. First you set up a schedule, then attach the schedule to the process flow. When you deploy the scheduled process flow the name will be altered as <process flow name>_JOB. Then you have to execute it the first time. After that the schedule will take over.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to execute a process flow?

    I create a process flow that contains mappings, it generate an xml code
    I want to know how to execute a process flow an how to know it sucess or fails ?
    have you any idea?
    thank you

    Hi
    You can also use 3rd party tools or batch scripts there is a SQL script for executing any OWB executable (sqlplus_exec_template.sql in owb/rtp/sql) see the post here;
    http://blogs.oracle.com/warehousebuilder/2008/11/using_3rd_party_schedulers_with_owb_1.html
    Cheers
    David

  • 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

  • Mapping failure when executed in process flow

    I am currently receiving the following error on one of my mappings when I executed a process flow:
    TEST_PF: NEW_MAP
    Error
    ORA-06550: line 1, column 1003:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 997:
    PL/SQL: Statement ignored
    When I execute the process flow using the control center manager, it runs normally and I only receive this error when it runs within the process flow.
    Any advice on what is causing this problem and how I can fix it? Is the process flow corrupted? If so, do I have to rebuild it?
    Thank you

    Hi,
    Have you added any parameters or anything like that to your mapping from the first time you put it into the processflow?
    In the processflow, select the mapping that fails and synchronize it, redeploy and try again. Or you can just delete the mapping from the process flow and add it again.
    At least based on the errormessage you describe it seems like the mapping has been changed and have parameters added or removed from the first time you added it to your processflow.
    Ragnar

  • How to start/stop process flow from sql*plus?

    Hi,
    i know how to start a process flow via sqlplus_exec_template.sql, but i cannot find any information on how to stop (and rollback) a working flow from sql*plus. Any help would be appreciated.
    Greetings
    Christoph
    Message was edited by:
    ctrierweiler

    Hi,
    I've had a go.
    How should I interpret the results of list_requests:
    owner_owr@ORKDEV01> @list_requests
    ====================
    DEPLOYMENTS
    ====================
    Audit ID Status Name Date Owner
    2706 READY Deployment Fri Nov 11-NOV-05 10:49:59 OWNER_OWR
    11 10:46:37 CET 2
    005
    ====================
    DEPLOYMENT UNITS
    ====================
    Audit ID Status Name Date Owner
    2707 READY Unit0 11-NOV-05 10:49:59 OWNER_OWR
    ====================
    EXECUTIONS
    ====================
    Er zijn geen rijen geselecteerd.
    owner_owr@ORKDEV01>
    Whilst a process flow is executing the last query will list executions, all of which have status BUSY:
    owner_owr@ORKDEV01> @list_requests
    ====================
    DEPLOYMENTS
    ====================
    Audit ID Status Name Date Owner
    2706 READY Deployment Fri Nov 11-NOV-05 10:49:59 OWNER_OWR
    11 10:46:37 CET 2
    005
    ====================
    DEPLOYMENT UNITS
    ====================
    Audit ID Status Name Date Owner
    2707 READY Unit0 11-NOV-05 10:49:59 OWNER_OWR
    ====================
    EXECUTIONS
    ====================
    Audit ID Status Name Date Owner
    394512 BUSY PF_ONB01 04-MEI-06 09:11:12 OWNER_OWX
    395328 BUSY ONB:FULL_PREPARE 04-MEI-06 09:11:55 OWNER_OWR
    395324 BUSY PF_ONB01:ONB 04-MEI-06 09:11:55 OWNER_OWR
    owner_owr@ORKDEV01>
    As an aside, I will attempt to get rid of the READY deployment and deployment unit using deactive_deployment.sql
    Now, if I attempt to use deactivate_execution.sql on any of the executions with status BUSY I get:
    owner_owr@ORKDEV01> @deactivate_execution
    Voer waarde voor 1 in: 396136
    declare
    FOUT in regel 1:
    .ORA-20003: The object is not in a valid state for the requested operation
    ORA-06512: at "OWNER_OWR.WB_RTI_EXCEPTIONS", line 94
    ORA-06512: at "OWNER_OWR.WB_RTI_EXECUTION", line 774
    ORA-06512: at "OWNER_OWR.WB_RT_EXECUTION", line 90
    ORA-06512: at line 4
    owner_owr@ORKDEV01>
    So all the seems to remain is to use abort_exec_request.sql
    This does the job, but the script itself hangs.
    I think it has to do with the l_stream_id not being checked again after the initial IF. I think it should probably be part of the loop condition as it is again reset in the do_acks inside the loop.
    Cheers & thanks,
    Colin

  • Error RPE-01008 and RPE-01003 if i execute a process flow

    Hi,
    if i execute a process flow, once the process flow worked fine. If i execute at another time the process flow didn't work with the following error messages:
    RPE-01008: Wiederherstellung dieser Anforderung ist in Bearbeitung.
    RPE-01003: Die Anforderung konnte wegen einer Infrastructure-Bedingung nicht abgeschlossen werden.
    Any ideas?
    thanks a lot

    Have you tried any of previously reported errors on this forum to see if any of them relates to your case?

  • How to execute External Process activity in flow

    Hi,
    I want to run a pl/sql procedure as an external process in a process flow (OWB904 on WinNT). The procedure is run from sqlplus in a .bat file. I try to follow the example in the documentation; setting the value of the Command parameter to c:\winnt\system32\cmd.exe and the Parameter List value to ?/c?c:\\temp\\test.bat .
    The flow deploys ok and executes without errors, but the procedure is not run (I can tell because it contains an INSERT and COMMIT, but the row is never inserted). I'm pretty sure the connection info is correct; the test.bat file executes ok when run in a 'dos' window. I am obviously missing something here....
    Any clues?
    Regards
    Rolf

    Hi Richard,
    The <HOME>\owb\log\owbrt.log.6 file contains the following:
    15:21:05 [93EFE] AuditId=43689: Processing execute request
    15:21:05 [5843C4] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    15:21:05 [5843C4] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.ProcessFlow'
    15:21:06 [93EFE] AuditId=43693: Processing execute request
    15:21:06 [365F84] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    15:21:06 [365F84] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.Shell'
    15:21:07 [365F84] task_end auditId=43693
    15:21:07 [93EFE] AuditId=43693: Request completed
    15:21:07 [5843C4] task_end auditId=43689
    15:21:07 [93EFE] AuditId=43689: Request completed
    Rings any bells for anyone ??
    Regards
    Rolf

  • How to update a process flow while it is executing??

    Hi,
    Need help
    I'm using WorkFlow 2.6.3.5 here is my issue,
    I have a long long workflow, many process and notifications. Sometimes i have to perform changes due to user requirements, but i have started an order (item key) and the workflow won't change, and users do not want to start a new order everytime we have to change something, I mean let's say the order is in process 4 and there has been a new requirement which will modify the next process 5, how do I update the flow ?? Because you go to the monitor page, find process item key (order) 1000 and even if i had changed the flow()workflow builder), order 1000 will have the old flow when you review the diagram.
    How do I update the changes (forward, the ones ahead) and stay at the same point the order (item key) was.
    Please help me !
    Vilma

    Hi,
    we have the same problem actually.
    The life cycle of the complete workflow is over one year.
    (We are using subprocess, call them dynamicly... but when processes is waiting a notification, that is not a solution!)
    --> Actually we use the API of the workflow to fork processes (with an option that use the new version of definition), "retry" activities in the new process on the same "position" as in the "old process" (Note: That's not always possible - if activity renammed or deleted by example --> Go back to previous correct activity).
    That is working fine... for 85% of our cases.
    Our actual problem is that some of our process use inter process synchronisation. To solve that, we need the execution sequence of the old activities.
    :-( Actually whe can't retrieve the "correct execution sequence" of the activities.
    If some of you knows how to retrieve the order of execution order of the activities, I will help us a lot.
    (The problem is that there is a begin date for that, but precision is "second"... not enough precise... should be at least a milli second).
    --> We are trying to find out the execution sequence by analysing the process definition... But it seems that it will be complicated and long to program.
    Any help is welcome.
    Stephane

  • How to integrate the Process flow design into Workflow?

    Hi Guys,
    I created a process flow design in OWB. Now I need to integrate this design into Oracle workflow. How can I implement it? Process flow design is saved as an Jpeg or SVG file. Pls suggest the steps how can I do this? Im new to workflow and owb. Im using OWB 10g.
    Regards
    Kishan

    If you deployed the packages to the same location then the second deployment replaced the result of the first one (actually a new version of the process flow was created). You can execute only the latest version...
    Regards,
    Robert

  • How to specify the Process Flow Module with SQLPLUS_EXEC_TEMPLATE.SQL ?

    Hi, we have a couple of process flow modules that have PF Packages and Process Flows with the same name.
    E.g
    PFMOD1 (Module)
    FILELOAD (Package)
    PF1 (Pf)
    PFMOD2 (Module)
    FILELOAD (Package)
    PF1 (Pf)
    Normally we can specify "FILELOAD/PF1" as a paramater to the procedure SQLPLUS_EXEC_TEMPLATE.SQL in order to initiate the running of an OWB process flow but how can the system distinguish between modules ?
    Anyone done this ?
    Thanks
    Paul

    If you deployed the packages to the same location then the second deployment replaced the result of the first one (actually a new version of the process flow was created). You can execute only the latest version...
    Regards,
    Robert

  • Executing 11g process flows

    Hi everyone
    I am working with OWB 11g and have successfuly created several hundreds of mapping and process flows to manage them. The process flows all work fine when run from within OWB.
    What I want to do now is take this to the next level and manage the running of the process flows from outside of OWB. We have a mix of Linux on the server where presumably CRON jobs could be run. We also have Windows servers.
    Does anyone have any documentation or website links that you point me in the dirction of to make this work?
    Presumably Oracle Workflow would be one of the answers so if you could give me some pointers as to how to get this up and running, for example in a Windows environment, I would be grateful.
    Best wishes
    Michael

    Michael,
    several methods for executing processflow and mappings are described in OWB API and Scripting Reference (chapter "Using SQL*Plus to Schedule and Execute Jobs"):
    http://download.oracle.com/docs/cd/B28359_01/owb.111/b31279/api_4sqlforjobs.htm#BABBHEHI
    1) with using SQLPLUS_EXEC_TEMPLATE script
    2) with using WB_RT_API_EXEC.RUN_TASK stored function
    Regards,
    Oleg

  • How to execute RSM0 process

    I am new to data Guard and need your help. Please teach me how to get the information for Data Guard background process RSM0 or execute this process on Primary database. Thanks a lot.
    RSM0 started with pid=45, OS id=23537
    Edited by: 853153 on Apr 21, 2011 8:20 AM

    Thanks. So how to I get the trace file of each process like these. This is what Oracle support asked me to provide.
    RSM0 started with pid=42, OS id=22437
    RSM0 started with pid=42, OS id=22916
    RSM0 started with pid=42, OS id=27793
    RSM0 started with pid=42, OS id=28831

  • Wrong map being executed in Process Flow

    I created a Process Flow that executes 3 maps and a PL/SQL procedure.
    The process flow functions to write data to a Unix file system.
    The first map when executed by itself writes the correct string as the first header within the file. But when I execute the same map, named HC_ENTHDR_TEMP_MAP, within the Process Flow the wrong header is written to the file.
    I've tried droppping the map and redeploying it. I've tried dropping the map within the Process Flow reinserting it and redeploying the Process Flow. These actions do not solve the problem. When the map is executed within the Process Flow, the wrong header is written. When the map is executed outside the process flow the correct header is written.
    Any help would be appreciated. It's as if the WorkFlow schema has the an invalid pointer to a map that I can't get rid of.

    Hi,
    Sorry for the late reply, but I was off for the Holidays. Anyway.
    I have tested your scenario step by step. and it works just the way you're saying.
    But, what's happening here is just as Steve have mentioned in his second post.
    <quote>All the codes are in the same "bucket"</quote>
    And as I mentioned in my first post the local unit precedes the library, and that's why you are seeing the message from the local unit.
    I changed the name of the local unit from MY_PRE_FROM to MY_PRE_FORM_LOCAL, and it worked just fine with me.
    I suggest you try it, it should work.
    So when we run formA we should see the following messages
    'in generic call'
    'in formA local'
    Here what you are seeing the the precedences of the local unit over the library unit whenever they share the same name.
    but logically you should see the library code MY_GENERIC_CALL being executed and showing a message of
    PROCEDURE MY_GENERIC_CALL IS
    BEGIN
         message('in generic call');
         my_pre_form;
    END;and in turn calling to MY_PRE_FORM and the latter shows the message
    PROCEDURE my_pre_form IS
    BEGIN
    message('in lib my pre-form');
    END;so you should see:
    in generic call
    in lib my pre-form
    and what's happening with you is the local unit is being preceded from forma over the library unit. As if you are calling the local unit from the library. or at least this is what seems to be happening.
    Changing the local unit's name is making the difference.
    Regards,
    Tony Garabedian

  • How to execute the process chain using function module

    Hi,
    How can we execute the process chain when there is any process failed. For ex. when we are running many processes. when loading fails in local process chain, after fixing this error, how can we execute the rest of processes. Can we execute the rest of processes using any function module. Kindly guide me.

    Hi,
    Chk the weblog.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3149. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Balaji

  • BPC 7.0 - how to design business process flow type Planning process?

    Hi All
    BPC 5.1 system has Business Process Flow, to design synchronized activity plans for a set of user.
    Like we designed user planning in two step BPF -Step1 and Step2, where Step2 was activated only after user completed Step1.
    How to design such requirements in BPC NW 7.0 version?
    Thanks in advance.
    Regrads
    Abhishek
    Edited by: ABHISHEK JAIN on Mar 21, 2009 8:05 AM

    Indeed, if by chance you have not seen the related How-to-Guide, there is an [Article|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f085dd92-a40c-2c10-dcb1-a7c24476b23a] on How to Create a Custom Menu in BPC NW here on the BPX community.
    There is also a lot of explanation on using EVMNU on the SAP Service Marketplace in the [Documentation Addendum|https://service.sap.com/~sapidb/012003146900000031772009E/7NW_SP02_Doc_Addend.pdf] to BPC 7.0 SP02 NW Central Note 1306898
    Best regards,
    [Jeffrey Holdeman|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/jeffrey+holdeman]
    Enterprise Performance Management
    Regional Implementation Group
    Edited by: Jeffrey Holdeman on May 28, 2009 8:40 PM

Maybe you are looking for

  • Replace single quotes

    I know that I have to trap the single quotes when inserting names, streets, etc. I tried to use replace() and to replace the single ones with 2 singles. Could somebody help me with the syntax as I'm getting all the time errors. Here is the code: Inse

  • TC used as Storage for iMovie

    My TC is directly connected to my MacBook Pro I'm trying to "digitize" about 40 miniDV tapes through iMovie. I have done 5 so far. Originally created the .mov files on my Mac Pro, but due to space requirements, I moved the .mov files onto the TC. Now

  • InteractiveForm UI Element in Web Dynpro Java - Image not displayed on form

    Hello Experts, Using: NetWeaver Developer Studio 7.0.1_06; Adobe Livecycle Designer 8.1. I have an image "image.png" in my src/mimes/components/com.mm.InteractiveFormComp folder within my web dynpro java project. I load the image into my context in w

  • What is BT's Help Line Telephone Number?

    I am thinking of moving from Virgin to BT and want to TALK to someone about their Phone, Broadband and TV package, spefically the installation process.  I cannot find a single telephone number on BT.com.  Could someone tell me what number to dial?  A

  • Music louder than voice?

    Hi, I have a very weird problem.. When I watch movies, or listen to music, the music is MUCH louder than voice. When I listen to movies, I have to constantly change volume, because when it's music it's too high, and when people are talking, it's too