Monday, December 24, 2007

OWB Workflow

Today as usual i have browsed some of the links for OWB. I have come across this link in google.
http://cali97.blogspot.com/search/label/OWB
I am sure, out of 4 blogs, i dont have knowledge on 3. Then the blogger have blogged the following about a client interview question which explains about running the process flow from outside.

"I recently was contacted by one of my former clients that had a pretty good question. I actually had this questions asked a few times by various parties, so here is a summery and an answer!"Quick OWB question for you: Is it possible to execute process flows from outside of OWB once they have been created. Wondering if there is a template provided by oracle(like “Sql_exec_template for OWB mappings) to execute Process flows…"Well, OWB does contain a pl/sql package called WB_RT_API_EXEC with a function inside it called RUN_TASK that submits execution requests to the OWB runtime engine. The requests could be for mappings, process flows or scheduled jobs. The function spec looks like:

function run_task
(

p_location_name in varchar2,
p_task_type in varchar2,
p_task_name in varchar2,
p_custom_params in varchar2 default null,
p_system_params in varchar2 default null,
p_oem_friendly in number default 0,
p_background in number default 0)
return number;

This is actually the same function used by the sqlplus_exec_template.sql script in OWB 10gR2 that you mentioned in your email. It can be called using (assuming a repository owner connection exists):

(this is an example…)
declare

result_num number;
begin
result_num:= wb_rt_api_exec.run_task('PFMOD_LOCATION1', 'PROCESS', 'MY_PKG/MY_PF', ',', ',', 0 ,0);
end;

The full documentation of the function can be found in /owb/rtasst/wb_rt_api_exec.pl"

I have to go thru this documentation to update my knowledge. Will update you all on this.
Thanks,
Soma

Musings - OWB Workflow

I already know how to check whether the Control Center (CC) service is available or not using the template sql provided along with the OWB client installation.

I have come across this following thread in Oracle Warehouse Builder forum which explains how we can check the Workflow installation.

http://forums.oracle.com/forums/thread.jspa?threadID=597761&tstart=30

One guy has posted the following query to check the workflow installation.

SELECT
TEXT VERSION
FROM
.WF_RESOURCES
WHERE
TYPE = 'WFTKN'
AND NAME = 'WF_VERSION'".( - default owf_mgr)

I have checked with my repository installation. When I run the query I got table doesn’t exist. In that server we have installed Oracle Workflow (no idea on version).

OWB Useful links

Hi,

I was the one who wandered and searched for people in my organization who worked in OWB. I met people who worked on OWB 9 v, But i have searched for 10g R2. I believe there is number of changes bewteen these 2 versions. When i browsed i got the following links in Web reg OWB.

OWB Helpful Links

1)
http://www.oracle.com/technology/products/warehouse/pdf/Cases/casebook.pdf
2) www.oracle.com/technology/products/warehouse/htdocs/OTN_DocResources.html
3) Using FTP in OWB 10g R2
http://www.oracle.com/technology/products/warehouse/casestudies/10gr2/ftpprocessflow/ftp_linux_to_winxp.html
4) Using Data Pump and Transportable Tablespaces
http://www.biblogs.com/2006/04/10/using-data-pump-and-transportable-tablespaces-with-owb10gr2-paris/
5) OWB Links
http://learnnsharebi.googlepages.com/owb

OWB Documentation Links

a) OWB 11.1 Documentation

http://www.oracle.com/pls/db111/portal.portal_db?selected=6
b) OWB 10.2 Documentation http://download.oracle.com/docs/cd/B31080_01/doc/nav/portal_booklist.htm
c) OWB 10.1 Documentation
http://download.oracle.com/docs/cd/E10926_01/welcome.html

Oracle-By-Example For OWB Links
a) Obe-OWB 11G R1

http://www.oracle.com/technology/obe/11gr1_owb/index.htm
b) Obe-OWB 1oG R2
http://www.oracle.com/technology/obe/admin/owb_main.html
c) Obe-OWB 10G R1
http://www.oracle.com/technology/obe/obe_bi/index.html

OWB - Oracle Provided Scripts Links

a) OWB Sample Code
http://www.oracle.com/technology/sample_code/products/warehouse/index.html
b) OWB Discussion Forum
http://forums.oracle.com/forums/forum.jspa?forumID=57
C) OWB Poduct Download Linkhttp://www.oracle.com/technology/software/products/warehouse/index.html
d) Oracle Warehouse Index http://www.oracle.com/technology/products/warehouse/index.html
e) Oracle By Example
http://www.oracle.com/technology/obe/start/index.html