Scheduling a OWB map in Workflow

Hi All,
I want to schedule a map in workflow. I have never used Oracle Workflow. Could anyone give me some steps how to do it or could you please provide some documents regarding workflow.
Pleas help me as this is very urgent.
Thanks in advance,
Ashis

I used the on-line help and the doco. Search the pdf for 'process flows' and this should be a good starting point. In the Design Center go to Process Flows and then use the wizards to setup a simple flow. The actual design will be on the third level down in the hierarchy - Process Flows -> Process Flow Modules -> Process Flow Package -> Process Flow. I integrated our setup with Oracle Workflow - this is a separate installation and I recall there is info on this forum about this also. When integrated with Oracle Workflow, one 'legacy' issue I stumbled on is that Process Flow Package names are restricted to 8 bytes.
Hopefully, this will get you going.

Similar Messages

  • Error in scheduling a single mapping

    Hi everyone,
    I am new to owb and i am scheduling a single mapping and i successfully deploy it and run it. In the control center i see that the job has ran successfully but no records were inserted. Then i went into the OEM to see the job and it shows that the job failed with the following error:
    ORA-20001: Begin. initialize complete. workspace set. starting operator. execute_in_background complete. set_job_argument_value complete. l_job_audit_execution_id= 16548. ORA-20001: Please check execution object is deployed correctly. ORA-01403: no data found ORA-06512: at "USER7.PMAP_TLOG_JOB", line 180 ORA-20001: Please check execution object is deployed correctly. ORA-01403: no data found
    Can any one help me on this error?
    Infact i have succesfully scheduled a process flow. This problem only occurs when i attach the scheduler to a single mapping.
    Thanks & Regards
    Subhasree

    Hi Nawneet,
    Any suggestions?
    can anybody else also help me in this error???
    Regards
    Subhasree

  • Using Scheduling in OWB 10.2.0.1 (Paris)

    Dear all after some clarification on the use of scheduling in OWB 10G R2. We have just installed this version but i have a couple of questions surrounding the scheduling, may i point out that i have no knowledge of schedling in OWB so am relying on the user manual. It states that in R2 for each project it creates by default a MY_CAL_MODULE where you can then create schedules. Having got 10G R2 installed i cant see either Calenders folder or this MY_CAL_MODULE it talks about. I must also point out that at this stage we do not have Workflow installed because R2 relies on 2.6.4 of workflow but we can only find 2.6.3 or 2.6.3.5 on OTN (we are waiting for an Orcale rep to confimr if 2.6.4 exists). My thoughts maybe that OWB gets its calender from workflow but this is an assumption. Is there anyone out there who has any experience of Scheduling mappings direct in OWB R2 Paris who could advise how it needs to be set up it would be very much appreciated
    Regards Kevin
    e-mail [email protected]
    Message was edited by:
    user515912

    Hello
    Workflow is part of the actual database distro. It will be in the extras download, the same one where you would find HTML-DB
    So for your version of database, locate the extras download, and you will find the small apache server, workflow db install, and mid tier along with html-db. Depending on your version of DB you need to install the apache server first, then workflow schema, then mid tier
    If you get the client download for the db you have the option of installing the actual WF builder client.
    There will be install docs too.
    Richard.

  • Can not run OWB Mapping automatically by OEM? .  Very urgent. Pls help me

    Hi all,
    Pls help me.
    I am using OWB 10g under Oracle 10g. I want to run OWB Mapping automatically by OEM.
    I installed Oracle Database 10g fully but don't have OEM in this. After that, I installed Oracle Client 10g. In this product, there is OEM 10g. I read some topic as "want to run owb mappings thru job schedule" and also read http://otn.oracle.com/products/warehouse/htdocs/oem_scheduling_viewlet_swf.html
    But my OEM not as same as in this . It don't have job menu and OEM Console Login window and don't have also where I can put username/pwd to login into OMS???
    I don't know this problem.
    Pls help me.

    Hi,
    Here are two possible solutions:
    1) If you have OEM 9i anywhere in your environment you can use this for scheduling the OWB jobs.
    2) If your environment is 10g only you need to install 10g Grid Controll. This product has replaced the OMS / Java console of earlier releases, and contains the same functionality for scheduling jobs.
    Note that if you are using the sql_exec_template to execute your mappings you can schedule and run these from any machine on the network, not just the target server.
    Hope this helps,
    Roald

  • Problem in running OWB maps

    Hi ,
    We use DBMS to kick our OWB maps.Previously it worked very fine ..But from near about 2 weeks we are facing problems.
    Problem is though our JOB_QUEUE_PROCESS is set to 8 and even I can see 8 jobs with this_data populated in dba_jobs (means jobs are running as we cannot query DBA_JOBS_RUNNING view to see the no of jobs running as it is taking too much time ) we can see only entry of two of there maps in WB_RT_AUDIT.other maps start only if these two get complete .
    and there is huge time difference between actual job start time and the entry into WB_RT_AUDIT table .
    can any one help us with solution.
    Bcos of this issues load which used to take max 4 hours is now taking 24 hours..
    Thanks & Regards

    I've successfully installed OWF as described in Installation guide (all components are on the sam server).
    But when I deploy a workflow in OWB I get some errors. In the job details
    I find ORA-00942 and RPE-02053. It seems that the workflow repository is missing.
    Are there additional steps for creating a workflow repository?
    Or what is wrong? All installation logs (wf.log and workflow.log) are without errors and with success messages.
    Any idea?

  • Can not run OWB Mapping automatically by OEM?

    Hi all,
    Pls help me.
    I am using OWB 10g under Oracle 10g. I want to run OWB Mapping automatically by OEM.
    I installed Oracle Database 10g fully but don't have OEM in this. After that, I installed Oracle Client 10g. In this product, there is OEM 10g. I read some topic as "want to run owb mappings thru job schedule" and also read http://otn.oracle.com/products/warehouse/htdocs/oem_scheduling_viewlet_swf.html
    But my OEM not as same as in this . It don't have job menu and OEM Console Login window and don't have also where I can put username/pwd to login into OMS???
    I don't know this problem.
    Pls help me.

    Hi,
    Here are two possible solutions:
    1) If you have OEM 9i anywhere in your environment you can use this for scheduling the OWB jobs.
    2) If your environment is 10g only you need to install 10g Grid Controll. This product has replaced the OMS / Java console of earlier releases, and contains the same functionality for scheduling jobs.
    Note that if you are using the sql_exec_template to execute your mappings you can schedule and run these from any machine on the network, not just the target server.
    Hope this helps,
    Roald

  • How to execute a mapping or workflow in a job?

    hi all:
    I want to write a procedure use pl/sql,
    and how to execute mapping or workflow in procedure ?
    then I write a job use script ,the job schedule execute
    procedure.
    please give me a sample.

    Hi,
    You can write a procedure something on these lines -
    CREATE OR REPLACE PROCEDURE Test_Proc(p_task_name IN VARCHAR2, p_task_type IN VARCHAR2, p_loc IN VARCHAR2 ) AS
    lv_rt_code NUMBER(1) DEFAULT 0;
    lv_repo VARCHAR2(64) DEFAULT NULL;
    lv_loc VARCHAR2(64) DEFAULT 'LOC_EDW_PROCESS_FLOWS';
    lv_task_type VARCHAR2(64) DEFAULT 'PROCESS';
    lv_task_name VARCHAR2(64) DEFAULT 'ETL_FIXED_RATE';
    lv_sys_par VARCHAR2(64) DEFAULT ',';
    lv_cust_par VARCHAR2(64) DEFAULT ',';
    lv_oem NUMBER(1) DEFAULT 0;
    lv_fnc_call VARCHAR2(4000) DEFAULT NULL;
    BEGIN
         IF ( p_task_name IS NOT NULL AND p_task_type IS NOT NULL AND p_loc IS NOT NULL) THEN
         lv_task_name := p_task_name;
         lv_task_type := p_task_type;
         lv_loc := p_loc;
         END IF;
         SELECT Wb_Rt_Platform_Repository INTO lv_repo FROM dual;
    lv_fnc_call := 'BEGIN '
    ||':lv_rt_code'
    || ' := '
    || lv_repo
    ||'.fnc_exec_owb_process(p_repos_owner => :lv_repo'
    ||', p_location_name => :lv_loc'
    ||', p_task_type => :lv_task_type'
    ||', p_task_name => :lv_task_name'
    ||', p_system_params => :lv_sys_par'
    ||', p_custom_params => :lv_cust_par'
    ||', p_oem_friendly => :lv_oem'
              ||'); END;'
    --dbms_output.put_line(lv_fnc_call);
    EXECUTE IMMEDIATE lv_fnc_call USING OUT lv_rt_code, IN lv_repo, lv_loc, lv_task_type, lv_task_name, lv_sys_par, lv_cust_par, lv_oem;
    DBMS_OUTPUT.PUT_LINE('RETURN CODE IS '|| lv_rt_code);
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line(SUBSTR(SQLERRM,1,255) );
    END;
    and use DBMS_JOB to schedule the above.
    HOpe this helps.
    Thanks
    Mahesh

  • Logging OWB mapping execution in Shell script

    Hi,
    I am executing a OWB mapping from a shell script like this
    $OWB_SQLPLUS MY_WAREHOUSE plsql MY_MAPPING "," ","
    I want to log this mapping execution process into a file.
    Please let me know if this will work:
    $OWB_SQLPLUS MY_WAREHOUSE plsql MY_MAPPING "," "," >> LOGFIL.log
    I will just be using this log file to track all the execution and use it for logging purpose.
    If this wont work, please tell me the proper way to do this...
    Thanks.

    Avatar,
    ">>" is the Unix operator that will redirect output and append to a particular file, so what you have should work if you're executing it from the shell prompt. Although I don't know specifically what OWB_SQLPLUS and MY_WAREHOUSE are.
    In my company, we have the call to the owb script inside another script. For example, file x contains the following line:
    sqlplus repository_user/pwd@database @sqlplus_exec_template.sql repository_owner location task_type task_name custom_params system_params
    Then at the prompt, we enter:
    nohup x > x.log &
    And the mapping or workflow executes.
    Jakdwh,
    Are you redirecting your output to a file so you can see why it's returning a '3'? The log file will usually tell you where the error occurred. I don't know what your input parameters for your mapping is, but the script is pretty picky about the date format. Also, even if you don't have any input parameters, the "," still has to be sent into the script.
    Hope this helps,
    Heather

  • Problem in OWB map for source change capture

    The problem is as follows:-
    Our OWB map between two different databases, captures change in data at source and populates them in target. It is a one to one map. The map is failing to process some rows from source database though it gives no:of errors as 0 in the audit view thus we infer that the map is running successfully.
    In our case, we have a composite key ( Instance_id, Version_number) at source as well as target. One instance_id can has more than one version number. We have observed that the view is picking up all the version_number for a particular instance_id but the map is unable to populate the last version_number to the target table.
    But when this map was executed in another environment and it is successfully populating all the data in the target.
    The brief description of the map is as follows:-
    The map has a view which captures all the changes in data (insert and update) .From this view we filter the rows which were already processed in previous map run (with help of watermark). Then we sort the rows based on DML type and watermark . These rows are then mapped to a target table. The loading type of the map is INSERT/UPDATE.

    Hi Nagesh,
    When we are doing I18N for that Application. Go to Navigator Tab
    Here Select Particular Projects--à src-àPackages-àsap-àvijay
    To internationalize the Web Dynpro application, copy the automatically generated *.xlf files and save them under a new name in the same directory.
    The new name must meet the following convention:
    u2022 .xlf
    For example, if you are creating *.xlf files for German,
    Use the language key de.
    Here Click on OK
    After that we can edit and translate these new *.xlf files in the S2X Editor.
    ApplyTemFirstView.wdview_de.xlf-àClick on Resource Text Tab
    Select Particular Text and Change the language to German-àClick on EDIT Button
    Here Enter German Lang-àClick on OK
    Now Go to Web Dynpro Explorer Tab
    Select Project-àRC Click on Rebuild Project
    Select Project-àRC Click on Reload
    Then Deploye the Application
    How to Check in Explorer. It is converting to German Language or not
    Open Internet Explorer
    Tool-àInternet Options -àClick on Languages Button-àClick on ADD Button
    Select German Language--àClick on OK
    Now We will Check in Portal
    Created Web Dynpro iView in Portal. That iView assign to the particular WorkSet-àAssign to Role
    Select that user Can Change Language
    Regards
    Vijay Kalluri

  • Case statement in OWB mapping

    I am trying to use a case statement in an OWB mapping. I am attempting to use it in expression builder within a filter object. Each time I try to validate the expression in the expression builder I get an error:
    Line 4, Col 6:
    PL/SQL: ORA-00920: invalid relational operator
    Below is the code used in the expression builder window:
    CASE A.ATTRIBUTE_NAME
    WHEN 'CA COMPLETION DATE' THEN RTRIM(A.C_CODE_VALUE)
    ELSE NULL
    END
    Any help with what is happening would be appreciated.
    Thank you.
    Matt

    Thank you both for you help. I initially tried to use the expression operator but was confused since the expression builder in the expression operator has the drop down list with the available SQL clauses greyed out. In the OWB documentation it states that the drop down will contain SQL clauses that are appropriate for that expression type so when I saw it was greyed out I assumed that those clauses where not valid for this operator. Sure enough though when I pasted in my Case statement it verified correctly.
    Thanks again,
    Matt

  • Array of Parameters in OWB mapping

    How do i pass an array of parameters to an OWB mapping.

    Try this and similarly you can get all operator.
    OMBRETRIEVE MAPPING 'MAP_NAME' GET TABLE OPERATORS
    OMBRETRIEVE MAPPING 'MAP_NAME' GET VIEW OPERATORS
    OMBRETRIEVE MAPPING 'MAP_NAME' GET TRANSFORMATION OPERATORS
    OMBRETRIEVE MAPPING 'MAP_NAME' GET TABLE_FUNCTION OPERATORS
    Cheers
    Nawneet
    Edited by: Nawneet_Aswal on Aug 30, 2010 8:43 AM

  • 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 Execute a OWB Mapping or a Process from SQLPLUS editor?

    I need to know how can we execute a OWB mapping from SQLPLUS editor or from a Stored Procedure.

    Hi,
    You can use the MDL export/import utility for this, but as you are importing into the same repository you will end up with importing into the same project again.
    So for this you can follow the workaround as:
    ->Take export of the required mapping from the project OWB_B
    -> Rename the Project OWB_B to some thing like OWB_B_1(or any other name), note that you have to rename both logical and physical name of the project
    -> Rename the project OWB_A to OWB_B and if you import the MDL all the objects will be imported to OWB_B then you can rename back the project to OWB_A
    -> Finally rename the project OWB_B_1 to OWB_B (to its original name).
    Regards,
    Pnreddy

  • Transformations not occuring properly using PIVOT operator in OWB mapping.

    Hi ,
    In our project we have a OWB Map UII_D_MAP_SPC_CUST_FAULT_NATTR which is used to populate UII_CUSTOMER_FAULT table in our target side.
    The source table which populate UII_CUSTOMER_FAULT is SR_S_TABLE_N_ATTRIBUTEVALUE (a materialized view in another External Db)
    This Mview has 2 columns: S_N_STRINGVALUE & N_NAME.
    When N_NAME is 'FAULT_REPORT_CODE' the corresponding S_N_STRINGVALUE value should populate the REPORT_CODE field in UII_CUSTOMER_FAULTin the target sde.
    This source to target transformations is being done by using UNPIVOT operator in this mapping UII_MAP_SPC_CUST_FAULT_NATTR.
    In ideal case when S_N_STRINGVALUE is NOT NULL, REPORT_CODE value should be populated with the value of source field value (ie the value of S_N_STRINGVALUE) and when S_N_STRINGVALUE is NULL , REPORT_CODE should be populated with 'XX'.
    But in some cases REPORT_CODE value in UII_CUSTOMER_FAULT table is populated as NULL when S_N_STRINGVALUE is NOT NULL
    which should not happen.
    We suspect that there is some prpblem in the UNPIVOT operator, but we are not able to track down the exact location where it is failing. Can you please help in resolving this problem?
    Shall we remove Unpivot operator and use CASE statement in some package that will be called through Expression operator?
    Please advise.
    Regards
    Arinjit Dhar

    Arinjit,
    Have got any solution forthis. Today I ran into exactly the same problem. If you have got the solution, can you please post it in the forum.
    Ott Karesz,
    I have posted my SQL which got generated. The problem is when I am running the SQL just for the particular data set, it is giving the output properly. But what confuses me more is, when I run the mapping just for few records, it is populating the values correctly, but when running the mapping for all the records, then it populates null values for those records.
    Generated SQL:
    INSERT
    INTO
    "TB_PIPE_1"
    ("ASSETNUM",
    "SITEID",
    "TYPE",
    "STATUS",
    "YEARLAID",
    "MATERIALCODE",
    "PRESSURECODE",
    "DIAMETER",
    "METHODLAID",
    "JOINTTYPE",
    "SDRCOL",
    "LENGTHLAID",
    "LENGTHDIGITISED",
    "MEASUREUNITID")
    SELECT
    "UNPIVOT"."ASSETNUM" "ASSETNUM$1",
    "UNPIVOT"."SITEID" "SITEID$1",
    "UNPIVOT"."CLASSIFICATIONID" "CLASSIFICATIONID$1",
    "UNPIVOT"."STATUS" "STATUS$1",
    "UNPIVOT"."YEAR_LAID" "YEAR_LAID$1",
    "UNPIVOT"."MATERIAL" "MATERIAL$1",
    "UNPIVOT"."PRESSURE" "PRESSURE$1",
    "UNPIVOT"."DIAMETER" "DIAMETER$1",
    "UNPIVOT"."METHODLAID" "METHODLAID$1",
    "UNPIVOT"."JOINTTYPE" "JOINTTYPE$1",
    "UNPIVOT"."SDR" "SDR$1",
    "UNPIVOT"."LENGTHLAID" "LENGTHLAID$1",
    "UNPIVOT"."LENGTHDIGITESED" "LENGTHDIGITESED$1",
    "UNPIVOT"."MESUREUNIT" "MESUREUNIT$1"
    FROM (SELECT
    "ASSETNUM" "ASSETNUM",
    "SITEID" "SITEID",
    "STATUS" "STATUS",
    "YEAR_LAID" "YEAR_LAID",
    "CLASSIFICATIONID" "CLASSIFICATIONID",
    MIN(CASE WHEN "ASSETATTRID" = 'MATERIAL' THEN "ALNVALUE" ELSE NULL END) "MATERIAL",
    MIN(CASE WHEN "ASSETATTRID" = 'PRESSUREREGIME' THEN "ALNVALUE" ELSE NULL END) "PRESSURE",
    MIN(CASE WHEN "ASSETATTRID" = 'DIAMETER' THEN "NUMVALUE" ELSE NULL END) "DIAMETER",
    MIN(CASE WHEN "ASSETATTRID" = 'METHODLAID' THEN "ALNVALUE" ELSE NULL END) "METHODLAID",
    MIN(CASE WHEN "ASSETATTRID" = 'JOINTTYPE' THEN "ALNVALUE" ELSE NULL END) "JOINTTYPE",
    MIN(CASE WHEN "ASSETATTRID" = 'SDR' THEN "ALNVALUE" ELSE NULL END) "SDR",
    MIN(CASE WHEN "ASSETATTRID" = 'LENGTHLAID' THEN "NUMVALUE" ELSE NULL END) "LENGTHLAID",
    MIN(CASE WHEN "ASSETATTRID" = 'LENGTHDIGITISED' THEN "NUMVALUE" ELSE NULL END) "LENGTHDIGITESED",
    MIN(CASE WHEN "ASSETATTRID" = 'DIAMETER' THEN "MEASUREUNITID" ELSE NULL END) "MESUREUNIT"
    FROM (SELECT
    "MV_PIPE"."ASSETNUM" "ASSETNUM",
    "MV_PIPE"."SITEID" "SITEID",
    "MV_PIPE"."STATUS" "STATUS",
    "MV_PIPE"."YEAR_LAID" "YEAR_LAID",
    "MV_PIPE_SPEC"."ASSETATTRID" "ASSETATTRID",
    "MV_PIPE_SPEC"."NUMVALUE" "NUMVALUE",
    "MV_PIPE_SPEC"."ALNVALUE" "ALNVALUE",
    "MV_PIPE_SPEC"."MEASUREUNITID" "MEASUREUNITID",
    "MV_PIPE"."CLASSIFICATIONID" "CLASSIFICATIONID"
    FROM "MV_PIPE_SYN" "MV_PIPE",
    "MV_PIPE_SPEC_SYN" "MV_PIPE_SPEC" WHERE "MV_PIPE"."ASSETNUM" in ('466651706','606703143') and ( "MV_PIPE"."ASSETNUM" = "MV_PIPE_SPEC"."ASSETNUM" )) "OUTGRP1"
    GROUP BY
    "ASSETNUM", "SITEID", "STATUS", "YEAR_LAID", "CLASSIFICATIONID") "UNPIVOT"

  • SQL Query of an OWB map (row based)

    If I trace a session, execute an OWB map (row based), will the trace file contain the actual SQL query ?
    The problem with me is that when I am executing this row -based OWB map, it is throwing me an error CursorFetchMapTerminationRTV20007 BUT ( plus taking a long time) when I am taking out the intermediate SQL insert query,it is working fine ( and also within a very short period of time)
    Execution status = COMPLETE
    message text = ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    message text = CursorFetchMapTerminationRTV20007
    No. task errors = 0
    No. task warnings = 2
    No. errors = 1
    Since this OWB map (Truncate Insert)  is row based hence I cannot cannot get the back end query from the OWB generated pl/sql package so wondering if I trace the session, check the trace file, may be I will able to see the exact SQL query generated. But wanted to confirm the same.

    Yes, the actual SQL run in the session will be in the trace file.

Maybe you are looking for

  • Button of  report in WEB UI Client not working.

    Dear experts! I program a report in SAP GUI. Display data by ALV grid using function module. Then, i create a button, when i click this button, program will call a function module to export data to excel. I fix the path to save file excel is on my lo

  • Multi-Row insert/update/delete not working via db-link

    App. Version: 2.0.0.00.49 DB: Oracle 9i, not sure about the build Problem: Multirow Update/Insert/Delete doesn't work via db-link. Error received: ....ORA-1460: unimplemented or unreasonable conversion requested.... Where: Tabular Form generated via

  • Itunes credit question

    I've been using itunes for about two years, and I have two computers with itunes. The first computer (itunes 7) is the one that I use to purchase the music, so I have dollar credit for music with the account. The second computer has itunes, but I don

  • Verification failed error

    iPad air5 repeatedly showing verification failed error. not even letting me change iCloud  settings or update my iCloud  password. help please.

  • Broadband dropping regularly

    Over the past two months the reliability of my broadband service seems to have degraded.  It now seems to be dropping several times a day.  Yesterday it dropped out no less than 6 times in a two hour period. Nothing has changed in the house and no ne