Scheduling Mapping or Process Flows- How to?

Hi
I am able to succesfully deploy and execute mappings & PFs using control center. Now i want to test the scheduling part. How should i a schedule a mapping to run at regular intervals of time.
Regards
Vibhuti

Hi I figured out a way to schedule my mapings as explained in the below link
Scheduled Map Error: ORA-20001: Internal error ...
but when i deploy my schduled job it gives mr the follwoing errors
ORA-01749: you may not GRANT/REVOKE privileges to/from yourself
RPE-02224: Internal Error: Cannot grant privilege EXECUTE on object SPRO_OWNER.WB_RTI_WORKFLOW_UTIL to user SPRO_OWNER.
What does it mean? Do i have to give any privileges on SPRO_OWNER.WB_RTI_WORKFLOW_UTIL pakage? If yes then what privileges do i have to give?
Please let me know.
Regards
Vibhuti

Similar Messages

  • Scheduling Mappings and Process Flows

    Can you please tell me how to schedule mappings and process flows in a little detail, if any one has done that. I think OEM can be used for this but dont have any clear cut idea of doing it. Can the mappings/process flows be scheduled without using OEM console ?
    Waiting for you suggestions.
    rgds
    -AP

    Hi
    You can schedule your mapping and process flows with OEM or database job.
    You will find script templates in the OWB HOME/owb/rtp/sql directory
    and you can scheldule them.
    If you want to do it in OEM use the oem_exec_template.sql file createing an OEM job. Read the OWB documentation about it. If you have any question about it ask it, I have done this procedure many times.
    Ott Karesz
    http://www.trendo-kft.hu

  • Call a shell script from a OWB Mapping or Process Flow

    Hi,
    is it possible to call a shell script from a owb mapping or Process Flow and how can i do this?
    Greetings

    Check this :-
    http://blogs.oracle.com/warehousebuilder/2010/05/how_to_use_user_defined_activity_in_owb_process_flow.html
    Cheers
    Nawneet

  • How to schedule mappings to process flows?

    Hi,
    I have shceduled a calendar (Job) which is referring to a process flow. But how can I make sure that the mappings are referring to the same process flow?
    E.g. I have scheduled job at 10 AM , I have created the process flow for 10 AM referring to the same scheduled job.
    My understanding here is there is a hierarchy : Scheduled jobs > Process Flows > Mappings
    I have configured the process flow to run it at a scheduled job, now I want the mappings to understand to run at the same time as that of the schedule.
    And also when I start the process flow all the mappings should get executed.
    Is there any parameter to tell the process flow that all these mappings falls under you.
    Hope I have made myself clear.
    Can anyone please look into this query?
    Thnks in adv..

    When I double click and open my process flow I am not able to see any mapping. We have stored procedures written:
    ln_exists NUMBER;
    LS_ERROR VARCHAR2(200);
    LD_START_PERIOD_DT DATE;
    LD_END_PERIOD_DT DATE;
    EX_PF_NOT_VALID EXCEPTION ;
    EX_SUB_PF_NOT_VALID EXCEPTION ;
    EX_LAYER_NOT_VALID EXCEPTION ;
    EX_MODULE_NOT_VALID EXCEPTION ;
    EX_DATE_FORMAT_ERR EXCEPTION ;
    BEGIN
    --1: Check the Process Flow parameter value
    IF IP_PF IS NOT NULL THEN
    select count(*)
    into ln_exists
    from adm_process_flow_par
    where process_flow = IP_PF;
    IF ln_exists =0 THEN
    RAISE EX_PF_NOT_VALID;
    END IF;
    END IF;
    --2: Check Sub Process Flow Parameters value
    IF IP_SUB_PF IS NOT NULL THEN
    select count(*)
    into ln_exists
    from adm_sub_pf_par
    where sub_pf_code = IP_SUB_PF;
    IF ln_exists = 0 then
    RAISE EX_SUB_PF_NOT_VALID;
    END IF;
    END IF;
    --3:Check Layer Code Parameter Value
    IF IP_LAYER IS NOT NULL THEN
    select count(*)
    into ln_exists
    from adm_lookup_code
    where lookup_type='LAYER_CODE'
    and lookup_code= IP_LAYER;
    IF LN_EXISTS =0 THEN
    RAISE EX_LAYER_NOT_VALID;
    END IF;
    END IF;
    --4: Check Module Code Parmeter Value
    IF IP_MODULE IS NOT NULL THEN
    select count(*)
    into ln_exists
    from adm_lookup_code
    where lookup_type IN ('SOURCE_SYSTEM','SUBJECT_CODE')
    and lookup_code= IP_MODULE;
    IF LN_EXISTS =0 THEN
    RAISE EX_MODULE_NOT_VALID;
    END IF;
    END IF;
    --5: Check start Period date & End Period Date Format
    BEGIN
    IF IP_START_PERIOD_DT IS NOT NULL THEN
    LD_START_PERIOD_DT := TO_DATE(IP_START_PERIOD_DT,'YYYY-MM-DD');
    END IF;
    IF IP_END_PERIOD_DT IS NOT NULL THEN
    LD_END_PERIOD_DT := TO_DATE(IP_END_PERIOD_DT,'YYYY-MM-DD');
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE EX_DATE_FORMAT_ERR;
    END;
    EXCEPTION
    WHEN EX_DATE_FORMAT_ERR THEN
    LS_ERROR := 'Date Format is not valid ,please check (FORMAT: YYYY-MM-DD HH24 /YYYYMMDDHH24)';
    SP_ERROR_REC(NULL,IP_PF,IP_SUB_PF,IP_MODULE,IP_LAYER,NULL,NULL,LS_ERROR,'SP_CHECK_PARAMETER_VALID',NULL);
    RAISE_APPLICATION_ERROR(-20002,LS_ERROR);
    WHEN EX_PF_NOT_VALID THEN
    LS_ERROR := 'The Process Flow Value is not valid ,please check table adm_process_flow_par';
    SP_ERROR_REC(NULL,IP_PF,IP_SUB_PF,IP_MODULE,IP_LAYER,NULL,NULL,LS_ERROR,'SP_CHECK_PARAMETER_VALID',NULL);
    RAISE_APPLICATION_ERROR(-20002,LS_ERROR);
    WHEN EX_SUB_PF_NOT_VALID THEN
    LS_ERROR := 'The Sub Process Flow Value is not valid ,please check table adm_sub_pf_par';
    SP_ERROR_REC(NULL,IP_PF,IP_SUB_PF,IP_MODULE,IP_LAYER,NULL,NULL,LS_ERROR,'SP_CHECK_PARAMETER_VALID',NULL);
    RAISE_APPLICATION_ERROR(-20003,LS_ERROR);
    WHEN EX_LAYER_NOT_VALID THEN
    LS_ERROR := 'The Layer Code Value is not valid ,please check adm_lookup_code(lookup_type="LAYER_CODE")';
    SP_ERROR_REC(NULL,IP_PF,IP_SUB_PF,IP_MODULE,IP_LAYER,NULL,NULL,LS_ERROR,'SP_CHECK_PARAMETER_VALID',NULL);
    RAISE_APPLICATION_ERROR(-20004,LS_ERROR);
    WHEN EX_MODULE_NOT_VALID THEN
    LS_ERROR := 'The Layer Code Value is not valid ,please check adm_lookup_code(lookup_type IN ("SOURCE_SYSTEM","SUBJECT_CODE")';
    SP_ERROR_REC(NULL,IP_PF,IP_SUB_PF,IP_MODULE,IP_LAYER,NULL,NULL,LS_ERROR,'SP_CHECK_PARAMETER_VALID',NULL);
    RAISE_APPLICATION_ERROR(-20005,LS_ERROR);
    END;
    Can anyone throw some light on this issue?
    Edited by: user11001347 on May 11, 2010 11:46 PM

  • OWB Process Flow - How is the best  version control tool ??

    HI all,
    I just start work with OWB and I have a question to know how is the best way to do something.
    Imagine the scenario below:
    If I have 2 or more requests for example:
    Request 1: Create a Dimension City.
    Request 2: Create a Dimension Products.
    I Have ONE process flow and i need put my changes inside. This is my problem.
    In my scenario I don't know what Request goes to Prod First.
    If I put the Request 1 and Request 2 in my PROCESS FLOW, maybe I need change is someone decide change MY REQUEST PRIORITY.
    There is something in OWB to "control the version or changes" ?? For a mapping I export the MDL and commit on SVN, but I dont know haw can i do with the process flow.
    Something to agree multiples peoples work in different mappings and a SAME PROCESS FLOW ??
    What is best way to work with process flow and version control.
    What are the best practices when it comes to version control?
    Thanks.

    Amit,
    Are you really doing this in 10.1.3.x and not 11g?
    At any rate, I don't see how #2 and #3 relate whatsoever to your choice of a version control system. OK, maybe in #2 if there is some "maintenance" activity to be done against the version control server. Subversion is the open source alternative that you listed there and is pretty commonly used. If your company is already using one of the mentioned tools, why change? About the only thing I'd mention is to advise you NOT to use CVS for well documented reasons (JDev does support it) - if you would have picked CVS otherwise, choose Subversion. As far as question #1 - I've only used Subversion (well, I did use CVS for a while) with JDeveloper, so I can say it was "effective enough for me." In 10.1.3.x, I also used the external svn tools for doing lots of things like merging and so forth; in 11g, the support is much much better.
    Best,
    John

  • Start and end time for a mapping in process flow

    We are executing 6 mappings in a process flow. 4 out of 6 run in parallel . The log file created in a control center denotes start and end time for a process flow. But Is there any way to find out how long those individual mappings took ? Is start/end time logged on a mapping level somewhere ?
    Thanks

    As well as the repository browser you can use the SQL Developer reports on the utility exchange which are based on the public views.
    http://www.oracle.com/technology/products/warehouse/htdocs/Experts/owb_sqldeveloper.zip
    You can dig in and see how these are read from the SQL views.
    Cheers
    David

  • Multiple Schedules of Objects (Process Flows)

    Hello,
    How can you assign a process flow to two different schedules (and jobs) f.i. a week and a weekend job. Do I need to make some copy of the object as you assign object to a schedule.
    Regards,
    Edwin

    a process flow can only refer to one calendar at a time, for your requirement you will ahve to copy the process flow and refer the weekend calendar to one Pf and weekly calendar to another.
    this is precisely the reason why lot of companies use schedulers like autosys or control M as there is a calendar facility which can run the same job at different schedules rather have 2 different process flow and calendars.
    You might be better off using "sqlplus_exec_template" which can be found in /owb/rtp/sql folder and using a dbms scheduler to run this process flow in which case you can sue the same process flow but create 2 jobs to run at different times rather than creating 2 process flow and 2 different schedules.
    Regards

  • OWB 11g  Process Flow - How to see variables and how to create variables

    Dear All,
    I have recently migrated from 10g to 11g rel 2.
    In 10g when I open a proces flow I can see all the parameters and variables I created on each activities on "Explorer" window. this allows me to craete new parameters and variables as well.
    But ones after I migrated to 11g, I cant see explorer window and there is no place to enable it as well.
    How Can I create variables, parameters in processes flow on 11g?
    Thanks in advance.
    Alex

    Hi,
    In 11g "Explorer" window renamed as "Stucture" and same details as 10g shows in Structure window. This window can enable and dissable (Show and Hide) using Menu => View=> Stuture option.
    Thanks

  • Process Flow: how to install OWF for OWB?

    Hi all,
    I installed OWB 10.2 and I don't know how to install OWF, or better:
    - I installed OWF 2.6.4 server from OWF CD
    - I crated the OWF location
    - I registered the OWF location
    - I created a Process Flow but when I deploy it, it appears this error message:
    ORA-01924: role 'OWB_O_OWBRT_OWNER' not granted or does not exist
    ORA-06512: at "SYS.DBMS_SESSION", line 132
    ORA-06512: at line 1
    How can I mange it?
    Is not possible to install OWF from OWB Reposiroty Assistant?
    Or what kind of grants does it need?
    Regards
    Steve

    Steve,
    You have to make the workflow manager schema as an OWB user.For that goto global explorer -->user-->right click on it select your workflow manager schema and click finish ...that should do the trick
    Cheers,
    Raj

  • OWB Error: Connection lost when assign a schedule to a process flow

    I have:
    - OWB 11Gr2
    - Oracle DB 10Gr2 Source/Target
    I have created a schedule module and set the location to be one of the target DB locations.
    Create a one of schedule and scheduled for daily execution.
    Open configuration of a process flow and assign with the schedule.
    After this, i tried to save the repository, and occurred the error message:
    "Repository Connection Error: The connection to the repository was lost, because of the following database error: Closed Connection
    Exit OWB without committing."
    The connection with the repository was lost and i can´t do more anything.
    I tried to create a separate location for the schedule, but it don´t make difference
    What´s happening?
    Thanks,
    Afonso

    Wea re running 11.2.0.2 and
    When looking at the trace log
    Dump continued from file: /data02/oramisc/diag/rdbms/dpmdbp/dpmdbp/trace/dpmdbp_ora_13503.trc
    ORA-00600: intern felkod, argument: [15570], [], [], [], [], [], [], [], [], [], [], []
    With this query "========= Dump for incident 16022 (ORA 600 [15570]) ========
    *** 2011-10-18 09:52:25.445
    dbkedDefDump(): Starting incident default dumps (flags=0x2, level=3, mask=0x0)
    ----- Current SQL Statement for this session (sql_id=7a76281h0tr2p) -----
    SELECT usage.locuoid, usage.locid, cal_property.elementid, cal_property.classname, schedulable.name || '_JOB' name, schedulable.name || '_JOB' logicalname, cal_property.uoid, cal_property.classname
    , cal_property.notm, cal_property.editable editable, cal_property.customerrenamable, cal_property.customerdeletable, cal_property.seeded, cal_property.UpdateTimestamp, cal_property.strongTypeName,
    cal_property.metadatasignature signature, 0 iconobject FROM Schedulable_v schedulable, CMPStringPropertyValue_v cal_property, CMPCalendarInstalledModule_v cal_mod, CMPPhysicalObject_v sched_phys, CM
    PCalendar_v cal, ( select prop.firstclassobject moduleid, prop.value locuoid, 0 locid from CMPPhysicalObject_v phys, CMPStringPropertyValue_v prop where prop.logicalname = 'SCHEDULE_MODULE_CONFIG.DE
    PLOYMENT.LOCATION' and prop.propertyOwner = phys.elementid and phys.namedconfiguration = 42636 union select installedmodule, '' locuoid, location locid from CMPLocationUsage_v locUse where deployme
    ntdefault = 1 and not exists ( select null from CMPPhysicalObject_v phys, CMPStringPropertyValue_v prop where prop.logicalname = 'SCHEDULE_MODULE_CONFIG.DEPLOYMENT.LOCATION' and prop.firstclassobjec
    t = locUse.installedmodule and prop.propertyOwner = phys.elementid and phys.namedconfiguration = 42636) ) usage WHERE cal_mod.elementid = usage.moduleid and cal_mod.elementid = cal.calendarmodule a
    nd substr(cal_property.value,0,32) = cal.uoid and cal_property.logicalname='SCHEDULABLE.PROPERTY' and (cal_property.firstclassobject = schedulable.elementid or cal_property.firstclassobject = sched
    _phys.elementid and sched_phys.logicalobject = schedulable.elementid) and cal_mod.owningproject = 42631 and cal_property.propertyowner = sched_phys.elementid and sched_phys.namedconfiguration=42636
    ORDER BY schedulable.name || '_JOB'"
    Coulöd be possible this bug
    Bug 12368039 ORA-600 [15570] with UNION ALL views with Parallel steps
    This note gives a brief overview of bug 12368039.
    The content was last updated on: 18-MAY-2011
    Click here for details of each of the sections below.
    Fixed:
    This issue is fixed in     
    * 11.2.0.3

  • Mapping complete - process flow busy

    Hi all,
    I've a problem with a process flow I've imported from another server.
    If I run this process flow in the testing server it runs and complete without problems.
    Now, I've imported this process flow in the production server but it doesn't complete. In Audit browser I see that all mappings have "complete" status but the process flow is still busy after 1 hour.
    In the process flow there are 7 mappings and 3 user defined operations that use shell scripts.
    What I've missed?
    Oracle and OWB 11gR1
    OS: Sles 10
    Thanks
    Gul.

    Hi Gul,
    We are using OWB 11.1 and we've experienced the same thing.
    We solved this by:
    - adding an index on the runtime repository
    - clean up the runtime audit tables
    - collect statistics on the runtime tables
    There should be plenty information about the step above.
    If you're not familiair with it, then I can include it in a next message.
    - check the process flows for errors.
    We found out that some process flows got corrupted after export-import.
    Some transitions had flase numbering.
    Example: a mapping had an success (0), error (1) and warning (1).
    The error and warning lines had the same number.
    After correcting this the flows worked correctly.
    Regards,
    Emile

  • Process flow - How to deploy

    I am new to OWB and have created lot of maps and running maps one by one manually to load data.
    Now I want to automate it with process flow and workflow. I created a location for workflow and tested the connection.
    I have created a small process flow . Now from control center when I select the process flow and click on start it says I have to deploy it before executing it. If I tell yes for deployemnt it says no objects for deployment (rtc-5170).
    What is the procedure for executing a process flow.
    any documentaion will help
    thanks

    Within the control center right click on your process flow, set action, create. Then deploy the process flow. Then run the process flow.
    -J

  • What is the OMB+ script to apply a schedule to one process flow?

    Let's say process flow name : 'MY_PRLCESSFLOW'
    schedule name:'MY_SCHEDULE'
    so what is the script?
    thanks so much.

    http://blogs.oracle.com/warehousebuilder/2007/07/more_process_flow_basics_for_l.html
    OMBALTER PROCESS_FLOW_MODULE
    Purpose
    Alter the Process Flow Module by renaming it, and/or reset its properties.
    Prerequisites
    Should be in the context of a project.
    Syntax
    alterProcessFlowModuleCommand =  OMBALTER ( PROCESS_FLOW_MODULE
         "QUOTED_STRING" ( "renameClause" [ "alterPropertiesOrReferenceClause"
         ] | "alterPropertiesOrReferenceClause" ) )
    renameClause =  RENAME TO "QUOTED_STRING"
    alterPropertiesOrReferenceClause =  SET ( "setPropertiesClause" [ SET
         "setReferenceClause" [ UNSET "unsetReferenceClause" ] | UNSET
         "unsetReferenceClause" [ SET "setReferenceClause" ] ] |
         "setReferenceClause" [ UNSET "unsetReferenceClause" ] ) | UNSET
         "unsetReferenceClause" [ SET "setReferenceClause" ]
    setPropertiesClause =  PROPERTIES "(" "propertyNameList" ")" VALUES "("
         "propertyValueList" ")"
    setReferenceClause =  ( "setReferenceLocationClause" [ SET
         "setReferenceIconSetClause" ] | "setReferenceIconSetClause" )
    unsetReferenceClause =  ( "unsetReferenceLocationClause" [ UNSET
         "unsetReferenceIconSetClause" ] | "unsetReferenceIconSetClause" )
    propertyNameList =  "UNQUOTED_STRING" { "," "UNQUOTED_STRING" }
    propertyValueList =  "propertyValue" { "," "propertyValue" }
    setReferenceLocationClause =  ( REFERENCE | REF ) LOCATION "QUOTED_STRING"
    setReferenceIconSetClause =  ( REFERENCE | REF ) ICONSET "QUOTED_STRING"
    unsetReferenceLocationClause =  ( REFERENCE | REF ) LOCATION
         "QUOTED_STRING"
    unsetReferenceIconSetClause =  ( REFERENCE | REF ) ICONSET
    propertyValue =  ( "QUOTED_STRING" | "INTEGER_LITERAL" |
         "FLOATING_POINT_LITERAL" )
    Keywords And Parameters
    alterProcessFlowModuleCommand
    This command modifies an existing process flow module.
    renameClause
    Rename an existing process flow module.
    setPropertiesClause
    Set values of properties of a process flow module.
    Base properties for PROCESS_FLOW_MODULE:
    Name: BUSINESS_NAME
    Type: STRING(200)
    Valid Values: N/A
    Default: NAME
    Business name of a Process Flow Module
    Name: DESCRIPTION
    Type: STRING(4000)
    Valid Values: N/A
    Default: ''
    Description of a Process Flow Module
    propertyNameList
    Comma-delimited list of property names. Property names are not in
    quotation marks.
    propertyValueList
    Comma separated list of property values.
    setReferenceLocationClause
    Set a location to a supported workflow engine.
    unsetReferenceLocationClause
    Unset the location of the process flow module.
    propertyValue
    Value of a property.
    Examples
    OMBALTER PROCESS_FLOW_MODULE 'process_module' RENAME TO 'p_module' SET
    PROPERTIES (DESCRIPTION, BUSINESS_NAME) VALUES ('This becomes a process
    flow module.', 'process module')
    This will rename the Process Flow Module "process_module" to "p_module",
    and set its description to "This becomes a process flow module", set its
    business name to "process module".
    See Also
    OMBALTER, OMBCREATE PROCESS_FLOW_MODULE, OMBDROP PROCESS_FLOW_MODULE

  • OWB Process flow, how to change created by in process properties?

    Hy.
    How can I change created by, and last updated by data in process properties (general tab)?
    Where is the table with metadata in database?
    How can I manually change created by data for process?
    I have found WB_RT_WAREHOUSE_OBJECTS table in REP_OWNER shema but this is only data when process is deployed in database.
    Thanks.

    Steve,
    You have to make the workflow manager schema as an OWB user.For that goto global explorer -->user-->right click on it select your workflow manager schema and click finish ...that should do the trick
    Cheers,
    Raj

  • OWB 1gr2 process flow - how to pass IN parameters to a procedure

    Hi,
    In OWB 10.1 processflow the IN parameters for the procedure in can be passed in the activity view which appears on selecting the procedure in the processflow. How to enter the IN parameters in case of OWB11gr2. In property Inspector no options are there. Any help is highly appriciated

    Hi,
    select the transformation activity. In the structure window, select the parameter. Then you can set the binding or the value in the property window.
    Sometimes, the property window is not updated when the parameter is selected. Double click the window bar of the property window to maximize it.
    Regards,
    Carsten.

Maybe you are looking for

  • ITunes in French on my iPod Touch

    Does anyone know why iTunes is delivered in French on my new iPod Touch and how I can change to English UK? It is soooooooooo frustrating?

  • Chinese Remainder theorem : Looking for an implementation

    Weill it's not as if it's a difficult theorem but I don't really know the algorith to make it work, though I need the result obtained by it, so I searched an already done implementation of this algorith but couldn't find it. So if anyone has an idea

  • How do I get my Calendar in List view?

    I'm trying to get my calendar back to list view - I did it before but not sure how? I'm using iOS 7.1 - can someone help?

  • How can I get my iMac to work with scanners?

    How can I get my iMac to work with scanners? The scanners scan just fine, but not to my iMac. I've tried Epson and HP all-in-ones; it makes no diffference. I'm becoming extremely displeased, but don't know at whom I should be displeased, the printer

  • Setting Essbase to Direct I/O Question

    Hi! I am trying to configure my only (already existing) database to use direct I/O instead of buffered. After I have changed the settings and stopped and started the application the outline is empty and any access (smart view or excel add-in) denied.